Subversion Repositories spk

Rev

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

Rev 232 Rev 233
Line 2738... Line 2738...
2738
 
2738
 
2739
Utils::WString CBaseFile::getAutosaveName() const
2739
Utils::WString CBaseFile::getAutosaveName() const
2740
{
2740
{
2741
	return this->name() + L"-V" + this->version() + L"-" + this->creationDate().findReplace(L"/", L".");
2741
	return this->name() + L"-V" + this->version() + L"-" + this->creationDate().findReplace(L"/", L".");
2742
}
2742
}
-
 
2743
 
-
 
2744
void CBaseFile::addGlobal(const Utils::WString& global, const Utils::WString& setting)
-
 
2745
{
-
 
2746
	if (!_lGlobals.changeData(global, setting))
-
 
2747
		_lGlobals.pushBack(global, setting);
-
 
2748
}
-
 
2749
 
-
 
2750
void CBaseFile::removeGlobal(const Utils::WString& global)
-
 
2751
{
-
 
2752
	_lGlobals.remove(global);
-
 
2753
}
-
 
2754
 
2743
 
2755
 
2744
bool CBaseFile::CheckGameCompatability(int game)
2756
bool CBaseFile::CheckGameCompatability(int game)
2745
{
2757
{
2746
	if ( m_lGames.empty() )
2758
	if ( m_lGames.empty() )
2747
		return true; // no game compatability added, assume its ok for all
2759
		return true; // no game compatability added, assume its ok for all