Changeset 8180 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.h
- Timestamp:
- Jun 7, 2006, 8:03:04 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.h
r8119 r8180 39 39 inline void activateRain() { this->activate(); } 40 40 inline void deactivateRain() { this->deactivate(); } 41 void startRaining(); 41 42 42 43 inline void setRainCoord(float x, float y, float z) { this->rainCoord = Vector(x, y, z); } … … 46 47 inline void setRainLife(float life) { this->rainLife = life; } 47 48 inline void setRainWind(int force) { this->rainWindForce = force; } 49 inline void setRainStart(float duration) { this->rainStartDuration = duration; } 50 48 51 inline void setRainOption(const std::string& option) { 49 52 if (option == "moverain") this->rainMove = true; … … 51 54 } 52 55 53 void startRaining(float duration);54 56 55 57 private: 56 58 static SparkParticles* rainParticles; 57 59 ParticleEmitter* emitter; 60 61 float localTimer; 58 62 59 63 Vector rainCoord; … … 64 68 GLfloat rainMaxParticles; 65 69 int rainWindForce; 70 GLfloat rainStartDuration; 66 71 bool rainMove; 67 72 bool rainActivate; … … 71 76 OrxSound::SoundBuffer* windBuffer; 72 77 78 float soundRainVolume; 79 73 80 LightManager* lightMan; 74 81 };
Note: See TracChangeset
for help on using the changeset viewer.