Nuclide
Software Development Kit for id Tech
|
Client-Entity: Sun Flare Controller. More...
Public Member Functions | |
void | env_sun (void) |
virtual void | Spawned (void) |
Called when the entity is fulled initialized. More... | |
virtual void | postdraw (void) |
Client: Run after the rendering of 3D world is complete. More... | |
virtual float | predraw (void) |
virtual void | SpawnKey (string, string) |
This method handles entity key/value pairs on map load. More... | |
virtual void | RendererRestarted (void) |
Client: Called when video resources need to be allocated or reloaded for the entity. More... | |
virtual bool | CanSpawn (bool) |
Returns if this entity can spawned from the map file. More... | |
Client-Entity: Sun Flare Controller.
QUAKED env_sun (1 .5 0) (-8 -8 -8) (8 8 8)
Visual representation of where the sun is positioned in the sky.
This entity was introduced in Half-Life 2 (2004).
|
virtual |
Returns if this entity can spawned from the map file.
clientSide | If it's being spawned on the client-side. |
Reimplemented from NSEntity.
Client: Run after the rendering of 3D world is complete.
2D calls can happen here.
Reimplemented from NSEntity.
Client: Called when video resources need to be allocated or reloaded for the entity.
Reimplemented from NSEntity.
Called when the entity is fulled initialized.
Any spawn key/value info pairs have already been dealt with. So now we can make full decisions on the entity. Always make sure to call super::Spawned();
inside your method when overriding.
Reimplemented from NSEntity.