Nuclide
Software Development Kit for id Technology
|
This class networks pmove related variables to each client.
Public Member Functions | |
void | NSPMoveVars (void) |
nonvirtual vector | GetStandingMins (void) |
Returns the standing player collision box mins. More... | |
nonvirtual vector | GetStandingMaxs (void) |
Returns the standing player collision box maxs. More... | |
nonvirtual vector | GetStandingViewOffset (void) |
Returns the standing player view offset. More... | |
nonvirtual vector | GetCrouchMins (void) |
Returns the crouching/ducked player collision box mins. More... | |
nonvirtual vector | GetCrouchMaxs (void) |
Returns the crouching/ducked player collision box maxs. More... | |
nonvirtual vector | GetCrouchViewOffset (void) |
Returns the crouching/ducked player view offset. More... | |
nonvirtual vector | GetProneMins (void) |
Returns the prone player collision box maxs. More... | |
nonvirtual vector | GetProneMaxs (void) |
Returns the prone player collision box maxs. More... | |
nonvirtual vector | GetProneViewOffset (void) |
Returns the prone player view offset. More... | |
virtual void | EvaluateEntity (void) |
Run each tic after physics are run to determine if we need to send updates over the network. More... | |
virtual bool | SendEntity (entity, float) |
Called by the engine whenever we need to send a client an update about this entity. More... | |
virtual void | ReceiveEntity (float, float) |
Client: Handles network updates from the server for the associated entity. More... | |
void NSPMoveVars::NSPMoveVars | ( | void | ) |
|
virtual |
Run each tic after physics are run to determine if we need to send updates over the network.
Reimplemented from NSEntity.
vector NSPMoveVars::GetCrouchMaxs | ( | void | ) |
Returns the crouching/ducked player collision box maxs.
vector NSPMoveVars::GetCrouchMins | ( | void | ) |
Returns the crouching/ducked player collision box mins.
vector NSPMoveVars::GetCrouchViewOffset | ( | void | ) |
Returns the crouching/ducked player view offset.
Calculated from pm_crouchviewheight and pm_boxcenter.
vector NSPMoveVars::GetProneMaxs | ( | void | ) |
Returns the prone player collision box maxs.
vector NSPMoveVars::GetProneMins | ( | void | ) |
Returns the prone player collision box maxs.
vector NSPMoveVars::GetProneViewOffset | ( | void | ) |
Returns the prone player view offset.
Calculated from pm_proneviewheight and pm_boxcenter.
vector NSPMoveVars::GetStandingMaxs | ( | void | ) |
Returns the standing player collision box maxs.
vector NSPMoveVars::GetStandingMins | ( | void | ) |
Returns the standing player collision box mins.
Calculated from pm_normalheight.
vector NSPMoveVars::GetStandingViewOffset | ( | void | ) |
Returns the standing player view offset.
Calculated from pm_normalviewheight and pm_boxcenter.
|
virtual |
Client: Handles network updates from the server for the associated entity.
Reimplemented from NSEntity.
|
virtual |
Called by the engine whenever we need to send a client an update about this entity.
Reimplemented from NSEntity.