Definition at line 3 of file walk.qc.
References _Movetype_CheckStuck(), _Movetype_CheckVelocity(), _Movetype_CheckWater(), _Movetype_FlyMove(), _Movetype_LinkEdict(), _Movetype_PushEntity(), _Movetype_WallFriction(), entity(), fabs(), FL_WATERJUMP, flags, GAMEPLAYFIX_DOWNTRACEONGROUND, GAMEPLAYFIX_STEPDOWN, GAMEPLAYFIX_STEPDOWN_MAXSPEED, GAMEPLAYFIX_STEPMULTIPLETIMES, GAMEPLAYFIX_UNSTICKPLAYERS, groundentity, IS_ONGROUND, IS_ONSLICK, maxs, mins, MOVE_MISSILE, move_movetype, MOVE_NOMONSTERS, MOVE_NORMAL, move_stepnormal, MOVE_WORLDONLY, MOVETYPE_FLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FLYMISSILE, MOVETYPE_WALK, origin, PHYS_JUMPSTEP, PHYS_NOSTEP, PHYS_STEPHEIGHT, PHYS_WALLCLIP, PHYS_WALLFRICTION, pm_time, SET_ONGROUND, solid, SOLID_NOT, SOLID_TRIGGER, trace_ent, UNSET_ONGROUND, vdist, vector(), velocity, and waterlevel.
Referenced by _Movetype_Physics_ClientFrame(), and _Movetype_Physics_Frame().
47 tracebox(upmove, this.
mins, this.
maxs, downmove, type,
this);
48 if (trace_fraction < 1 && trace_plane_normal.z > 0.7)
77 int originalflags = this.
flags;
84 if (
fabs(start_velocity.x) < 0.03125 &&
fabs(start_velocity.y) < 0.03125)
101 this.
origin = start_origin;
115 this.velocity_z += start_velocity.z;
129 &&
fabs(originalorigin.y -
this.origin.y) < 0.03125
130 &&
fabs(originalorigin.x -
this.origin.x) < 0.03125)
134 this.
origin = originalorigin;
137 this.
flags = originalflags;
158 vector downmove =
'0 0 0';
166 if (trace_fraction < 1 && trace_plane_normal.z > 0.7)
184 this.
origin = originalorigin;
186 this.
flags = originalflags;
#define GAMEPLAYFIX_DOWNTRACEONGROUND(s)
#define GAMEPLAYFIX_STEPMULTIPLETIMES(s)
bool _Movetype_CheckWater(entity this)
#define GAMEPLAYFIX_UNSTICKPLAYERS(s)
void _Movetype_CheckStuck(entity this)
#define UNSET_ONGROUND(s)
const float MOVE_NOMONSTERS
float MOVETYPE_FLY_WORLDONLY
void _Movetype_LinkEdict(entity this, bool touch_triggers)
int _Movetype_FlyMove(entity this, float dt, bool applygravity, bool applystepnormal, float stepheight)
#define GAMEPLAYFIX_STEPDOWN(s)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
float MOVETYPE_FLYMISSILE
#define vdist(v, cmp, f)
Vector distance comparison, avoids sqrt()
const float SOLID_TRIGGER
#define PHYS_WALLFRICTION(s)
bool _Movetype_PushEntity(entity this, vector push, bool failonstartsolid, bool dolink)
#define PHYS_STEPHEIGHT(s)
void _Movetype_CheckVelocity(entity this)
void _Movetype_WallFriction(entity this, vector stepnormal)
#define GAMEPLAYFIX_STEPDOWN_MAXSPEED(s)