Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 4, 2005, 12:38:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the SoundEngine into the Trunk.
merged file by file, but merged all the files in favor of the new trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r4446 r4504  
    3333#include "game_loader.h"
    3434#include "graphics_engine.h"
     35#include "sound_engine.h"
    3536#include "resource_manager.h"
    3637#include "object_manager.h"
     
    7273  Orxonox::singletonRef = NULL;
    7374  delete GraphicsEngine::getInstance(); // deleting the Graphics
     75  delete TextEngine::getInstance();
     76  delete SoundEngine::getInstance();
    7477  delete ResourceManager::getInstance(); // deletes the Resource Manager
    7578  delete ObjectManager::getInstance();
     
    121124  if( initVideo() == -1) return -1;
    122125  if( initSound() == -1) return -1;
    123   printf("> Initializing input\n");
     126  PRINT(3)("> Initializing input\n");
    124127  if( initInput() == -1) return -1;
    125   printf("> Initializing networking\n");
     128  PRINT(3)("> Initializing networking\n");
    126129  if( initNetworking () == -1) return -1;
    127130  //printf("> Initializing world\n");
     
    149152int Orxonox::initSound()
    150153{
    151   printf("> Initializing sound\n");
     154  PRINT(3)("> Initializing sound\n");
    152155  // SDL_Init(SDL_INIT_AUDIO);
    153   printf("Not yet implemented\n");
     156  SoundEngine::getInstance()->initAudio();
    154157  return 0;
    155158}
Note: See TracChangeset for help on using the changeset viewer.