Changeset 8074 in orxonox.OLD
- Timestamp:
- Jun 1, 2006, 3:31:19 PM (18 years ago)
- Location:
- branches/atmospheric_engine/src/lib/graphics/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
r8052 r8074 25 25 #include "plane_emitter.h" 26 26 #include "shell_command.h" 27 #include "light.h" 27 28 28 29 #include "parser/tinyxml/tinyxml.h" … … 107 108 108 109 this->emitter = new PlaneEmitter(this->rainSize); 110 111 lightMan = LightManager::getInstance(); 109 112 } 110 113 … … 142 145 if (this->rainWindForce > 0) 143 146 this->soundSource.loop(this->windBuffer, 0.5f); 147 148 lightMan->setAmbientColor(.1,.1,.1); 144 149 } 145 150 … … 151 156 152 157 this->soundSource.stop(); 158 159 lightMan->setAmbientColor(1,1,1); 153 160 } 154 161 -
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.h
r8023 r8074 14 14 class SparkParticles; 15 15 class PlainEmitter; 16 class LightManager; 16 17 17 18 #include "weather_effect.h" … … 66 67 OrxSound::SoundBuffer* rainBuffer; 67 68 OrxSound::SoundBuffer* windBuffer; 69 70 LightManager* lightMan; 68 71 }; 69 72
Note: See TracChangeset
for help on using the changeset viewer.