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