Changeset 4961 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jul 28, 2005, 1:19:50 AM (19 years ago)
- Location:
- orxonox/trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4959 r4961 66 66 67 67 #include "sound_engine.h" 68 #include "ogg_player.h" 68 69 69 70 #include "class_list.h" … … 206 207 207 208 LoadClassDescription::printAll(); 209 210 211 ResourceManager::getInstance()->unload(this->music); 208 212 ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL); 209 213 } … … 226 230 //strcpy(this->worldName, name); 227 231 this->debugWorldNr = worldID; 232 233 this->music = NULL; 228 234 } 229 235 … … 517 523 518 524 ClassList::debug(); 525 526 this->music = (OggPlayer*)ResourceManager::getInstance()->load("sound/00-luke_grey_-_hypermode.ogg", OGG, RP_LEVEL); 527 music->playback(); 519 528 } 520 529 … … 954 963 955 964 SoundEngine::getInstance()->update(); 965 music->update(); 956 966 } 957 967 -
orxonox/trunk/src/story_entities/world.h
r4836 r4961 24 24 class PilotNode; 25 25 26 class OggPlayer; 26 27 //! The game world Interface 27 28 /** … … 112 113 113 114 115 OggPlayer* music; 114 116 // IMPORTANT WORLD-ENTITIES 115 117 PNode* nullParent; //!< The zero-point, that everything has as its parent.
Note: See TracChangeset
for help on using the changeset viewer.