Nuclide
Software Development Kit for id Technology (BETA)
Player Movement

Physics routine for complex, moving characters. More...

Detailed Description

Physics routine for complex, moving characters.

Classes

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

Functions

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

Enumerations

enum  waterlevel_t { WATERLEVEL_OUTSIDE , WATERLEVEL_KNEE , WATERLEVEL_CHEST , WATERLEVEL_SUBMERGED }
 

Variables

ncPMoveVars g_pmoveVars
 The global, shared object containing all currently valid pmove parameters. More...
 
ncDict g_waterDecl
 
ncDict g_slimeDecl
 
ncDict g_lavaDecl
 
ncDict g_fallDamageDecl
 
ncDict g_waterDamageDecl
 
ncDict g_slimeDamageDecl
 
ncDict g_lavaDamageDecl
 

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)

Enumeration Type Documentation

◆ waterlevel_t

Enumerator
WATERLEVEL_OUTSIDE 
WATERLEVEL_KNEE 
WATERLEVEL_CHEST 
WATERLEVEL_SUBMERGED 

Variable Documentation

◆ g_fallDamageDecl

ncDict g_fallDamageDecl

◆ g_lavaDamageDecl

ncDict g_lavaDamageDecl

◆ g_lavaDecl

ncDict g_lavaDecl

◆ g_pmoveVars

ncPMoveVars g_pmoveVars

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

◆ g_slimeDamageDecl

ncDict g_slimeDamageDecl

◆ g_slimeDecl

ncDict g_slimeDecl

◆ g_waterDamageDecl

ncDict g_waterDamageDecl

◆ g_waterDecl

ncDict g_waterDecl