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. More... | |
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 |
|
pure virtual |
Implemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
pure virtual |
Implemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
virtual |
Destory this weather object and remove any required meshes.
Reimplemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
inlinevirtual |
|
virtual |
Reimplemented in FogWeatherObject.
|
inlinevirtual |
Reimplemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
inlinevirtual |
Reimplemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
inlinevirtual |
Reimplemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
virtual |
Reimplemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
virtual |
Reimplemented in FogWeatherObject.
|
protected |
Reimplemented in FogWeatherObject.
|
inlinevirtual |
|
pure virtual |
Implemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
virtual |
Reimplemented in FogWeatherObject.
|
virtual |
Reimplemented in FogWeatherObject.
|
inlinevirtual |
Reimplemented in FogWeatherObject, SnowWeatherObject, and RainWeatherObject.
|
virtual |
Reimplemented in FogWeatherObject.
|
protected |