Planeshift
|
Holds the weather object, need this because some things have been created but do not have an object persay. More...
#include <weather.h>
Public Member Functions | |
virtual csBox3 | CreateDefaultBBox ()=0 |
virtual bool | CreateMesh ()=0 |
virtual void | Destroy () |
Destory this weather object and remove any required meshes. | |
virtual WeatherInfo * | GetParent () |
virtual iSector * | GetSector () |
virtual WeatherConditions | GetType () |
virtual WeatherSound | GetWeatherSound () |
virtual WeatherSound | GetWeatherSoundForced () |
virtual void | MoveTo (WeatherInfo *new_parent, iSector *sector) |
virtual void | MoveTo (csVector3 pos) |
virtual void | SetColor (float, float, float) |
virtual void | SetParent (WeatherInfo *new_parent) |
virtual void | SetupMesh (csBox3 bbox)=0 |
virtual void | StartFollow () |
virtual void | StopFollow () |
virtual void | Update (csTicks) |
virtual bool | Valid () |
WeatherObject (WeatherInfo *parent) | |
virtual | ~WeatherObject () |
Protected Member Functions | |
void | RefreshSector () |
Protected Attributes | |
csBox3 | bbox |
csRef< iMaterialWrapper > | mat |
csRef< iMeshWrapper > | mesh |
csRef< iMeshFactoryWrapper > | mfw |
WeatherInfo * | parent |
Holds the weather object, need this because some things have been created but do not have an object persay.
WeatherObject::WeatherObject | ( | WeatherInfo * | parent | ) |
virtual WeatherObject::~WeatherObject | ( | ) | [virtual] |
virtual csBox3 WeatherObject::CreateDefaultBBox | ( | ) | [pure virtual] |
Implemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual bool WeatherObject::CreateMesh | ( | ) | [pure virtual] |
Implemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual void WeatherObject::Destroy | ( | ) | [virtual] |
Destory this weather object and remove any required meshes.
Reimplemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual WeatherInfo* WeatherObject::GetParent | ( | ) | [inline, virtual] |
virtual iSector* WeatherObject::GetSector | ( | ) | [virtual] |
Reimplemented in FogWeatherObject.
virtual WeatherConditions WeatherObject::GetType | ( | ) | [inline, virtual] |
Reimplemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual WeatherSound WeatherObject::GetWeatherSound | ( | ) | [inline, virtual] |
Reimplemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual WeatherSound WeatherObject::GetWeatherSoundForced | ( | ) | [inline, virtual] |
Reimplemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual void WeatherObject::MoveTo | ( | WeatherInfo * | new_parent, |
iSector * | sector | ||
) | [virtual] |
Reimplemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual void WeatherObject::MoveTo | ( | csVector3 | pos | ) | [virtual] |
Reimplemented in FogWeatherObject.
void WeatherObject::RefreshSector | ( | ) | [protected] |
Reimplemented in FogWeatherObject.
virtual void WeatherObject::SetParent | ( | WeatherInfo * | new_parent | ) | [inline, virtual] |
virtual void WeatherObject::SetupMesh | ( | csBox3 | bbox | ) | [pure virtual] |
Implemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual void WeatherObject::StartFollow | ( | ) | [virtual] |
Reimplemented in FogWeatherObject.
virtual void WeatherObject::StopFollow | ( | ) | [virtual] |
Reimplemented in FogWeatherObject.
virtual void WeatherObject::Update | ( | csTicks | ) | [inline, virtual] |
Reimplemented in RainWeatherObject, SnowWeatherObject, and FogWeatherObject.
virtual bool WeatherObject::Valid | ( | ) | [virtual] |
Reimplemented in FogWeatherObject.
csBox3 WeatherObject::bbox [protected] |
csRef<iMaterialWrapper> WeatherObject::mat [protected] |
csRef<iMeshWrapper> WeatherObject::mesh [protected] |
csRef<iMeshFactoryWrapper> WeatherObject::mfw [protected] |
WeatherInfo* WeatherObject::parent [protected] |