move a couple preferences out of PrefsManager

This commit is contained in:
Glenn Maynard
2004-12-07 01:48:46 +00:00
parent a663219b8a
commit 63e2b2be99
2 changed files with 0 additions and 21 deletions
-14
View File
@@ -568,14 +568,6 @@ void PrefsManager::ReadPrefsFromFile( CString sIni )
ini.GetValue( "Debug", "LogCheckpoints", m_bLogCheckpoints );
ini.GetValue( "Debug", "ShowLoadingWindow", m_bShowLoadingWindow );
#if defined (WITHOUT_NETWORKING)
#else
ini.GetValue( "Options", "LastConnectedServer", m_sLastServer );
ini.GetValue( "Options", "ServerWaitSeconds", m_fStartWait );
if ( m_fStartWait == 0.0 )
m_fStartWait = 2;
#endif
FOREACH( IPreference*, *g_pvpSubscribers, p ) (*p)->ReadFrom( ini );
}
@@ -823,12 +815,6 @@ void PrefsManager::SaveGlobalPrefsToDisk() const
ini.SetValue( "Debug", "LogVirtualMemory", m_bLogVirtualMemory );
#endif
#if defined (WITHOUT_NETWORKING)
#else
ini.SetValue( "Options", "LastConnectedServer", m_sLastServer );
ini.SetValue( "Options", "ServerWaitSeconds", m_fStartWait );
#endif
FOREACH_CONST( IPreference*, *g_pvpSubscribers, p ) (*p)->WriteTo( ini );
ini.WriteFile( STEPMANIA_INI_PATH );