Planeshift
|
Rain, also handles a fog object. More...
#include <weather.h>
Public Member Functions | |
csBox3 | CreateDefaultBBox () |
bool | CreateMesh () |
void | Destroy () |
Destory this weather object and remove any required meshes. | |
WeatherConditions | GetType () |
WeatherSound | GetWeatherSound () |
WeatherSound | GetWeatherSoundForced () |
void | MoveTo (WeatherInfo *newParent, iSector *sector) |
RainWeatherObject (WeatherInfo *parent) | |
void | SetDrops (int drops) |
void | SetupMesh (csBox3 bbox) |
virtual void | Update (csTicks delta) |
virtual | ~RainWeatherObject () |
Static Public Member Functions | |
static float | GetDensity (int drops) |
RainWeatherObject::RainWeatherObject | ( | WeatherInfo * | parent | ) |
virtual RainWeatherObject::~RainWeatherObject | ( | ) | [virtual] |
csBox3 RainWeatherObject::CreateDefaultBBox | ( | ) | [virtual] |
Implements WeatherObject.
bool RainWeatherObject::CreateMesh | ( | ) | [virtual] |
Implements WeatherObject.
void RainWeatherObject::Destroy | ( | ) | [virtual] |
Destory this weather object and remove any required meshes.
Reimplemented from WeatherObject.
WeatherConditions RainWeatherObject::GetType | ( | ) | [inline, virtual] |
Reimplemented from WeatherObject.
WeatherSound RainWeatherObject::GetWeatherSound | ( | ) | [virtual] |
Reimplemented from WeatherObject.
WeatherSound RainWeatherObject::GetWeatherSoundForced | ( | ) | [virtual] |
Reimplemented from WeatherObject.
void RainWeatherObject::MoveTo | ( | WeatherInfo * | newParent, |
iSector * | sector | ||
) | [virtual] |
Reimplemented from WeatherObject.
void RainWeatherObject::SetDrops | ( | int | drops | ) |
void RainWeatherObject::SetupMesh | ( | csBox3 | bbox | ) | [virtual] |
Implements WeatherObject.
virtual void RainWeatherObject::Update | ( | csTicks | delta | ) | [virtual] |
Reimplemented from WeatherObject.