Split off separate DemonstrationSound pref
This commit is contained in:
@@ -147,6 +147,7 @@ PrefsManager::PrefsManager()
|
||||
m_fCenterImageScaleY = 1;
|
||||
|
||||
m_bAttractSound = true;
|
||||
m_bDemonstrationSound = true;
|
||||
m_bAllowExtraStage = true;
|
||||
g_bAutoRestart = false;
|
||||
|
||||
@@ -315,6 +316,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk()
|
||||
ini.GetValue( "Options", "CenterImageScaleX", m_fCenterImageScaleX );
|
||||
ini.GetValue( "Options", "CenterImageScaleY", m_fCenterImageScaleY );
|
||||
ini.GetValue( "Options", "AttractSound", m_bAttractSound );
|
||||
ini.GetValue( "Options", "DemonstrationSound", m_bDemonstrationSound );
|
||||
ini.GetValue( "Options", "AllowExtraStage", m_bAllowExtraStage );
|
||||
ini.GetValue( "Options", "AutoRestart", g_bAutoRestart );
|
||||
|
||||
@@ -445,6 +447,7 @@ void PrefsManager::SaveGlobalPrefsToDisk() const
|
||||
ini.SetValue( "Options", "CenterImageScaleX", m_fCenterImageScaleX );
|
||||
ini.SetValue( "Options", "CenterImageScaleY", m_fCenterImageScaleY );
|
||||
ini.SetValue( "Options", "AttractSound", m_bAttractSound );
|
||||
ini.SetValue( "Options", "DemonstrationSound", m_bDemonstrationSound );
|
||||
ini.SetValue( "Options", "AllowExtraStage", m_bAllowExtraStage );
|
||||
ini.SetValue( "Options", "AutoRestart", g_bAutoRestart );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user