weee progressive lifebar (like ddrex)

This commit is contained in:
Andrew Wong
2003-07-29 12:42:38 +00:00
parent d5207e1b30
commit ff3e915763
5 changed files with 35 additions and 1 deletions
+5 -1
View File
@@ -103,6 +103,9 @@ PrefsManager::PrefsManager()
m_bDebugMode = false;
m_bTenFooterInRed = true;
// set to 0 so people aren't shocked at first
m_iProgressiveLifebar = 0;
/* DDR Extreme-style extra stage support.
* Default off so people used to the current behavior (or those with extra
@@ -218,6 +221,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
ini.GetValueB( "Options", "ShowDancingCharacters", m_bShowDancingCharacters );
ini.GetValueB( "Options", "TenFooterInRed", m_bTenFooterInRed );
ini.GetValueI( "Options", "CourseSortOrder", (int&)m_iCourseSortOrder );
ini.GetValueI( "Options", "ProgressiveLifebar", (int&)m_iProgressiveLifebar );
ini.GetValueB( "Options", "UseUnlockSystem", m_bUseUnlockSystem );
@@ -330,7 +334,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
ini.SetValueB( "Options", "TenFooterInRed", m_bTenFooterInRed );
ini.SetValueI( "Options", "CourseSortOrder", m_iCourseSortOrder );
ini.SetValueI( "Options", "ProgressiveLifebar", m_iProgressiveLifebar );
/* 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