Don't preload low-quality banners on very low-memory systems.

This commit is contained in:
Glenn Maynard
2003-06-11 02:58:13 +00:00
parent 9410457599
commit 5faa1d7c17
4 changed files with 33 additions and 7 deletions
+3
View File
@@ -76,6 +76,7 @@ PrefsManager::PrefsManager()
m_bSoloSingle = false;
m_bDelayedTextureDelete = true;
m_bDelayedScreenLoad = false;
m_bBannerCache = false; // XXX
m_MusicWheelUsesSections = ALWAYS;
m_iMusicWheelSwitchSpeed = 10;
m_bEasterEggs = true;
@@ -181,6 +182,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
ini.GetValue ( "Options", "DWIPath", m_DWIPath );
ini.GetValueB( "Options", "DelayedTextureDelete", m_bDelayedTextureDelete );
ini.GetValueB( "Options", "DelayedScreenLoad", m_bDelayedScreenLoad );
ini.GetValueB( "Options", "BannerCache", m_bBannerCache );
ini.GetValueI( "Options", "MusicWheelUsesSections", (int&)m_MusicWheelUsesSections );
ini.GetValueI( "Options", "MusicWheelSwitchSpeed", m_iMusicWheelSwitchSpeed );
ini.GetValue ( "Options", "SoundDrivers", m_sSoundDrivers );
@@ -277,6 +279,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
ini.SetValue ( "Options", "DWIPath", m_DWIPath );
ini.SetValueB( "Options", "DelayedTextureDelete", m_bDelayedTextureDelete );
ini.SetValueB( "Options", "DelayedScreenLoad", m_bDelayedScreenLoad );
ini.SetValueB( "Options", "BannerCache", m_bBannerCache );
ini.SetValueI( "Options", "MusicWheelUsesSections", m_MusicWheelUsesSections );
ini.SetValueI( "Options", "MusicWheelSwitchSpeed", m_iMusicWheelSwitchSpeed );
ini.SetValueB( "Options", "EasterEggs", m_bEasterEggs );