Xonotic
|
Go to the source code of this file.
Functions | |
vector | CSQCModel_ApplyStairSmoothing (entity this, bool isonground, vector v) |
float | CSQCPlayer_IsLocalPlayer (entity this) |
float | CSQCPlayer_PostUpdate (entity this) |
float | CSQCPlayer_PreUpdate (entity this) |
void | CSQCPlayer_SetCamera () |
Called once per CSQC_UpdateView() More... | |
Variables | |
bool | autocvar_cl_movement = true |
entity | csqcplayer |
float | csqcplayer_status |
const int | CSQCPLAYERSTATUS_FROMSERVER = 1 |
const int | CSQCPLAYERSTATUS_PREDICTED = 2 |
const int | CSQCPLAYERSTATUS_UNPREDICTED = 0 |
const int | PMF_JUMP_HELD = 1 |
int | pmove_flags |
Definition at line 245 of file cl_player.qc.
References autocvar_cl_stairsmoothspeed, bound(), csqcmodel_teleported, drawtime, max(), PHYS_STEPHEIGHT, stairsmooth_drawtime, stairsmooth_offset, stairsmooth_prevtime, time, and v.
Referenced by CSQCModel_Hook_PreDraw(), and CSQCPlayer_SetCamera().
Definition at line 207 of file cl_player.qc.
References csqcplayer.
Referenced by CSQCModel_Draw().
Definition at line 674 of file cl_player.qc.
References csqcplayer, CSQCPlayer_Remove(), csqcplayer_status, CSQCPLAYERSTATUS_FROMSERVER, cvar(), cvar_settemp(), entnum, and player_localnum.
Referenced by NET_HANDLE().
Definition at line 667 of file cl_player.qc.
References csqcplayer, csqcplayer_status, CSQCPlayer_Unpredict(), and CSQCPLAYERSTATUS_FROMSERVER.
Referenced by NET_HANDLE().
void CSQCPlayer_SetCamera | ( | ) |
Called once per CSQC_UpdateView()
Definition at line 554 of file cl_player.qc.
References autocvar_cl_movement_intermissionrunning, autocvar_cl_useenginerefdef, BIT, BITSET, clientcommandframe, CSQCModel_ApplyStairSmoothing(), CSQCModel_server2csqc(), csqcplayer, CSQCPlayer_CalcRefdef(), CSQCPLAYER_HOOK_POSTCAMERASETUP, CSQCPlayer_PredictTo(), CSQCPlayer_SavePrediction(), CSQCPlayer_SetMinsMaxs(), CSQCPlayer_SetPredictionError(), csqcplayer_status, CSQCPLAYERSTATUS_FROMSERVER, CSQCPLAYERSTATUS_PREDICTED, drawtime, entity(), FL_ONGROUND, IFLAG_ANGLES, IFLAG_ORIGIN, input_angles, input_buttons, intermission, InterpolateOrigin_Do(), IS_DEAD, IS_ONGROUND, NULL, PHYS_HEALTH, PHYS_PL_CROUCH_VIEWOFS, PHYS_PL_VIEWOFS, PHYS_VIEWHEIGHT, player_localentnum, PMF_ONGROUND, pmove_onground, pmove_vel, REFDEFFLAG_DEAD, REFDEFFLAG_INTERMISSION, REFDEFFLAG_JUMPING, REFDEFFLAG_TELEPORTED, servercommandframe, setorigin(), and vector().
Referenced by CSQC_UpdateView().
Definition at line 24 of file cl_player.qh.
Referenced by CSQCPlayer_Physics().
entity csqcplayer |
Definition at line 26 of file cl_player.qh.
Referenced by CSQC_UpdateView(), CSQCModel_Effects_PostUpdate(), CSQCModel_Hook_PreDraw(), CSQCPlayer_IsLocalPlayer(), CSQCPlayer_PostUpdate(), CSQCPlayer_PreUpdate(), CSQCPlayer_Remove(), CSQCPlayer_SetCamera(), GetCurrentFov(), HUD_Crosshair(), HUD_Crosshair_ApplyPlayerAlpha(), HUD_Physics(), HUD_StrafeHUD(), skeleton_from_frames(), TeleportPlayer(), View_EventChase(), View_UpdateFov(), and W_Model().
float csqcplayer_status |
Definition at line 27 of file cl_player.qh.
Referenced by CSQCPlayer_PostUpdate(), CSQCPlayer_PredictTo(), CSQCPlayer_PreUpdate(), CSQCPlayer_SavePrediction(), CSQCPlayer_SetCamera(), and CSQCPlayer_Unpredict().
const int CSQCPLAYERSTATUS_FROMSERVER = 1 |
Definition at line 29 of file cl_player.qh.
Referenced by CSQCPlayer_PostUpdate(), CSQCPlayer_PreUpdate(), and CSQCPlayer_SetCamera().
const int CSQCPLAYERSTATUS_PREDICTED = 2 |
Definition at line 30 of file cl_player.qh.
Referenced by CSQCPlayer_PredictTo(), CSQCPlayer_SavePrediction(), CSQCPlayer_SetCamera(), and CSQCPlayer_Unpredict().
const int CSQCPLAYERSTATUS_UNPREDICTED = 0 |
Definition at line 28 of file cl_player.qh.
Referenced by CSQCPlayer_Unpredict().
const int PMF_JUMP_HELD = 1 |
Definition at line 34 of file cl_player.qh.
Referenced by CSQCPlayer_Physics().
int pmove_flags |
Definition at line 33 of file cl_player.qh.
Referenced by CSQCPlayer_ApplySmoothing(), and CSQCPlayer_Physics().