Xonotic
|
Go to the source code of this file.
Variables | |
float | jetpack_stopped |
Definition at line 213 of file player.qc.
References bound(), copysign(), and fabs().
Referenced by PM_Accelerate().
Definition at line 473 of file player.qc.
References autocvar_sv_cheats, boolean, CheatImpulse(), CheckWaterJump(), entity(), ITEMS_STAT, jetpack_stopped, LOG_INFO, M_ARGV, maycheat, PHYS_AMMO_FUEL, PHYS_FROZEN, PHYS_INPUT_BUTTON_JETPACK, PHYS_INPUT_BUTTON_JUMP, PHYS_JETPACK_FUEL, PlayerJump(), UNSET_JUMP_HELD, waterlevel, and WATERLEVEL_SWIMMING.
Referenced by sys_phys_update().
Definition at line 439 of file player.qc.
References FL_WATERJUMP, flags, makevectors, movedir, normalize(), origin, SET_JUMP_HELD, teleport_time, time, trace_fraction, trace_plane_normal, v_angle, v_forward, and vector().
Referenced by CheckPlayerJump().
Definition at line 177 of file player.qc.
References bound(), IsMoveInDirection(), max(), movement, normalize(), PHYS_AIRCONTROL, PHYS_AIRCONTROL_BACKWARDS, PHYS_AIRCONTROL_PENALTY, PHYS_AIRCONTROL_POWER, PHYS_AIRCONTROL_SIDEWARDS, PHYS_MAXAIRSPEED, sqrt(), velocity, and vlen().
Referenced by sys_phys_simulate().
Definition at line 115 of file player.qc.
References fabs().
Referenced by sys_phys_simulate().
Definition at line 804 of file player.qc.
References CS(), CSQC_ClientMovement_PlayerMove_Frame(), csqcmodel_modelflags, entity(), frametime, intermission, IS_DEAD, IS_ONGROUND, IS_REAL_CLIENT, ITEMS_STAT, maxs, MF_ROCKET, mins, MOVE_NORMAL, origin, PM_UpdateButtons(), sys_phys_update(), trace_fraction, waterlevel, and WATERLEVEL_SWIMMING.
Referenced by Damage(), and sys_phys_update().
Definition at line 106 of file player.qc.
References fabs(), RAD2DEG, and remainder().
Referenced by CPM_PM_Aircontrol(), and sys_phys_simulate().
Definition at line 330 of file player.qc.
References ANIMACTION_JUMP, animdecide_setaction(), CH_PLAYER, ftos(), IS_DUCKED, IS_JUMP_HELD, IS_ONGROUND, jumppadcount, lastground, LOG_TRACE, M_ARGV, maxs, mins, MOVE_NORMAL, MUTATOR_CALLHOOK, origin, PHYS_FRICTION_ONLAND, PHYS_FROZEN, PHYS_INPUT_BUTTON_CHAT, PHYS_INPUT_BUTTON_MINIGAME, PHYS_JUMPSPEEDCAP_DISABLE_ONRAMPS, PHYS_JUMPVELOCITY, PHYS_JUMPVELOCITY_CROUCH, PHYS_MAXSPEED, PHYS_TRACK_CANJUMP, player_blocked, SET_JUMP_HELD, stof(), time, trace_fraction, UNSET_ONGROUND, UNSET_ONSLICK, velocity, viewloc, vlen(), VOICETYPE_PLAYERSOUND, VOL_BASE, vtos(), WAS_ONGROUND, WAS_ONSLICK, waterlevel, and WATERLEVEL_SWIMMING.
Referenced by CheckPlayerJump().
void PM_Accelerate | ( | entity | this, |
float | dt, | ||
vector | wishdir, | ||
float | wishspeed, | ||
float | wishspeed0, | ||
float | accel, | ||
float | accelqw, | ||
float | stretchfactor, | ||
float | sidefric, | ||
float | speedlimit | ||
) |
Definition at line 223 of file player.qc.
References AdjustAirAccelQW(), bound(), fabs(), max(), sqrt(), vec2, vector(), velocity, and vlen().
Referenced by sys_phys_simulate().
Definition at line 287 of file player.qc.
References max(), min(), normalize(), PHYS_MAXSPEED, PHYS_WARSOWBUNNY_ACCEL, PHYS_WARSOWBUNNY_AIRFORWARDACCEL, PHYS_WARSOWBUNNY_BACKTOSIDERATIO, PHYS_WARSOWBUNNY_TOPSPEED, PHYS_WARSOWBUNNY_TURNACCEL, vector(), velocity, and vlen().
Referenced by sys_phys_simulate().
Definition at line 683 of file player.qc.
References disableclientprediction, PHYS_INPUT_BUTTON_CHAT, PHYS_INPUT_BUTTON_MINIGAME, and player_blocked.
Referenced by sys_phys_update().
Definition at line 609 of file player.qc.
References bound(), IS_CLIENT, movement, PHYS_DODGING_FROZEN, and PHYS_FROZEN.
Referenced by sys_phys_update().
Definition at line 624 of file player.qc.
References CH_PLAYER, entity(), hook, IS_DUCKED, ladder_entity, MAX_WEAPONSLOTS, maxs, mins, MOVE_NOMONSTERS, origin, Q3SURFACEFLAG_METALSTEPS, Q3SURFACEFLAG_NOSTEPS, random(), time, trace_dphitq3surfaceflags, VOICETYPE_PLAYERSOUND, VOL_BASE, VOL_MUFFLED, wasFlying, waterlevel, WATERLEVEL_SWIMMING, and weaponentities.
Referenced by sys_phys_update().
Definition at line 563 of file player.qc.
References fixangle, nickspamcount, nickspamtime, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_CROUCH, PHYS_INPUT_BUTTON_HOOK, PHYS_INPUT_BUTTON_JUMP, PHYS_INPUT_BUTTON_USE, PHYS_INPUT_BUTTON_ZOOM, random(), and time.
Referenced by sys_phys_monitor().
Definition at line 585 of file player.qc.
References normalize(), punchangle, punchvector, and vlen().
Referenced by sys_phys_monitor().
Definition at line 670 of file player.qc.
References IS_ONGROUND, maxs, mins, MOVE_NOMONSTERS, origin, Q3SURFACEFLAG_SLICK, SET_ONSLICK, trace_dphitq3surfaceflags, and UNSET_ONSLICK.
Referenced by sys_phys_update().
Definition at line 530 of file player.qc.
References BIT, CS(), strlen(), and substring().
Referenced by sys_phys_override().
Definition at line 122 of file player.qc.
References _Movetype_CheckWater(), entity(), IS_DEAD, IS_DUCKED, IS_PLAYER, M_ARGV, MAX_WEAPONSLOTS, movement, MUTATOR_CALLHOOK, origin, PHYS_INPUT_BUTTON_CROUCH, SET_DUCKED, trace_startsolid, UNSET_DUCKED, view_ofs, viewloc, VIEWLOC_FREEMOVE, viewmodels, and weaponentities.
Referenced by sys_phys_fix().
Definition at line 649 of file player.qc.
References CH_PLAYER, entity(), IS_DUCKED, lastground, maxs, mins, MOVE_NOMONSTERS, origin, Q3SURFACEFLAG_METALSTEPS, Q3SURFACEFLAG_NOSTEPS, random(), time, trace_dphitq3surfaceflags, vdist, velocity, VOICETYPE_PLAYERSOUND, and VOL_BASE.
Referenced by sys_phys_update().
Definition at line 695 of file player.qc.
References autocvar_g_balance_pause_fuel_regen, best, bound(), ITEMS_STAT, makevectors, max(), min(), normalize(), pauseregen_finished, PHYS_AMMO_FUEL, PHYS_INPUT_BUTTON_CROUCH, PHYS_JETPACK_ACCEL_SIDE, PHYS_JETPACK_ACCEL_UP, PHYS_JETPACK_ANTIGRAVITY, PHYS_JETPACK_FUEL, PHYS_JETPACK_MAXSPEED_SIDE, PHYS_JETPACK_MAXSPEED_UP, PHYS_JETPACK_REVERSE_THRUST, PHYS_MAXAIRSPEED, sqrt(), TakeResource(), time, UNSET_ONGROUND, v_angle, v_forward, v_right, vector(), velocity, and vlen().
Referenced by sys_phys_update().
Definition at line 11 of file physics.qc.
Referenced by IsFlying().
float jetpack_stopped |
Definition at line 472 of file player.qc.
Referenced by CheckPlayerJump().