From 17c455e5a828b56ae31b8f21d76016b58f6f3cc6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 21 Jan 2003 06:51:35 +0000 Subject: [PATCH] add m_iMusicWheelSwitchSpeed --- stepmania/src/PrefsManager.cpp | 3 +++ stepmania/src/PrefsManager.h | 1 + 2 files changed, 4 insertions(+) diff --git a/stepmania/src/PrefsManager.cpp b/stepmania/src/PrefsManager.cpp index 12ca10e9c8..3e166c9620 100644 --- a/stepmania/src/PrefsManager.cpp +++ b/stepmania/src/PrefsManager.cpp @@ -70,6 +70,7 @@ PrefsManager::PrefsManager() m_iUnloadTextureDelaySeconds = 0; // disabled 60*30; // 30 mins m_bCoinOpMode = false; m_bMusicWheelUsesSections = true; + m_iMusicWheelSwitchSpeed = 10; m_bChangeBannersWhenFast = false; m_bEasterEggs = true; m_bMarvelousTiming = true; @@ -135,6 +136,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame ) ini.GetValueI( "Options", "UnloadTextureDelaySeconds", m_iUnloadTextureDelaySeconds ); ini.GetValueB( "Options", "CoinOpMode", m_bCoinOpMode ); ini.GetValueB( "Options", "MusicWheelUsesSections", m_bMusicWheelUsesSections ); + ini.GetValueI( "Options", "MusicWheelSwitchSpeed", m_iMusicWheelSwitchSpeed ); ini.GetValueB( "Options", "ChangeBannersWhenFast", m_bChangeBannersWhenFast ); ini.GetValue ( "Options", "SoundDrivers", m_sSoundDrivers ); ini.GetValueB( "Options", "EasterEggs", m_bEasterEggs ); @@ -198,6 +200,7 @@ void PrefsManager::SaveGlobalPrefsToDisk() ini.SetValue ( "Options", "DWIPath", m_DWIPath ); ini.SetValueI( "Options", "UnloadTextureDelaySeconds", m_iUnloadTextureDelaySeconds ); ini.SetValueB( "Options", "MusicWheelUsesSections", m_bMusicWheelUsesSections ); + ini.SetValueI( "Options", "MusicWheelSwitchSpeed", m_iMusicWheelSwitchSpeed ); ini.SetValueB( "Options", "ChangeBannersWhenFast", m_bChangeBannersWhenFast ); ini.SetValue ( "Options", "SoundDrivers", m_sSoundDrivers ); ini.SetValueB( "Options", "EasterEggs", m_bEasterEggs ); diff --git a/stepmania/src/PrefsManager.h b/stepmania/src/PrefsManager.h index 0b3e4ec144..395226e0f4 100644 --- a/stepmania/src/PrefsManager.h +++ b/stepmania/src/PrefsManager.h @@ -54,6 +54,7 @@ public: bool m_bArcadeOptionsNavigation; bool m_bCoinOpMode; bool m_bMusicWheelUsesSections; + int m_iMusicWheelSwitchSpeed; bool m_bChangeBannersWhenFast; bool m_bEasterEggs; bool m_bMarvelousTiming;