add m_bShowConsole

This commit is contained in:
Glenn Maynard
2003-07-18 08:05:39 +00:00
parent 608f6aede3
commit 24fe033661
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -81,6 +81,7 @@ public:
bool m_bFirstRun;
bool m_bAutoMapJoysticks;
float m_fGlobalOffsetSeconds;
bool m_bShowConsole;
bool m_bTenFooterInRed;
/* 0 = no; 1 = yes; -1 = auto (do whatever is appropriate for the arch). */
+4 -4
View File
@@ -439,10 +439,6 @@ int main(int argc, char* argv[])
* Do it after ChangeToDirOfExecutable, so the log ends up in the right place. */
LOG = new RageLog();
#ifdef DEBUG
LOG->ShowConsole();
#endif
/* Whew--we should be able to crash safely now! */
atexit(SDL_Quit); /* Clean up on exit */
@@ -473,6 +469,10 @@ int main(int argc, char* argv[])
//
GAMESTATE = new GameState;
PREFSMAN = new PrefsManager;
if( PREFSMAN->m_bShowConsole )
LOG->ShowConsole();
CheckSettings();
GAMEMAN = new GameManager;