Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7460 in orxonox.OLD for trunk/src/orxonox.cc


Ignore:
Timestamp:
May 1, 2006, 12:30:34 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Namespaces for sound

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/orxonox.cc

    r7440 r7460  
    131131  // engines
    132132  delete CDEngine::getInstance();
    133   delete SoundEngine::getInstance();
     133  delete OrxSound::SoundEngine::getInstance();
    134134  delete GraphicsEngine::getInstance(); // deleting the Graphics
    135135  delete EventHandler::getInstance();
     
    265265  PRINT(3)("> Initializing sound\n");
    266266  // 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();
    271271  return 0;
    272272}
     
    441441  else if ( Preferences::getInstance()->getString("misc", "bt-to-file", "1") == "1" )
    442442  {      SignalHandler::getInstance()->doCatch( argv[0], GDB_RUN_WRITE_TO_FILE );
    443    
    444   }
    445  
     443
     444  }
     445
    446446  if( Preferences::getInstance()->getString("game", "showGui", "") == "1" )
    447447    showGui = true;
Note: See TracChangeset for help on using the changeset viewer.