Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2006, 1:01:38 PM (19 years ago)
Author:
hdavid
Message:

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

File:
1 edited

Legend:

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

    r7810 r8022  
    4949                inline void coord(float x, float y, float z) { this->snowCoord = Vector(x, y, z); }
    5050    inline void wind(int force) { this->snowWindForce = force; }
     51    inline void setSnowOption(const std::string& option) { /*if (option == "fade") this->snowFade = true;*/
     52                                                                                  if (option == "movesnow") this->snowMove = true;
     53                                                                                  if (option == "activate") this->snowActivate = true; }
    5154
    5255
     
    6568                int                                                                                                                                     snowWindForce;
    6669
    67                 bool                                                                                                                            activated;
    68 
     70                //bool                                                                                                                          activated;
     71    bool                              snowMove;
     72    bool                              snowActivate;
     73   
    6974                PlaneEmitter*                                                                                           emitter;
    7075
Note: See TracChangeset for help on using the changeset viewer.