From aae0ef4d827c39f0f2ae03b43d13014eff405eec Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 20 Jul 2003 04:35:22 +0000 Subject: [PATCH] s/ShowConsole/DebugMode/ --- stepmania/src/PrefsManager.cpp | 6 +++--- stepmania/src/PrefsManager.h | 2 +- stepmania/src/StepMania.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/PrefsManager.cpp b/stepmania/src/PrefsManager.cpp index 7a932eb1d7..f9a9a0298e 100644 --- a/stepmania/src/PrefsManager.cpp +++ b/stepmania/src/PrefsManager.cpp @@ -98,7 +98,7 @@ PrefsManager::PrefsManager() m_bFirstRun = true; m_bAutoMapJoysticks = true; m_fGlobalOffsetSeconds = 0; - m_bShowConsole = false; + m_bDebugMode = false; m_bTenFooterInRed = true; @@ -224,7 +224,7 @@ void PrefsManager::ReadGlobalPrefsFromDisk( bool bSwitchToLastPlayedGame ) #endif ini.GetValueB( "Options", "AntiAliasing", m_bAntiAliasing ); ini.GetValueF( "Options", "GlobalOffsetSeconds", m_fGlobalOffsetSeconds ); - ini.GetValueB( "Options", "ShowConsole", m_bShowConsole ); + ini.GetValueB( "Options", "DebugMode", m_bDebugMode ); m_asAdditionalSongFolders.clear(); @@ -320,7 +320,7 @@ void PrefsManager::SaveGlobalPrefsToDisk() #endif ini.SetValueB( "Options", "AntiAliasing", m_bAntiAliasing ); ini.SetValueF( "Options", "GlobalOffsetSeconds", m_fGlobalOffsetSeconds ); - ini.SetValueB( "Options", "ShowConsole", m_bShowConsole ); + ini.SetValueB( "Options", "DebugMode", m_bDebugMode ); ini.SetValueB( "Options", "TenFooterInRed", m_bTenFooterInRed ); diff --git a/stepmania/src/PrefsManager.h b/stepmania/src/PrefsManager.h index e32b5f65a2..3fd96c1fa5 100644 --- a/stepmania/src/PrefsManager.h +++ b/stepmania/src/PrefsManager.h @@ -81,7 +81,7 @@ public: bool m_bFirstRun; bool m_bAutoMapJoysticks; float m_fGlobalOffsetSeconds; - bool m_bShowConsole; + bool m_bDebugMode; bool m_bTenFooterInRed; /* 0 = no; 1 = yes; -1 = auto (do whatever is appropriate for the arch). */ diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 83fe445ca6..44dfddc8a9 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -470,7 +470,7 @@ int main(int argc, char* argv[]) GAMESTATE = new GameState; PREFSMAN = new PrefsManager; - if( PREFSMAN->m_bShowConsole ) + if( PREFSMAN->m_bDebugMode ) LOG->ShowConsole(); CheckSettings();