working on profile management screen

This commit is contained in:
Chris Danford
2005-08-05 04:20:46 +00:00
parent f0e8a34327
commit 804cc8b2bc
5 changed files with 96 additions and 0 deletions
+8
View File
@@ -269,6 +269,14 @@ bool ProfileManager::SaveProfile( PlayerNumber pn ) const
return b;
}
bool ProfileManager::SaveLocalProfile( CString sProfileID )
{
Profile &profile = GetLocalProfile( sProfileID );
CString sDir = LocalProfileIdToDir( sProfileID );
bool b = profile.SaveAllToDir( sDir, PREFSMAN->m_bSignProfileData );
return b;
}
void ProfileManager::UnloadProfile( PlayerNumber pn )
{
m_sProfileDir[pn] = "";