source:
orxonox.OLD/trunk/src/world_entities/weather_effects/volfog_effect.h
| Last change on this file was 9869, checked in by bensch, 19 years ago | |
|---|---|
| File size: 579 bytes | |
| Rev | Line | |
|---|---|---|
| [7504] | 1 | /** |
| [7652] | 2 | * @file volfog_effect.h |
| 3 | */ | |
| [7504] | 4 | |
| 5 | #ifndef _VOLFOG_EFFECT | |
| 6 | #define _VOLFOG_EFFECT | |
| 7 | ||
| 8 | #include "vector.h" | |
| 9 | ||
| 10 | #include "weather_effect.h" | |
| [8362] | 11 | #include "glincl.h" |
| [7504] | 12 | |
| [9686] | 13 | class VolFogEffect : public WeatherEffect |
| 14 | { | |
| [9715] | 15 | ObjectListDeclaration(VolFogEffect); |
| [8495] | 16 | public: |
| [9686] | 17 | VolFogEffect(const TiXmlElement* root = NULL); |
| 18 | virtual ~VolFogEffect(); | |
| [7504] | 19 | |
| [9686] | 20 | virtual void loadParams(const TiXmlElement* root); |
| [7504] | 21 | |
| [9686] | 22 | virtual void init(); |
| [7504] | 23 | |
| [9686] | 24 | virtual void activate(); |
| 25 | virtual void deactivate(); | |
| [7504] | 26 | |
| [9686] | 27 | virtual void draw() const; |
| 28 | virtual void tick(float dt); | |
| [7504] | 29 | |
| [8495] | 30 | private: |
| [9686] | 31 | GLfloat fogColor[4]; |
| [7546] | 32 | |
| [7504] | 33 | }; |
| 34 | ||
| 35 | #endif /* _VOLFOG_EFFECT */ |
Note: See TracBrowser
for help on using the repository browser.










