Changeset 4878
- Timestamp:
- Jun 14, 2007, 2:23:49 AM (17 years ago)
- Location:
- data/contentcreation/pps/FabianLandau/mover
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/contentcreation/pps/FabianLandau/mover/environments/mover.cc
r4855 r4878 15 15 16 16 #include "sound/resource_sound_buffer.h" 17 #include "sound_engine.h" 17 18 #include "util/loading/load_param_xml.h" 18 19 #include "util/loading/load_param.h" … … 236 237 if (this->triggers && this->triggers->isTriggered()) 237 238 { 238 this->soundSource_moving.play( );239 this->soundSource_moving.play(this->stations->getMovingSound(this->station), OrxSound::SoundEngine::getInstance()->getEffectsVolume(), 0.5, true); 239 240 return MOVE; 240 241 } … … 278 279 279 280 if (this->stations->getStartingSound(this->station).loaded()) 280 this->soundSource_starting.play(this->stations->getStartingSound(this->station) );281 this->soundSource_starting.play(this->stations->getStartingSound(this->station), OrxSound::SoundEngine::getInstance()->getEffectsVolume(), 0.5); 281 282 if (this->stations->getMovingSound(this->station).loaded()) 282 this->soundSource_moving.play(this->stations->getMovingSound(this->station), 1.0, true);283 this->soundSource_moving.play(this->stations->getMovingSound(this->station), OrxSound::SoundEngine::getInstance()->getEffectsVolume(), 0.5, true); 283 284 284 285 this->time = 0; … … 315 316 316 317 if (this->stations->getEndingSound(this->station).loaded()) 317 this->soundSource_ending.play(this->stations->getEndingSound(this->station) );318 this->soundSource_ending.play(this->stations->getEndingSound(this->station), OrxSound::SoundEngine::getInstance()->getEffectsVolume(), 0.5); 318 319 this->soundSource_moving.stop(); 319 320
Note: See TracChangeset
for help on using the changeset viewer.