Subversion Repositories spk

Rev

Rev 182 | Rev 196 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 182 Rev 191
Line 116... Line 116...
116
			String ^games = "";
116
			String ^games = "";
117
			for ( int i = 0; i < m_pPackages->GetGameExe()->GetNumGames(); i++ )
117
			for ( int i = 0; i < m_pPackages->GetGameExe()->GetNumGames(); i++ )
118
			{
118
			{
119
				SGameExe *exe = m_pPackages->GetGameExe()->GetGame(i);
119
				SGameExe *exe = m_pPackages->GetGameExe()->GetGame(i);
120
				if ( i ) ofd->Filter += ";";
120
				if ( i ) ofd->Filter += ";";
121
				ofd->Filter += SystemStringFromCyString(exe->sExe);
121
				ofd->Filter += _US(exe->sExe);
122
				games += "|" + SystemStringFromCyString(exe->sName) + "|" + SystemStringFromCyString(exe->sExe);
122
				games += "|" + _US(exe->sName) + "|" + _US(exe->sExe);
123
			}
123
			}
124
			ofd->Filter += games;
124
			ofd->Filter += games;
125
			ofd->FilterIndex = 1;
125
			ofd->FilterIndex = 1;
126
			ofd->RestoreDirectory = true;
126
			ofd->RestoreDirectory = true;
127
			if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
127
			if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
Line 222... Line 222...
222
						{
222
						{
223
							if ( !this->TopMost )
223
							if ( !this->TopMost )
224
								this->WindowState = FormWindowState::Maximized;
224
								this->WindowState = FormWindowState::Maximized;
225
						}
225
						}
226
						else if ( start.Compare("GameDir") )
226
						else if ( start.Compare("GameDir") )
227
							SetGameDir(rest.token(";", 1).toInt(), SystemStringFromCyString(rest.tokens(";", 2)));
227
							SetGameDir(rest.token(";", 1).toInt(), _US(rest.tokens(";", 2)));
228
					}
228
					}
229
 
229
 
230
					delete lines;
230
					delete lines;
231
				}
231
				}
232
			}
232
			}