Nuclide
Software Development Kit for id Tech
pmove.h File Reference

Go to the source code of this file.

Classes

class  NSPMoveVars
 This class networks pmove related variables to each client. More...
 

Enumerations

enum  waterlevel_t { WATERLEVEL_OUTSIDE , WATERLEVEL_KNEE , WATERLEVEL_CHEST , WATERLEVEL_SUBMERGED }
 

Functions

void PMove_Init (void)
 Called by Nuclide. More...
 
void PMoveCustom_RunPlayerPhysics (entity)
 
void PMoveCustom_RunCrouchPhysics (entity)
 

Variables

float waterlevel
 
float watertype
 
float maxspeed
 
vector view_ofs
 
int trace_endcontentsi
 
vector basevelocity
 
entity groundentity
 
NSPMoveVars g_pmoveVars
 The global, shared object containing all currently valid pmove parameters. More...
 

Enumeration Type Documentation

◆ waterlevel_t

Enumerator
WATERLEVEL_OUTSIDE 
WATERLEVEL_KNEE 
WATERLEVEL_CHEST 
WATERLEVEL_SUBMERGED 

Function Documentation

◆ PMove_Init()

void PMove_Init ( void  )

Called by Nuclide.

Sets up g_pmoveVars.

◆ PMoveCustom_RunCrouchPhysics()

void PMoveCustom_RunCrouchPhysics ( entity  target)

◆ PMoveCustom_RunPlayerPhysics()

void PMoveCustom_RunPlayerPhysics ( entity  target)

Variable Documentation

◆ basevelocity

vector basevelocity

◆ g_pmoveVars

NSPMoveVars g_pmoveVars

The global, shared object containing all currently valid pmove parameters.

◆ groundentity

entity groundentity

◆ maxspeed

float maxspeed

◆ trace_endcontentsi

int trace_endcontentsi

◆ view_ofs

vector view_ofs

◆ waterlevel

float waterlevel

◆ watertype

float watertype