add poly radar pref

no options menu for this; very obscure and, er, we have no room
This commit is contained in:
Glenn Maynard
2003-01-26 03:51:59 +00:00
parent 19e046e35e
commit d0a01ec8f6
3 changed files with 15 additions and 4 deletions
+4 -1
View File
@@ -78,7 +78,8 @@ PrefsManager::PrefsManager()
m_iCoinsPerCredit = 1;
m_bJointPremium = false;
m_iBoostAppPriority = -1;
m_iPolygonRadar = -1;
/* 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. */
m_bHiddenSongs = false;
@@ -148,6 +149,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
ini.GetValueI( "Options", "CoinsPerCredit", m_iCoinsPerCredit );
ini.GetValueB( "Options", "JointPremium", m_bJointPremium );
ini.GetValueI( "Options", "BoostAppPriority", m_iBoostAppPriority );
ini.GetValueI( "Options", "PolygonRadar", m_iPolygonRadar );
m_asAdditionalSongFolders.clear();
CString sAdditionalSongFolders;
@@ -213,6 +215,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
ini.SetValueI( "Options", "CoinsPerCredit", m_iCoinsPerCredit );
ini.SetValueB( "Options", "JointPremium", m_bJointPremium );
ini.SetValueI( "Options", "BoostAppPriority", m_iBoostAppPriority );
ini.SetValueI( "Options", "PolygonRadar", m_iPolygonRadar );
/* Only write these if they aren't the default. This ensures that we can change
* the default and have it take effect for everyone (except people who