Changeset 9234 in orxonox.OLD for branches/presentation/src
- Timestamp:
- Jul 5, 2006, 2:31:04 PM (18 years ago)
- Location:
- branches/presentation/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/graphics/effects/fog_effect.cc
r9205 r9234 23 23 24 24 // Define shell commands 25 SHELL_COMMAND(activate, FogEffect, activateFog);26 SHELL_COMMAND(deactivate, FogEffect, deactivateFog);25 //SHELL_COMMAND(activate, FogEffect, activateFog); 26 //SHELL_COMMAND(deactivate, FogEffect, deactivateFog); 27 27 SHELL_COMMAND(fadein, FogEffect, fadeInFog); 28 28 SHELL_COMMAND(fadeout, FogEffect, fadeOutFog); -
branches/presentation/src/lib/graphics/effects/snow_effect.cc
r9215 r9234 57 57 if (this->windBuffer != NULL) 58 58 ResourceManager::getInstance()->unload(this->windBuffer); 59 59 this->windBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/atmosphere/wind.wav", WAV); 60 60 } 61 61 -
branches/presentation/src/world_entities/space_ships/hover.cc
r9230 r9234 25 25 26 26 #include "util/loading/factory.h" 27 #include "util/loading/resource_manager.h"27 //#include "util/loading/resource_manager.h" 28 28 29 29 #include "key_mapper.h" … … 52 52 { 53 53 this->setPlayer(NULL); 54 55 //if (this->hoverBuffer != NULL) 56 // ResourceManager::getInstance()->unload(this->hoverBuffer); 54 57 } 55 58 … … 71 74 this->loadParams(doc.RootElement()); 72 75 73 //load sound74 if (this->hoverBuffer != NULL)75 ResourceManager::getInstance()->unload(this->hoverBuffer);76 this->hoverBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/engine/hover.wav", WAV);76 //load sound 77 //if (this->hoverBuffer != NULL) 78 // ResourceManager::getInstance()->unload(this->hoverBuffer); 79 //this->hoverBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/engine/hover.wav", WAV); 77 80 78 81 } … … 116 119 { 117 120 118 this->hitEntity = NULL;119 this->hoverBuffer = NULL;121 //this->hitEntity = NULL; 122 //this->hoverBuffer = NULL; 120 123 121 124 // this->setRelDir(Quaternion(M_PI, Vector(1,0,0))); … … 229 232 State::getCameraTargetNode()->setParentSoft(&this->cameraNode); 230 233 231 this->soundSource.play(this->hoverBuffer, 0.3f, true);234 //this->soundSource.play(this->hoverBuffer, 0.3f, true); 232 235 233 236 } -
branches/presentation/src/world_entities/space_ships/hover.h
r9230 r9234 8 8 #define _HOVER_H 9 9 10 #include "sound_buffer.h"11 #include "sound_source.h"10 //#include "sound_buffer.h" 11 //#include "sound_source.h" 12 12 13 13 #include "playable.h" … … 73 73 WorldEntity* hitEntity; 74 74 75 OrxSound::SoundSource soundSource;76 OrxSound::SoundBuffer* hoverBuffer;75 //OrxSound::SoundSource soundSource; 76 //OrxSound::SoundBuffer* hoverBuffer; 77 77 }; 78 78
Note: See TracChangeset
for help on using the changeset viewer.