Changeset 8020 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.h
- Timestamp:
- May 31, 2006, 12:32:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.h
r7810 r8020 45 45 inline void setRainLife(float life) { this->rainLife = life; } 46 46 inline void setRainWind(int force) { this->rainWindForce = force; } 47 inline void setRainOption(const std::string& option) { if (option == "moverain") this->rainMove = true; } 47 inline void setRainOption(const std::string& option) { if (option == "moverain") this->rainMove = true; 48 if (option == "activate") this->rainActivate = true; } 48 49 49 50 … … 60 61 int rainWindForce; 61 62 bool rainMove; 63 bool rainActivate; 62 64 63 65 OrxSound::SoundSource soundSource;
Note: See TracChangeset
for help on using the changeset viewer.