|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "physics.qh"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 | |
| void | sys_phys_simulate_simple (entity this, float dt) |
| for other entities | |
| void | sys_phys_update (entity this, float dt) |
| void | sys_phys_update_single (entity this) |
Variables | |
| int | disableclientprediction |
| entity | groundentity |
Definition at line 185 of file physics.qc.
References classname, conveyor, entity(), flags, IS_ONGROUND, lastclassname, lastflags, lastground, time, and velocity.
Referenced by sys_phys_update().
for players
Definition at line 198 of file physics.qc.
References bound(), 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(), entity(), eY, eZ, f2, fabs(), GeomLerp(), IS_DUCKED, IS_ONSLICK, IsMoveInDirection(), ladder_entity, log(), MAKE_VECTORS, 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_AIRSTOPACCELERATE_FULL, PHYS_AIRSTRAFEACCEL_QW, PHYS_AIRSTRAFEACCELERATE, PHYS_CS, PHYS_FRICTION, PHYS_FRICTION_REPLICA_DT, PHYS_FRICTION_SLICK, PHYS_FROZEN, PHYS_INPUT_BUTTON_CROUCH, PHYS_INPUT_BUTTON_JUMP, PHYS_MAXAIRSTRAFESPEED, PHYS_MAXSPEED, PHYS_SLICKACCELERATE, PHYS_STOPSPEED, PHYS_WARSOWBUNNY_TURNACCEL, PM_Accelerate(), PM_AirAccelerate(), SET_JUMP_HELD, sqrt(), trace_startsolid, UNSET_ONGROUND, v_angle, vec2, vec3, vector, velocity, viewloc, vlen(), vlen2, waterlevel, WATERLEVEL_NONE, WATERLEVEL_SUBMERGED, WATERLEVEL_SWIMMING, WATERLEVEL_WETFEET, and watertype.
Referenced by sys_phys_update().
for other entities
Definition at line 480 of file physics.qc.
References absmax, absmin, angles, avelocity, boxesoverlap(), ClipVelocity, com_phys_gravity_factor, com_phys_pos, com_phys_vel, entity(), FOREACH_ENTITY_RADIUS_ORDERED, gettouch, groundentity, IS_ONGROUND, maxs, min(), mins, MOVE_NORMAL, NULL, PHYS_GRAVITY, solid, SOLID_NOT, SOLID_TRIGGER, string_null, 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, velocity, vlen(), and void.
Referenced by sys_phys_update(), and sys_phys_update_single().
Definition at line 10 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, entity(), eY, FL_WATERJUMP, flags, IS_CLIENT, IS_DEAD, IS_ONGROUND, IS_ONSLICK, IS_PLAYER, IS_SVQC, IsFlying(), IT_USING_JETPACK, 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_CS, PHYS_ENTGRAVITY, PHYS_FIXANGLE, PHYS_FRICTION, PHYS_FRICTION_ONLAND, PHYS_GRAVITY, 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(), STAT, 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 StartFrame(), and SV_PlayerPhysics().
Definition at line 576 of file physics.qc.
References entity(), frametime, and sys_phys_simulate_simple().
| int disableclientprediction |
Definition at line 3 of file physics.qc.
| entity groundentity |
Definition at line 478 of file physics.qc.