Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2006, 12:32:34 PM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: activating/deactivating rainEffect in the oxw-file works,default: deactivate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.h

    r7810 r8020  
    4545                inline void setRainLife(float life) { this->rainLife = life; }
    4646                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; }
    4849
    4950
     
    6061                int                                                                                                                             rainWindForce;
    6162                bool                                                                                                                    rainMove;
     63    bool                              rainActivate;
    6264
    6365                OrxSound::SoundSource                   soundSource;
Note: See TracChangeset for help on using the changeset viewer.