Changeset 4504 in orxonox.OLD for orxonox/trunk/src/orxonox.cc
- Timestamp:
- Jun 4, 2005, 12:38:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r4446 r4504 33 33 #include "game_loader.h" 34 34 #include "graphics_engine.h" 35 #include "sound_engine.h" 35 36 #include "resource_manager.h" 36 37 #include "object_manager.h" … … 72 73 Orxonox::singletonRef = NULL; 73 74 delete GraphicsEngine::getInstance(); // deleting the Graphics 75 delete TextEngine::getInstance(); 76 delete SoundEngine::getInstance(); 74 77 delete ResourceManager::getInstance(); // deletes the Resource Manager 75 78 delete ObjectManager::getInstance(); … … 121 124 if( initVideo() == -1) return -1; 122 125 if( initSound() == -1) return -1; 123 printf("> Initializing input\n");126 PRINT(3)("> Initializing input\n"); 124 127 if( initInput() == -1) return -1; 125 printf("> Initializing networking\n");128 PRINT(3)("> Initializing networking\n"); 126 129 if( initNetworking () == -1) return -1; 127 130 //printf("> Initializing world\n"); … … 149 152 int Orxonox::initSound() 150 153 { 151 printf("> Initializing sound\n");154 PRINT(3)("> Initializing sound\n"); 152 155 // SDL_Init(SDL_INIT_AUDIO); 153 printf("Not yet implemented\n");156 SoundEngine::getInstance()->initAudio(); 154 157 return 0; 155 158 }
Note: See TracChangeset
for help on using the changeset viewer.