time delay texture unload, Spig's MAX2 changes
This commit is contained in:
@@ -52,7 +52,7 @@ PrefsManager::PrefsManager()
|
||||
m_bDelayedEscape = true;
|
||||
m_bHowToPlay = true;
|
||||
m_bArcadeOptionsNavigation = false;
|
||||
m_bUnloadTextures = true;
|
||||
m_iUnloadTextureDelaySeconds = 60*30; // 30 mins
|
||||
|
||||
/* I'd rather get occasional people asking for support for this even though it's
|
||||
* already here than lots of people asking why songs aren't being displayed. */
|
||||
@@ -99,7 +99,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
|
||||
ini.GetValueB( "Options", "HowToPlay", m_bHowToPlay );
|
||||
ini.GetValueB( "Options", "ArcadeOptionsNavigation",m_bArcadeOptionsNavigation );
|
||||
ini.GetValue ( "Options", "DWIPath", m_DWIPath );
|
||||
ini.GetValueB( "Options", "UnloadTextures", m_bUnloadTextures );
|
||||
ini.GetValueI( "Options", "UnloadTextureDelaySeconds", m_iUnloadTextureDelaySeconds );
|
||||
|
||||
m_asAdditionalSongFolders.RemoveAll();
|
||||
CString sAdditionalSongFolders;
|
||||
@@ -144,7 +144,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
|
||||
ini.SetValueB( "Options", "HowToPlay", m_bHowToPlay );
|
||||
ini.SetValueB( "Options", "ArcadeOptionsNavigation",m_bArcadeOptionsNavigation );
|
||||
ini.SetValue ( "Options", "DWIPath", m_DWIPath );
|
||||
ini.SetValueB( "Options", "UnloadTextures", m_bUnloadTextures );
|
||||
ini.SetValueI( "Options", "UnloadTextureDelaySeconds", m_iUnloadTextureDelaySeconds );
|
||||
|
||||
ini.SetValue( "Options", "AdditionalSongFolders", join(",", m_asAdditionalSongFolders) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user