Changeset 7440 in orxonox.OLD for trunk/src/orxonox.cc
- Timestamp:
- Apr 29, 2006, 2:56:52 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/orxonox.cc
r7427 r7440 34 34 #include "parser/ini_parser/ini_parser.h" 35 35 #include "util/loading/game_loader.h" 36 #include "util/signal_handler.h" 36 37 37 38 //ENGINES … … 84 85 REGISTER_ARG_ARG( _, music_volume, "audio", "Music-Volume", "Sets music volume", "vol" ); 85 86 REGISTER_ARG_ARG( _, effects_volume, "audio", "Effects-Volume", "Sets effects volume", "vol" ); 87 88 #ifndef __WIN32__ 89 REGISTER_ARG_FLAG( _, start_gdb_on_signal, "misc", "start-gdb", "Start gdb on signal", "1"); 90 REGISTER_ARG_FLAG( _, write_bt_to_file, "misc", "bt-to-file", "Write backtrace to file", "1"); 91 #endif 86 92 87 93 /** … … 429 435 } 430 436 437 if ( Preferences::getInstance()->getString("misc", "start-gdb", "0") == "1" ) 438 { 439 SignalHandler::getInstance()->doCatch( argv[0], GDB_RUN_IN_FOREGROUND ); 440 } 441 else if ( Preferences::getInstance()->getString("misc", "bt-to-file", "1") == "1" ) 442 { SignalHandler::getInstance()->doCatch( argv[0], GDB_RUN_WRITE_TO_FILE ); 443 444 } 445 431 446 if( Preferences::getInstance()->getString("game", "showGui", "") == "1" ) 432 447 showGui = true;
Note: See TracChangeset
for help on using the changeset viewer.