source:
orxonox.OLD/trunk/src/lib/graphics/effects/volfog_effect.h
@
8454
Last change on this file since 8454 was 8362, checked in by bensch, 18 years ago | |
---|---|
File size: 542 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 | |
13 | class VolFogEffect : public WeatherEffect | |
14 | { | |
[7652] | 15 | public: |
16 | VolFogEffect(const TiXmlElement* root = NULL); | |
17 | virtual ~VolFogEffect(); | |
[7504] | 18 | |
[7652] | 19 | virtual void loadParams(const TiXmlElement* root); |
[7504] | 20 | |
[7652] | 21 | virtual bool init(); |
[7504] | 22 | |
[7652] | 23 | virtual bool activate(); |
24 | virtual bool deactivate(); | |
[7504] | 25 | |
[7652] | 26 | virtual void draw() const; |
27 | virtual void tick(float dt); | |
[7504] | 28 | |
[7652] | 29 | private: |
30 | GLfloat fogColor[4]; | |
[7546] | 31 | |
[7504] | 32 | }; |
33 | ||
34 | #endif /* _VOLFOG_EFFECT */ |
Note: See TracBrowser
for help on using the repository browser.