[Sphere-axis-commits] CVS: Axis AdditionalSettingsDlg.cpp,1.9,1.9.2.1 launchertab.cpp,1.7,1.7.2.1 Re
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2003-08-29 05:55:14
|
Update of /cvsroot/sphere-axis/Axis In directory sc8-pr-cvs1:/tmp/cvs-serv5918 Modified Files: Tag: v0_13-Stable AdditionalSettingsDlg.cpp launchertab.cpp RemoteConsoleDlg.cpp ScriptEditDlg.cpp StaticToolDlg.cpp Log Message: Fixes to the CFileDialog constructor calls to support Win9x. Index: AdditionalSettingsDlg.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/AdditionalSettingsDlg.cpp,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -r1.9 -r1.9.2.1 *** AdditionalSettingsDlg.cpp 9 Feb 2003 18:21:04 -0000 1.9 --- AdditionalSettingsDlg.cpp 29 Aug 2003 05:55:03 -0000 1.9.2.1 *************** *** 457,461 **** void CAdditionalSettingsDlg::OnAsMulbrowse() { ! CFileDialog dlg(TRUE, "exe", "map0.mul", 0, "Ultima Online client files (*.mul)|*.mul|All files (*.*)|*.*||"); if ( dlg.DoModal() == IDOK ) { --- 457,461 ---- void CAdditionalSettingsDlg::OnAsMulbrowse() { ! CFileDialog dlg(TRUE, "exe", "map0.mul", 0, "Ultima Online client files (*.mul)|*.mul|All files (*.*)|*.*||", NULL, 0); if ( dlg.DoModal() == IDOK ) { *************** *** 469,473 **** void CAdditionalSettingsDlg::OnAsClientbrowse() { ! CFileDialog dlg(TRUE, "exe", "client.exe", 0, "Application files (*.exe)|*.exe|All files (*.*)|*.*||"); if ( dlg.DoModal() == IDOK ) { --- 469,473 ---- void CAdditionalSettingsDlg::OnAsClientbrowse() { ! CFileDialog dlg(TRUE, "exe", "client.exe", 0, "Application files (*.exe)|*.exe|All files (*.*)|*.*||", NULL, 0); if ( dlg.DoModal() == IDOK ) { *************** *** 641,645 **** csFile = csPath; // Pop up a file dialog to select the custom mul ! CFileDialog dlg(TRUE, "mul", csFile, 0, "Ultima Online Client files (*.mul; *.idx)|*.mul;*.idx|All Files (*.*)|*.*||"); if ( dlg.DoModal() == IDOK ) { --- 641,645 ---- csFile = csPath; // Pop up a file dialog to select the custom mul ! CFileDialog dlg(TRUE, "mul", csFile, 0, "Ultima Online Client files (*.mul; *.idx)|*.mul;*.idx|All Files (*.*)|*.*||", NULL, 0); if ( dlg.DoModal() == IDOK ) { Index: launchertab.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/launchertab.cpp,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -r1.7 -r1.7.2.1 *** launchertab.cpp 9 Feb 2003 18:21:09 -0000 1.7 --- launchertab.cpp 29 Aug 2003 05:55:03 -0000 1.7.2.1 *************** *** 780,784 **** memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, NULL, 0, "Executable Files (*.exe)|*.exe||"); if (dlg.DoModal() == IDOK) this->m_ceClient.SetWindowText(dlg.GetPathName()); --- 780,784 ---- memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, NULL, 0, "Executable Files (*.exe)|*.exe||", NULL, 0); if (dlg.DoModal() == IDOK) this->m_ceClient.SetWindowText(dlg.GetPathName()); *************** *** 793,797 **** memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, csUOExe, 0, "Executable Files (*.exe)|*.exe||"); if ( dlg.DoModal() == IDOK ) --- 793,797 ---- memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, csUOExe, 0, "Executable Files (*.exe)|*.exe||", NULL, 0); if ( dlg.DoModal() == IDOK ) Index: RemoteConsoleDlg.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/RemoteConsoleDlg.cpp,v retrieving revision 1.13.4.1 retrieving revision 1.13.4.2 diff -C2 -r1.13.4.1 -r1.13.4.2 *** RemoteConsoleDlg.cpp 14 Aug 2003 02:20:18 -0000 1.13.4.1 --- RemoteConsoleDlg.cpp 29 Aug 2003 05:55:03 -0000 1.13.4.2 *************** *** 502,506 **** { // Find out which file to log to ! CFileDialog dlg(FALSE, ".log", NULL, OFN_HIDEREADONLY, "Log Files (*.log)|*.log||" , NULL); if ( dlg.DoModal() == IDOK ) m_csLogFile = dlg.GetFileName(); --- 502,506 ---- { // Find out which file to log to ! CFileDialog dlg(FALSE, ".log", NULL, OFN_HIDEREADONLY, "Log Files (*.log)|*.log||" , NULL, 0); if ( dlg.DoModal() == IDOK ) m_csLogFile = dlg.GetFileName(); Index: ScriptEditDlg.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/ScriptEditDlg.cpp,v retrieving revision 1.6 retrieving revision 1.6.4.1 diff -C2 -r1.6 -r1.6.4.1 *** ScriptEditDlg.cpp 14 May 2002 20:03:35 -0000 1.6 --- ScriptEditDlg.cpp 29 Aug 2003 05:55:03 -0000 1.6.4.1 *************** *** 119,123 **** memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, NULL, 0, "Sphere Files (*.scp;*.ini)|*.scp; *.ini|Log Files (*.log)|*.log||"); if ( dlg.DoModal() == IDOK) { --- 119,123 ---- memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, NULL, 0, "Sphere Files (*.scp;*.ini)|*.scp; *.ini|Log Files (*.log)|*.log||", NULL, 0); if ( dlg.DoModal() == IDOK) { Index: StaticToolDlg.cpp =================================================================== RCS file: /cvsroot/sphere-axis/Axis/StaticToolDlg.cpp,v retrieving revision 1.34.2.3 retrieving revision 1.34.2.4 diff -C2 -r1.34.2.3 -r1.34.2.4 *** StaticToolDlg.cpp 18 Aug 2003 01:21:42 -0000 1.34.2.3 --- StaticToolDlg.cpp 29 Aug 2003 05:55:03 -0000 1.34.2.4 *************** *** 371,375 **** memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, ".pat", NULL, 0, "Patch Files (*.pat)|*.pat||", NULL); if ( dlg.DoModal() == IDOK ) { --- 371,375 ---- memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, ".pat", NULL, 0, "Patch Files (*.pat)|*.pat||", NULL, 0); if ( dlg.DoModal() == IDOK ) { *************** *** 422,426 **** memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(FALSE, ".pat", NULL, OFN_OVERWRITEPROMPT, "Patch Files (*.pat)|*.pat||", NULL); if ( dlg.DoModal() == IDOK ) { --- 422,426 ---- memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(FALSE, ".pat", NULL, OFN_OVERWRITEPROMPT, "Patch Files (*.pat)|*.pat||", NULL, 0); if ( dlg.DoModal() == IDOK ) { *************** *** 489,493 **** memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, NULL, 0, "Script Files (*.scp)|*.scp||"); if ( dlg.DoModal() == IDOK ) m_csWorldFile = dlg.GetPathName(); --- 489,493 ---- memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(TRUE, NULL, NULL, 0, "Script Files (*.scp)|*.scp||", 0); if ( dlg.DoModal() == IDOK ) m_csWorldFile = dlg.GetPathName(); *************** *** 2208,2212 **** memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(FALSE, NULL, NULL, 0, "Script Files (*.scp)|*.scp||"); if ( dlg.DoModal() == IDOK ) csImportFile = dlg.GetPathName(); --- 2208,2212 ---- memset(&szCwd[0], 0x00, sizeof(szCwd)); getcwd(szCwd, sizeof(szCwd)); ! CFileDialog dlg(FALSE, NULL, NULL, 0, "Script Files (*.scp)|*.scp||", NULL, 0); if ( dlg.DoModal() == IDOK ) csImportFile = dlg.GetPathName(); |