Xonotic
cl_physics.qc File Reference
#include "physics.qh"
+ Include dependency graph for cl_physics.qc:

Go to the source code of this file.

Functions

void sys_phys_ai (entity this)
 
void sys_phys_fix (entity this, float dt)
 
void sys_phys_fixspeed (entity this, float maxspeed_mod)
 
void sys_phys_monitor (entity this, float dt)
 
bool sys_phys_override (entity this, float dt)
 
void sys_phys_pregame_hold (entity this)
 
void sys_phys_spectator_control (entity this)
 

Function Documentation

◆ sys_phys_ai()

void sys_phys_ai ( entity  this)

Definition at line 21 of file cl_physics.qc.

Referenced by sys_phys_update().

21 {}
+ Here is the caller graph for this function:

◆ sys_phys_fix()

void sys_phys_fix ( entity  this,
float  dt 
)

Definition at line 3 of file cl_physics.qc.

Referenced by sys_phys_update().

4 {
5  this.team = myteam + 1; // is this correct?
6  this.movement = PHYS_INPUT_MOVEVALUES(this);
7  this.items = STAT(ITEMS, this);
8  if (!(PHYS_INPUT_BUTTON_JUMP(this))) // !jump
9  UNSET_JUMP_HELD(this); // canjump = true
11 }
#define PHYS_INPUT_BUTTON_JUMP(s)
Definition: player.qh:147
int team
Definition: main.qh:157
void PM_ClientMovement_UpdateStatus(entity this)
Definition: player.qc:122
#define UNSET_JUMP_HELD(s)
Definition: player.qh:201
vector movement
float items
Definition: progsdefs.qc:145
+ Here is the caller graph for this function:

◆ sys_phys_fixspeed()

void sys_phys_fixspeed ( entity  this,
float  maxspeed_mod 
)

Definition at line 27 of file cl_physics.qc.

Referenced by sys_phys_update().

27 {}
+ Here is the caller graph for this function:

◆ sys_phys_monitor()

void sys_phys_monitor ( entity  this,
float  dt 
)

Definition at line 19 of file cl_physics.qc.

Referenced by sys_phys_update().

19 {}
+ Here is the caller graph for this function:

◆ sys_phys_override()

bool sys_phys_override ( entity  this,
float  dt 
)

Definition at line 13 of file cl_physics.qc.

Referenced by sys_phys_update().

14 {
15  // no vehicle prediction
16  return hud != HUD_NORMAL;
17 }
int hud
Definition: main.qh:142
+ Here is the caller graph for this function:

◆ sys_phys_pregame_hold()

void sys_phys_pregame_hold ( entity  this)

Definition at line 23 of file cl_physics.qc.

Referenced by sys_phys_update().

23 {}
+ Here is the caller graph for this function:

◆ sys_phys_spectator_control()

void sys_phys_spectator_control ( entity  this)

Definition at line 25 of file cl_physics.qc.

Referenced by sys_phys_update().

25 {}
+ Here is the caller graph for this function: