Changeset 4200 in orxonox.OLD for orxonox/branches/openAL/src/story_entities
- Timestamp:
- May 16, 2005, 11:46:23 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/story_entities/world.cc
r4198 r4200 490 490 491 491 SoundEngine::getInstance()->setListener(tn); 492 SoundBuffer* tBuffer = new SoundBuffer(ResourceManager::getFullName("sound/explo.wav"));492 SoundBuffer* tBuffer = new SoundBuffer(ResourceManager::getFullName("sound/explo.wav")); 493 493 SoundSource* tSound = new SoundSource(tBuffer, this->localPlayer); 494 tSound->setRolloffFactor(0.1); 494 495 tSound->play(); 495 496
Note: See TracChangeset
for help on using the changeset viewer.