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)
void _Movetype_Physics_Walk(entity this, float dt)
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)