| Line |   | 
|---|
| 1 | /** | 
|---|
| 2 | * @file volfog_effect.h | 
|---|
| 3 | */ | 
|---|
| 4 |  | 
|---|
| 5 | #ifndef _VOLFOG_EFFECT | 
|---|
| 6 | #define _VOLFOG_EFFECT | 
|---|
| 7 |  | 
|---|
| 8 | #include "vector.h" | 
|---|
| 9 |  | 
|---|
| 10 | #include "weather_effect.h" | 
|---|
| 11 | #include "glincl.h" | 
|---|
| 12 |  | 
|---|
| 13 | class VolFogEffect : public WeatherEffect | 
|---|
| 14 | { | 
|---|
| 15 |   ObjectListDeclaration(VolFogEffect); | 
|---|
| 16 | public: | 
|---|
| 17 |   VolFogEffect(const TiXmlElement* root = NULL); | 
|---|
| 18 |   virtual ~VolFogEffect(); | 
|---|
| 19 |  | 
|---|
| 20 |   virtual void loadParams(const TiXmlElement* root); | 
|---|
| 21 |  | 
|---|
| 22 |   virtual void init(); | 
|---|
| 23 |  | 
|---|
| 24 |   virtual void activate(); | 
|---|
| 25 |   virtual void deactivate(); | 
|---|
| 26 |  | 
|---|
| 27 |   virtual void draw() const; | 
|---|
| 28 |   virtual void tick(float dt); | 
|---|
| 29 |  | 
|---|
| 30 | private: | 
|---|
| 31 |   GLfloat fogColor[4]; | 
|---|
| 32 |  | 
|---|
| 33 | }; | 
|---|
| 34 |  | 
|---|
| 35 | #endif  /* _VOLFOG_EFFECT */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.