|
void | ncBreakableBrush (void) |
|
virtual void | Spawned (void) |
| Called when the entity is fulled initialized.
|
|
virtual void | Respawn (void) |
| Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
|
|
virtual void | OnRemoveEntity (void) |
| Handles what happens before the entity gets removed from the client game.
|
|
virtual void | Pain (entity inflictor, entity attacker, int damage, vector dir, vector absImpactPos, int hitBody) |
| Called whenever the entity receives damage.
|
|
nonvirtual void | ResetFaceTextureCoordinates (brushface_t *fa) |
|
nonvirtual void | SubtractFacesFromBrush (int br) |
|
nonvirtual void | CarveRadiusIntoBrush (vector atPoint, float radiusValue) |
|
◆ ncBreakableBrush()
void ncBreakableBrush::ncBreakableBrush |
( |
void | | ) |
|
◆ CarveRadiusIntoBrush()
void ncBreakableBrush::CarveRadiusIntoBrush |
( |
vector | atPoint, |
|
|
float | radiusValue ) |
◆ OnRemoveEntity()
void ncBreakableBrush::OnRemoveEntity |
( |
void | | ) |
|
|
virtual |
Handles what happens before the entity gets removed from the client game.
Reimplemented from ncRenderableEntity.
◆ Pain()
void ncBreakableBrush::Pain |
( |
entity | inflictor, |
|
|
entity | attacker, |
|
|
int | damage, |
|
|
vector | dir, |
|
|
vector | absImpactPos, |
|
|
int | hitBody ) |
|
virtual |
◆ ResetFaceTextureCoordinates()
void ncBreakableBrush::ResetFaceTextureCoordinates |
( |
brushface_t * | fa | ) |
|
◆ Respawn()
void ncBreakableBrush::Respawn |
( |
void | | ) |
|
|
virtual |
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from ncSurfacePropEntity.
◆ Spawned()
void ncBreakableBrush::Spawned |
( |
void | | ) |
|
|
virtual |
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 ncSurfacePropEntity.
◆ SubtractFacesFromBrush()
void ncBreakableBrush::SubtractFacesFromBrush |
( |
int | br | ) |
|
The documentation for this class was generated from the following file:
- src/shared/environment/BreakableBrush.qc