add m_bPercentageScoring

This commit is contained in:
Glenn Maynard
2003-10-05 05:18:48 +00:00
parent 4ed68a629f
commit d4e6a2f0fd
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -83,6 +83,7 @@ PrefsManager::PrefsManager()
m_bAntiAliasing = false;
m_ShowSongOptions = YES;
m_bDancePointsForOni = false;
m_bPercentageScoring = false;
m_bTimestamping = false;
m_bShowLyrics = true;
m_bAutogenMissingTypes = true;
@@ -241,6 +242,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
ini.GetValue( "Options", "IgnoredMessageWindows", m_sIgnoredMessageWindows );
ini.GetValue( "Options", "SoloSingle", m_bSoloSingle );
ini.GetValue( "Options", "DancePointsForOni", m_bDancePointsForOni );
ini.GetValue( "Options", "PercentageScoring", m_bPercentageScoring );
ini.GetValue( "Options", "ShowLyrics", m_bShowLyrics );
ini.GetValue( "Options", "AutogenMissingTypes", m_bAutogenMissingTypes );
ini.GetValue( "Options", "AutogenGroupCourses", m_bAutogenGroupCourses );
@@ -291,7 +293,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame )
}
void PrefsManager::SaveGlobalPrefsToDisk()
void PrefsManager::SaveGlobalPrefsToDisk() const
{
IniFile ini;
ini.SetPath( STEPMANIA_INI_PATH );
@@ -359,6 +361,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
ini.SetValue( "Options", "IgnoredMessageWindows", m_sIgnoredMessageWindows );
ini.SetValue( "Options", "SoloSingle", m_bSoloSingle );
ini.SetValue( "Options", "DancePointsForOni", m_bDancePointsForOni );
ini.SetValue( "Options", "PercentageScoring", m_bPercentageScoring );
ini.SetValue( "Options", "ShowLyrics", m_bShowLyrics );
ini.SetValue( "Options", "AutogenMissingTypes", m_bAutogenMissingTypes );
ini.SetValue( "Options", "AutogenGroupCourses", m_bAutogenGroupCourses );
+2 -1
View File
@@ -76,6 +76,7 @@ public:
Maybe m_ShowSongOptions;
bool m_bSoloSingle;
bool m_bDancePointsForOni; //DDR-Extreme style dance points instead of max2 percent
bool m_bPercentageScoring;
bool m_bTimestamping;
bool m_bShowLyrics;
bool m_bAutogenMissingTypes;
@@ -137,7 +138,7 @@ public:
CString m_sDefaultModifiers;
void ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame );
void SaveGlobalPrefsToDisk();
void SaveGlobalPrefsToDisk() const;
void ReadGamePrefsFromDisk();