Xonotic
|
#include "movetypes.qh"
Go to the source code of this file.
Macros | |
#define | X(v) if (_Movetype_TestEntityPosition(v)) |
#define | X(s) |
#define X | ( | v | ) | if (_Movetype_TestEntityPosition(v)) |
Referenced by _Movetype_UnstickEntity(), and Movetype_Physics_MatchTicrate().
#define X | ( | s | ) |
Definition at line 649 of file movetypes.qc.
References _Movetype_LinkEdict(), _Movetype_TestEntityPosition(), _Movetype_UnstickEntity(), oldorigin, origin, UNSTICK_FINE, UNSTICK_FIXED, UNSTICK_STUCK, and vector().
Referenced by _Movetype_Physics_ClientFrame(), and _Movetype_Physics_Walk().
Definition at line 339 of file movetypes.qc.
Referenced by _Movetype_Physics_Step(), _Movetype_Physics_Toss(), and _Movetype_Physics_Walk().
Definition at line 345 of file movetypes.qc.
References CONTENT_EMPTY, DPCONTENTS_LIQUIDSMASK, maxs, mins, origin, vector(), view_ofs, waterlevel, WATERLEVEL_NONE, WATERLEVEL_SUBMERGED, WATERLEVEL_SWIMMING, WATERLEVEL_WETFEET, and watertype.
Referenced by _Movetype_Physics_ClientFrame(), _Movetype_Physics_Frame(), _Movetype_Physics_Walk(), and PM_ClientMovement_UpdateStatus().
Definition at line 379 of file movetypes.qc.
References CONTENT_EMPTY, CONTENT_WATER, and GAMEPLAYFIX_WATERTRANSITION.
Referenced by _Movetype_Physics_Step(), and _Movetype_Physics_Toss().
Definition at line 668 of file movetypes.qc.
Referenced by _Movetype_FlyMove(), and _Movetype_Physics_Toss().
Definition at line 559 of file movetypes.qc.
References DPCONTENTS_BODY, DPCONTENTS_CORPSE, DPCONTENTS_MONSTERCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, dphitcontentsmask, FL_MONSTER, flags, solid, SOLID_CORPSE, SOLID_SLIDEBOX, and SOLID_TRIGGER.
Referenced by _Movetype_TestEntityPosition().
int _Movetype_FlyMove | ( | entity | this, |
float | dt, | ||
bool | applygravity, | ||
bool | applystepnormal, | ||
float | stepheight | ||
) |
Definition at line 124 of file movetypes.qc.
References _Movetype_ClipVelocity(), _Movetype_PushEntity(), cross, dir, fabs(), FL_WATERJUMP, flags, GAMEPLAYFIX_EASIERWATERJUMP, gravity, groundentity, IS_ONGROUND, MAX_CLIP_PLANES, move_didgravity, move_stepnormal, NULL, origin, PHYS_WALLCLIP, pm_time, SET_ONGROUND, sqrt(), trace_allsolid, trace_endpos, trace_ent, trace_fraction, trace_plane_normal, trace_startsolid, vec3, vector(), and velocity.
Referenced by _Movetype_Physics_Step(), and _Movetype_Physics_Walk().
Definition at line 412 of file movetypes.qc.
References entity(), solid, SOLID_NOT, trace_allsolid, trace_dphitcontents, trace_dphitq3surfaceflags, trace_dphittexturename, trace_dpstartcontents, trace_endpos, trace_ent, trace_fraction, trace_inopen, trace_inwater, trace_plane_dist, trace_plane_normal, trace_startsolid, and vector().
Referenced by _Movetype_PushEntity().
Definition at line 512 of file movetypes.qc.
References _Movetype_LinkEdict_TouchAreaGrid(), absmax, absmin, FL_ITEM, flags, maxs, mins, origin, setorigin(), solid, SOLID_BSP, and vector().
Referenced by _Movetype_CheckStuck(), _Movetype_Physics_ClientFrame(), _Movetype_Physics_Follow(), _Movetype_Physics_Frame(), _Movetype_Physics_Step(), _Movetype_Physics_Walk(), _Movetype_PushEntity(), _Movetype_PushMove(), and _Movetype_UnstickEntity().
Definition at line 453 of file movetypes.qc.
References absmax, absmin, boxesoverlap(), entity(), if(), MOVE_NOMONSTERS, MOVE_WORLDONLY, solid, SOLID_NOT, SOLID_TRIGGER, trace_allsolid, trace_dphitcontents, trace_dphitq3surfaceflags, trace_dphittexturename, trace_dpstartcontents, trace_endpos, trace_ent, trace_fraction, trace_inopen, trace_inwater, trace_plane_dist, trace_plane_normal, trace_startsolid, vector(), and vlen().
Referenced by _Movetype_LinkEdict().
Definition at line 23 of file movetypes.qc.
References dir, MOVE_NOMONSTERS, origin, SOLID_BSP, trace_endpos, trace_ent, trace_fraction, trace_plane_normal, trace_startsolid, and vector().
Referenced by _Movetype_PushMove().
Definition at line 763 of file movetypes.qc.
References _Movetype_CheckStuck(), _Movetype_CheckWater(), _Movetype_LinkEdict(), _Movetype_Physics_Follow(), _Movetype_Physics_Step(), _Movetype_Physics_Toss(), _Movetype_Physics_Walk(), angles, avelocity, GAMEPLAYFIX_UNSTICKPLAYERS, LOG_DEBUG, move_didgravity, move_movetype, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FAKEPUSH, MOVETYPE_FLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FLYMISSILE, MOVETYPE_FOLLOW, MOVETYPE_NOCLIP, MOVETYPE_NONE, MOVETYPE_PHYSICS, MOVETYPE_PUSH, MOVETYPE_STEP, MOVETYPE_TOSS, MOVETYPE_WALK, origin, and velocity.
Referenced by Movetype_Physics_NoMatchTicrate().
Definition at line 724 of file movetypes.qc.
References _Movetype_CheckWater(), _Movetype_LinkEdict(), _Movetype_Physics_Follow(), _Movetype_Physics_Push(), _Movetype_Physics_Step(), _Movetype_Physics_Toss(), _Movetype_Physics_Walk(), angles, avelocity, move_didgravity, move_movetype, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FAKEPUSH, MOVETYPE_FLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FLYMISSILE, MOVETYPE_FOLLOW, MOVETYPE_NOCLIP, MOVETYPE_NONE, MOVETYPE_PHYSICS, MOVETYPE_PUSH, MOVETYPE_STEP, MOVETYPE_TOSS, MOVETYPE_WALK, origin, and velocity.
Referenced by Movetype_Physics_MatchTicrate(), Movetype_Physics_NoMatchServer(), and Movetype_Physics_NoMatchTicrate().
Definition at line 697 of file movetypes.qc.
References _Movetype_Impact(), _Movetype_LinkEdict(), _Movetype_PushEntityTrace(), groundentity, IS_ONGROUND, move_nomonsters, MOVE_WORLDONLY, origin, solid, SOLID_TRIGGER, trace_endpos, trace_ent, trace_fraction, trace_startsolid, and vector().
Referenced by _Movetype_FlyMove(), _Movetype_Physics_Toss(), _Movetype_Physics_Walk(), and _Movetype_PushMove().
Definition at line 679 of file movetypes.qc.
References max(), maxs, mins, MOVE_MISSILE, move_movetype, move_nomonsters, MOVE_NOMONSTERS, MOVE_NORMAL, MOVE_WORLDONLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FLYMISSILE, origin, solid, SOLID_NOT, SOLID_TRIGGER, and vector().
Referenced by _Movetype_PushEntity(), and Movetype_Physics_MatchTicrate().
Definition at line 584 of file movetypes.qc.
References _Movetype_ContentsMask(), _Movetype_TestEntityPosition_ent, entity(), maxs, mins, move_movetype, MOVE_NOMONSTERS, MOVE_WORLDONLY, MOVETYPE_FLY_WORLDONLY, origin, trace_dpstartcontents, trace_endpos, trace_startsolid, vector(), and vlen2.
Referenced by _Movetype_CheckStuck(), _Movetype_TestEntityPosition_Offset(), and _Movetype_UnstickEntity().
Definition at line 605 of file movetypes.qc.
References _Movetype_TestEntityPosition().
Referenced by _Movetype_UnstickEntity().
Definition at line 622 of file movetypes.qc.
References _Movetype_LinkEdict(), _Movetype_TestEntityPosition(), _Movetype_TestEntityPosition_Offset(), classname, etof(), LOG_DEBUGF, maxs, origin, rint(), UNSTICK_FINE, UNSTICK_FIXED, UNSTICK_STUCK, vtos(), and X.
Referenced by _Movetype_CheckStuck(), and _Movetype_Physics_Toss().
Definition at line 106 of file movetypes.qc.
Referenced by _Movetype_Physics_Walk().
Definition at line 851 of file movetypes.qc.
References Movetype_Physics_MatchTicrate().
Referenced by ItemDraw(), Projectile_Draw(), and train_next().
Definition at line 869 of file movetypes.qc.
References _Movetype_Physics_Frame(), _Movetype_PushEntityTrace(), angles, avelocity, bound(), FL_ONGROUND, flags, floor(), gravity, move_didgravity, move_movetype, move_time, MOVETYPE_BOUNCE, MOVETYPE_NOCLIP, MOVETYPE_NONE, Movetype_Physics_NoMatchServer(), MOVETYPE_TOSS, origin, setorigin(), tic_angles, tic_avelocity, tic_flags, tic_origin, tic_saved_angles, tic_saved_avelocity, tic_saved_flags, tic_saved_origin, tic_saved_velocity, tic_velocity, time, trace_endpos, trace_startsolid, velocity, and X.
Referenced by Movetype_Physics_MatchServer(), and turret_gib_draw().
Definition at line 839 of file movetypes.qc.
References _Movetype_Physics_Frame(), move_time, origin, setorigin(), and time.
Referenced by Movetype_Physics_MatchTicrate(), and Projectile_Draw().
Definition at line 813 of file movetypes.qc.
References _Movetype_Physics_ClientFrame(), _Movetype_Physics_Frame(), GAMEPLAYFIX_DELAYPROJECTILES, move_time, origin, setorigin(), and time.
Referenced by CSQCPlayer_Physics(), Physics_Frame(), and Player_Physics().
entity _Movetype_TestEntityPosition_ent |
Definition at line 583 of file movetypes.qc.
Referenced by _Movetype_TestEntityPosition().
Definition at line 511 of file movetypes.qc.
vector planes[MAX_CLIP_PLANES] |
Definition at line 123 of file movetypes.qc.
vector tic_angles |
Definition at line 861 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
vector tic_avelocity |
Definition at line 860 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
int tic_flags |
Definition at line 859 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
vector tic_origin |
Definition at line 857 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
vector tic_saved_angles |
Definition at line 868 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
vector tic_saved_avelocity |
Definition at line 867 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
int tic_saved_flags |
Definition at line 866 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
vector tic_saved_origin |
Definition at line 864 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
vector tic_saved_velocity |
Definition at line 865 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
vector tic_velocity |
Definition at line 858 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().