Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2006, 3:04:43 PM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: lightening effect

File:
1 edited

Legend:

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

    r8050 r8071  
    3131
    3232                virtual void tick(float dt);
     33   
     34    void coord(float x, float y, float z);
     35   
     36    inline void setLighteningOption(const std::string& option) { if (option == "activate") this->lighteningActivate = true;
     37                                                                                  /*if (option == "activate") this->snowActivate = true; */}
    3338
     39    void activateLightening() { this->activate(); }
     40    void deactivateLightening() { this->deactivate(); }
     41   
    3442        private:
    3543    Billboard* billboard;
     44    bool lighteningActivate;
    3645
    3746    float flashFrequency;                   //!< frequency to activate itself
     
    5261    float seedZ;
    5362    float seedTime;
     63   
     64    float mainPosX;
     65    float mainPosY;
     66    float mainPosZ;
    5467
    5568    //OrxSound::SoundSource    soundSource;
Note: See TracChangeset for help on using the changeset viewer.