Changeset 4197 in orxonox.OLD for orxonox/branches/openAL/src/story_entities
- Timestamp:
- May 16, 2005, 3:54:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/story_entities/world.cc
r4194 r4197 50 50 51 51 #include "substring.h" 52 53 #include "sound_engine.h" 52 54 53 55 using namespace std; … … 486 488 terrain->setRelCoor(Vector(0,-10,0)); 487 489 this->spawn(terrain); 490 491 SoundEngine::getInstance()->setListener(tn); 492 SoundBuffer* tBuffer =new SoundBuffer("explo.wav"); 493 SoundSource* tSound = new SoundSource(tBuffer, this->localPlayer); 494 tSound->play(); 488 495 489 496 … … 1161 1168 this->garbageCollector->update(); 1162 1169 this->nullParent->update (this->dtS); 1170 1171 SoundEngine::getInstance()->update(); 1163 1172 } 1164 1173
Note: See TracChangeset
for help on using the changeset viewer.