Changeset 7460 in orxonox.OLD for trunk/src/orxonox.cc
- Timestamp:
- May 1, 2006, 12:30:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/orxonox.cc
r7440 r7460 131 131 // engines 132 132 delete CDEngine::getInstance(); 133 delete SoundEngine::getInstance();133 delete OrxSound::SoundEngine::getInstance(); 134 134 delete GraphicsEngine::getInstance(); // deleting the Graphics 135 135 delete EventHandler::getInstance(); … … 265 265 PRINT(3)("> Initializing sound\n"); 266 266 // SDL_InitSubSystem(SDL_INIT_AUDIO); 267 SoundEngine::getInstance();268 269 SoundEngine::getInstance()->loadSettings();270 SoundEngine::getInstance()->initAudio();267 OrxSound::SoundEngine::getInstance(); 268 269 OrxSound::SoundEngine::getInstance()->loadSettings(); 270 OrxSound::SoundEngine::getInstance()->initAudio(); 271 271 return 0; 272 272 } … … 441 441 else if ( Preferences::getInstance()->getString("misc", "bt-to-file", "1") == "1" ) 442 442 { SignalHandler::getInstance()->doCatch( argv[0], GDB_RUN_WRITE_TO_FILE ); 443 444 } 445 443 444 } 445 446 446 if( Preferences::getInstance()->getString("game", "showGui", "") == "1" ) 447 447 showGui = true;
Note: See TracChangeset
for help on using the changeset viewer.