diff --git a/stepmania/src/PrefsManager.cpp b/stepmania/src/PrefsManager.cpp index 91acaadab8..bde5769b5e 100644 --- a/stepmania/src/PrefsManager.cpp +++ b/stepmania/src/PrefsManager.cpp @@ -46,6 +46,7 @@ PrefsManager::PrefsManager() m_iMaxTextureResolution = 2048; m_iRefreshRate = REFRESH_DEFAULT; m_bOnlyDedicatedMenuButtons = false; + m_bCelShadeDancers = false; // Work-In-Progress.. disable by default. #ifdef DEBUG m_bShowStats = true; #else @@ -312,6 +313,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk() ini.GetValue( "Options", "ScreenWidth", m_fScreenWidth ); ini.GetValue( "Options", "ScreenHeight", m_fScreenHeight ); #endif + ini.GetValue( "Options", "CelShadeDancers", m_bCelShadeDancers ); ini.GetValue( "Options", "DisplayWidth", m_iDisplayWidth ); ini.GetValue( "Options", "DisplayHeight", m_iDisplayHeight ); ini.GetValue( "Options", "DisplayColorDepth", m_iDisplayColorDepth ); @@ -531,6 +533,7 @@ void PrefsManager::SaveGlobalPrefsToDisk() const ini.SetPath( STEPMANIA_INI_PATH ); ini.SetValue( "Options", "Windowed", m_bWindowed ); + ini.SetValue( "Options", "CelShadeDancers", m_bCelShadeDancers ); ini.SetValue( "Options", "DisplayWidth", m_iDisplayWidth ); ini.SetValue( "Options", "DisplayHeight", m_iDisplayHeight ); ini.SetValue( "Options", "DisplayColorDepth", m_iDisplayColorDepth ); diff --git a/stepmania/src/PrefsManager.h b/stepmania/src/PrefsManager.h index afd587f489..f5024ce92d 100644 --- a/stepmania/src/PrefsManager.h +++ b/stepmania/src/PrefsManager.h @@ -192,6 +192,7 @@ public: bool m_bAllowExtraStage; bool m_bHideDefaultNoteSkin; int m_iMaxHighScoresPerList; + bool m_bCelShadeDancers; // Number of seconds it takes for a button on the controller to release // after pressed.