Xonotic
|
Go to the source code of this file.
Functions | |
void | sys_phys_postupdate (entity this) |
void | sys_phys_simulate (entity this, float dt) |
for players More... | |
void | sys_phys_simulate_simple (entity this, float dt) |
for other entities More... | |
void | sys_phys_update (entity this, float dt) |
void | sys_phys_update_single (entity this) |
Variables | |
int | disableclientprediction |
entity | groundentity |
Definition at line 163 of file physics.qc.
References classname, conveyor, flags, IS_ONGROUND, lastclassname, lastflags, lastground, time, and velocity.
Referenced by sys_phys_update().
for players
Definition at line 174 of file physics.qc.
References com_in_jump, com_phys_acc_rate, com_phys_acc_rate_air, com_phys_acc_rate_air_stop, com_phys_acc_rate_air_strafe, com_phys_air, com_phys_friction, com_phys_friction_air, com_phys_gravity, com_phys_ground, com_phys_ladder, com_phys_vel_2d, com_phys_vel_max, com_phys_vel_max_air, com_phys_vel_max_air_strafe, com_phys_water, CONTENT_EMPTY, CPM_PM_Aircontrol(), eZ, f2, fabs(), FL_WATERJUMP, flags, GeomLerp(), IS_DUCKED, IS_ONSLICK, IsMoveInDirection(), ladder_entity, max(), min(), MOVE_NOMONSTERS, movement, normalize(), origin, PHYS_ACCELERATE, PHYS_AIRACCEL_QW, PHYS_AIRACCEL_QW_STRETCHFACTOR, PHYS_AIRACCEL_SIDEWAYS_FRICTION, PHYS_AIRCONTROL, PHYS_AIRSPEEDLIMIT_NONQW, PHYS_AIRSTOPACCELERATE, PHYS_AIRSTRAFEACCEL_QW, PHYS_AIRSTRAFEACCELERATE, PHYS_FRICTION, PHYS_FRICTION_SLICK, PHYS_FROZEN, PHYS_INPUT_BUTTON_CROUCH, PHYS_MAXAIRSTRAFESPEED, PHYS_MAXSPEED, PHYS_STOPSPEED, PHYS_WARSOWBUNNY_TURNACCEL, PM_Accelerate(), PM_AirAccelerate(), SET_JUMP_HELD, sqrt(), trace_startsolid, UNSET_ONGROUND, v_angle, vec2, vector(), velocity, viewloc, vlen(), vlen2, vmul, waterlevel, WATERLEVEL_NONE, WATERLEVEL_SUBMERGED, WATERLEVEL_SWIMMING, WATERLEVEL_WETFEET, and watertype.
Referenced by sys_phys_update().
for other entities
Definition at line 423 of file physics.qc.
References absmax, absmin, angles, avelocity, boxesoverlap(), ClipVelocity, com_phys_gravity_factor, com_phys_pos, com_phys_vel, entity(), groundentity, if(), IS_ONGROUND, maxs, min(), mins, MOVE_NORMAL, NULL, setorigin(), solid, SOLID_NOT, SOLID_TRIGGER, string_null, trace_dphitcontents, trace_dphitq3surfaceflags, trace_dphittexturename, trace_dpstartcontents, trace_endpos, trace_ent, trace_fraction, trace_plane_dist, trace_plane_normal, trace_startsolid, vector(), vlen(), and void.
Referenced by sys_phys_update(), and sys_phys_update_single().
Definition at line 11 of file physics.qc.
References absmax, absmin, angles, CheckPlayerJump(), com_phys_acc_rate, com_phys_acc_rate_air, com_phys_acc_rate_air_stop, com_phys_acc_rate_air_strafe, com_phys_air, com_phys_friction, com_phys_friction_air, com_phys_gravity, com_phys_ground, com_phys_ladder, com_phys_vel_2d, com_phys_vel_max, com_phys_vel_max_air, com_phys_vel_max_air_strafe, com_phys_water, CONTENT_LAVA, CONTENT_SLIME, CONTENT_WATER, conveyor, disableclientprediction, emit, FL_WATERJUMP, flags, IS_CLIENT, IS_DEAD, IS_ONGROUND, IS_ONSLICK, IS_PLAYER, IS_SVQC, IsFlying(), ITEMS_STAT, jumppadcount, ladder_entity, lastground, min(), move_movetype, move_qcphysics, movedir, MOVETYPE_FLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FOLLOW, MOVETYPE_NOCLIP, MOVETYPE_NONE, MUTATOR_CALLHOOK, PHYS_ACCELERATE, PHYS_AIRACCELERATE, PHYS_AIRSTOPACCELERATE, PHYS_AIRSTRAFEACCELERATE, PHYS_FRICTION, PHYS_FRICTION_ONLAND, PHYS_INPUT_BUTTON_MASK, PHYS_MAXAIRSPEED, PHYS_MAXAIRSTRAFESPEED, PHYS_MAXSPEED, PHYS_SLICK_APPLYGRAVITY, PM_check_blocked(), PM_check_frozen(), PM_check_hitground(), PM_check_slick(), PM_Footsteps(), PM_jetpack(), sys_in_update(), sys_phys_ai(), sys_phys_fix(), sys_phys_fixspeed(), sys_phys_monitor(), sys_phys_override(), sys_phys_postupdate(), sys_phys_pregame_hold(), sys_phys_simulate(), sys_phys_simulate_simple(), sys_phys_spectator_control(), teleport_time, time, v_angle, vector(), velocity, viewloc_PlayerPhysics(), WAS_ONGROUND, wasFlying, waterlevel, WATERLEVEL_NONE, and WATERLEVEL_SWIMMING.
Referenced by IsFlying(), and StartFrame().
Definition at line 508 of file physics.qc.
References frametime, and sys_phys_simulate_simple().
int disableclientprediction |
Definition at line 4 of file physics.qc.
Referenced by sys_phys_update().
entity groundentity |
Definition at line 421 of file physics.qc.
Referenced by sys_phys_simulate_simple().