Changeset 8455 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
- Timestamp:
- Jun 15, 2006, 1:12:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
r8443 r8455 105 105 106 106 107 boolRainEffect::init()107 void RainEffect::init() 108 108 { 109 109 //Default values … … 126 126 lightMan = LightManager::getInstance(); 127 127 this->rainAmbient = lightMan->getAmbientColor(); 128 129 return 0;130 128 } 131 129 … … 133 131 SparkParticles* RainEffect::rainParticles = NULL; 134 132 135 boolRainEffect::activate()133 void RainEffect::activate() 136 134 { 137 135 PRINTF(0)( "Activating RainEffect, coord: %f, %f, %f, size: %f, %f, rate: %f, velocity: %f, moveRain: %s\n", this->rainCoord.x, this->rainCoord.y, this->rainCoord.z, this->rainSize.x, this-> rainSize.y, this->rainRate, this->rainVelocity, this->rainMove ? "true" : "false" ); … … 168 166 lightMan->setAmbientColor(.1,.1,.1); 169 167 170 return 0; 171 } 172 173 174 bool RainEffect::deactivate() 168 } 169 170 171 void RainEffect::deactivate() 175 172 { 176 173 PRINTF(0)("Deactivating RainEffect\n"); … … 185 182 lightMan->setAmbientColor(this->rainAmbient, this->rainAmbient, this->rainAmbient); 186 183 187 return 0;188 184 } 189 185
Note: See TracChangeset
for help on using the changeset viewer.