Last change
on this file since 7568 was
7568,
checked in by hdavid, 18 years ago
|
/branches/atmospheric_engine: extension available check with glew
|
File size:
545 bytes
|
Rev | Line | |
---|
[7504] | 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 | |
---|
| 12 | class VolFogEffect : public WeatherEffect |
---|
| 13 | { |
---|
| 14 | public: |
---|
| 15 | VolFogEffect(const TiXmlElement* root = NULL); |
---|
| 16 | virtual ~VolFogEffect(); |
---|
| 17 | |
---|
| 18 | virtual void loadParams(const TiXmlElement* root); |
---|
| 19 | |
---|
| 20 | virtual bool init(); |
---|
| 21 | |
---|
| 22 | virtual bool activate(); |
---|
| 23 | virtual bool deactivate(); |
---|
| 24 | |
---|
[7516] | 25 | virtual void draw() const; |
---|
| 26 | virtual void tick(float dt); |
---|
[7504] | 27 | |
---|
[7546] | 28 | private: |
---|
| 29 | GLfloat fogColor[4]; |
---|
| 30 | |
---|
[7504] | 31 | }; |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | #endif /* _VOLFOG_EFFECT */ |
---|
Note: See
TracBrowser
for help on using the repository browser.