Changeset 8074 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
- Timestamp:
- Jun 1, 2006, 3:31:19 PM (19 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.