| 
                Last change
                  on this file since 8485 was
                  8362,
                  checked in by bensch, 19 years ago
           | 
        
        
          | 
               
orxonox/trunk: removed stupid included in base_object.h 
this should lead to faster compile-times 
 
           | 
        
        | 
            File size:
            542 bytes
           | 
      
      
        
  | 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 |         public: | 
|---|
| 16 |                 VolFogEffect(const TiXmlElement* root = NULL); | 
|---|
| 17 |                 virtual ~VolFogEffect(); | 
|---|
| 18 |  | 
|---|
| 19 |                 virtual void loadParams(const TiXmlElement* root); | 
|---|
| 20 |  | 
|---|
| 21 |                 virtual bool init(); | 
|---|
| 22 |  | 
|---|
| 23 |                 virtual bool activate(); | 
|---|
| 24 |                 virtual bool deactivate(); | 
|---|
| 25 |  | 
|---|
| 26 |                 virtual void draw() const; | 
|---|
| 27 |                 virtual void tick(float dt); | 
|---|
| 28 |  | 
|---|
| 29 |         private: | 
|---|
| 30 |                 GLfloat fogColor[4]; | 
|---|
| 31 |  | 
|---|
| 32 | }; | 
|---|
| 33 |  | 
|---|
| 34 | #endif  /* _VOLFOG_EFFECT */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.