Subversion Repositories spk

Rev

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

Rev 160 Rev 182
Line 92... Line 92...
92
		return -2 - iExe;
92
		return -2 - iExe;
93
 
93
 
94
	return -1;
94
	return -1;
95
}
95
}
96
 
96
 
97
Utils::String CGameExe::GetModKey(int game)
97
Utils::String CGameExe::getModKey(int game) const
98
{
98
{
99
	if ( game < 0 )	return "";
99
	if ( game < 0 )	return "";
100
	SGameExe *sExe = m_lExe[game];
100
	SGameExe *sExe = m_lExe[game];
101
	if ( !sExe ) return "";
101
	if ( !sExe ) return "";
102
 
102
 
Line 346... Line 346...
346
	// return the name and the version
346
	// return the name and the version
347
	return gameName + " " + sGameVersion;
347
	return gameName + " " + sGameVersion;
348
}
348
}
349
 
349
 
350
 
350
 
351
int CGameExe::GetGameAddons(const Utils::String &dir, Utils::CStringList &exes)
351
int CGameExe::getGameAddons(const Utils::String &dir, Utils::CStringList &exes) const
352
{
352
{
353
	int count = 0;
353
	int count = 0;
354
 
354
 
355
	CDirIO Dir(dir);
355
	CDirIO Dir(dir);
356
 
356