From f9f7063fbb8f74eb15c649e42f2cf50000ff1be8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 2 Jan 2003 02:58:43 +0000 Subject: [PATCH] add an option to turn off banner changing when the wheel is moving fast --- stepmania/src/PrefsManager.cpp | 5 ++++- stepmania/src/PrefsManager.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stepmania/src/PrefsManager.cpp b/stepmania/src/PrefsManager.cpp index 92945182f5..d68ab59b99 100644 --- a/stepmania/src/PrefsManager.cpp +++ b/stepmania/src/PrefsManager.cpp @@ -66,7 +66,8 @@ PrefsManager::PrefsManager() m_iUnloadTextureDelaySeconds = 0; // disabled 60*30; // 30 mins m_bCoinOpMode = false; m_bMusicWheelUsesSections = true; - + m_bChangeBannersWhenFast = false; + /* 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; @@ -122,6 +123,7 @@ PrefsManager::~PrefsManager() ini.GetValueI( "Options", "UnloadTextureDelaySeconds", m_iUnloadTextureDelaySeconds ); ini.GetValueB( "Options", "CoinOpMode", m_bCoinOpMode ); ini.GetValueB( "Options", "MusicWheelUsesSections", m_bMusicWheelUsesSections ); + ini.GetValueB( "Options", "ChangeBannersWhenFast", m_bChangeBannersWhenFast ); ini.GetValue ( "Options", "SoundDrivers", m_bSoundDrivers ); m_asAdditionalSongFolders.clear(); @@ -176,6 +178,7 @@ void PrefsManager::SaveGlobalPrefsToDisk() ini.SetValue ( "Options", "DWIPath", m_DWIPath ); ini.SetValueI( "Options", "UnloadTextureDelaySeconds", m_iUnloadTextureDelaySeconds ); ini.SetValueB( "Options", "MusicWheelUsesSections", m_bMusicWheelUsesSections ); + ini.SetValueB( "Options", "ChangeBannersWhenFast", m_bChangeBannersWhenFast ); ini.SetValueB( "Options", "CoinOpMode", m_bCoinOpMode ); /* Only write this if it's been changed. This ensures that we can change diff --git a/stepmania/src/PrefsManager.h b/stepmania/src/PrefsManager.h index ade78f4f6c..3780c875e0 100644 --- a/stepmania/src/PrefsManager.h +++ b/stepmania/src/PrefsManager.h @@ -53,6 +53,7 @@ public: bool m_bArcadeOptionsNavigation; bool m_bCoinOpMode; bool m_bMusicWheelUsesSections; + bool m_bChangeBannersWhenFast; CStringArray m_asAdditionalSongFolders; CString m_DWIPath;