Xonotic
|
Go to the source code of this file.
Macros | |
#define | IS_DUCKED(s) (boolean((s).flags & FL_DUCKED)) |
#define | IS_JUMP_HELD(s) (!((s).flags & FL_JUMPRELEASED)) |
#define | ITEMS_STAT(s) ((s).items) |
#define | PHYS_ACCELERATE(s) STAT(MOVEVARS_ACCELERATE, s) |
#define | PHYS_AIRACCEL_QW(s) STAT(MOVEVARS_AIRACCEL_QW, s) |
#define | PHYS_AIRACCEL_QW_STRETCHFACTOR(s) STAT(MOVEVARS_AIRACCEL_QW_STRETCHFACTOR, s) |
#define | PHYS_AIRACCEL_SIDEWAYS_FRICTION(s) STAT(MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION, s) |
#define | PHYS_AIRACCELERATE(s) STAT(MOVEVARS_AIRACCELERATE, s) |
#define | PHYS_AIRCONTROL(s) STAT(MOVEVARS_AIRCONTROL, s) |
#define | PHYS_AIRCONTROL_BACKWARDS(s) STAT(MOVEVARS_AIRCONTROL_BACKWARDS, s) |
#define | PHYS_AIRCONTROL_PENALTY(s) STAT(MOVEVARS_AIRCONTROL_PENALTY, s) |
#define | PHYS_AIRCONTROL_POWER(s) STAT(MOVEVARS_AIRCONTROL_POWER, s) |
#define | PHYS_AIRCONTROL_SIDEWARDS(s) STAT(MOVEVARS_AIRCONTROL_SIDEWARDS, s) |
#define | PHYS_AIRSPEEDLIMIT_NONQW(s) STAT(MOVEVARS_AIRSPEEDLIMIT_NONQW, s) |
#define | PHYS_AIRSTOPACCELERATE(s) STAT(MOVEVARS_AIRSTOPACCELERATE, s) |
#define | PHYS_AIRSTRAFEACCEL_QW(s) STAT(MOVEVARS_AIRSTRAFEACCEL_QW, s) |
#define | PHYS_AIRSTRAFEACCELERATE(s) STAT(MOVEVARS_AIRSTRAFEACCELERATE, s) |
#define | PHYS_AMMO_FUEL(s) STAT(FUEL, s) |
#define | PHYS_DODGING_FROZEN(s) STAT(DODGING_FROZEN, s) |
#define | PHYS_FRICTION(s) STAT(MOVEVARS_FRICTION, s) |
#define | PHYS_FRICTION_ONLAND(s) STAT(MOVEVARS_FRICTION_ONLAND, s) |
#define | PHYS_FRICTION_SLICK(s) STAT(MOVEVARS_FRICTION_SLICK, s) |
#define | PHYS_FROZEN(s) STAT(FROZEN, s) |
#define | PHYS_HEALTH(s) STAT(HEALTH, s) |
#define | PHYS_HIGHSPEED(s) STAT(MOVEVARS_HIGHSPEED, s) |
#define | PHYS_INPUT_BUTTON_ATCK(s) PHYS_INPUT_BUTTON_BUTTON1(s) |
#define | PHYS_INPUT_BUTTON_ATCK2(s) PHYS_INPUT_BUTTON_BUTTON3(s) |
#define | PHYS_INPUT_BUTTON_BACKWARD(s) (PHYS_INPUT_MOVEVALUES(s).x < 0) |
#define | PHYS_INPUT_BUTTON_CHAT(s) PHYS_INPUT_BUTTON_BUTTON_CHAT(s) |
#define | PHYS_INPUT_BUTTON_CROUCH(s) PHYS_INPUT_BUTTON_BUTTON5(s) |
#define | PHYS_INPUT_BUTTON_DODGE(s) PHYS_INPUT_BUTTON_BUTTON11(s) |
#define | PHYS_INPUT_BUTTON_DRAG(s) PHYS_INPUT_BUTTON_BUTTON8(s) |
#define | PHYS_INPUT_BUTTON_FORWARD(s) (PHYS_INPUT_MOVEVALUES(s).x > 0) |
#define | PHYS_INPUT_BUTTON_HOOK(s) PHYS_INPUT_BUTTON_BUTTON6(s) |
#define | PHYS_INPUT_BUTTON_INFO(s) PHYS_INPUT_BUTTON_BUTTON7(s) |
#define | PHYS_INPUT_BUTTON_JETPACK(s) PHYS_INPUT_BUTTON_BUTTON10(s) |
#define | PHYS_INPUT_BUTTON_JUMP(s) PHYS_INPUT_BUTTON_BUTTON2(s) |
#define | PHYS_INPUT_BUTTON_LEFT(s) (PHYS_INPUT_MOVEVALUES(s).y < 0) |
#define | PHYS_INPUT_BUTTON_MASK(s) |
#define | PHYS_INPUT_BUTTON_MINIGAME(s) PHYS_INPUT_BUTTON_BUTTON12(s) |
#define | PHYS_INPUT_BUTTON_PRYDON(s) PHYS_INPUT_BUTTON_BUTTON_PRYDON(s) |
#define | PHYS_INPUT_BUTTON_RIGHT(s) (PHYS_INPUT_MOVEVALUES(s).y > 0) |
#define | PHYS_INPUT_BUTTON_USE(s) PHYS_INPUT_BUTTON_BUTTON_USE(s) |
#define | PHYS_INPUT_BUTTON_ZOOM(s) PHYS_INPUT_BUTTON_BUTTON4(s) |
#define | PHYS_INPUT_BUTTON_ZOOMSCRIPT(s) PHYS_INPUT_BUTTON_BUTTON9(s) |
#define | PHYS_JETPACK_ACCEL_SIDE(s) STAT(JETPACK_ACCEL_SIDE, s) |
#define | PHYS_JETPACK_ACCEL_UP(s) STAT(JETPACK_ACCEL_UP, s) |
#define | PHYS_JETPACK_ANTIGRAVITY(s) STAT(JETPACK_ANTIGRAVITY, s) |
#define | PHYS_JETPACK_FUEL(s) STAT(JETPACK_FUEL, s) |
#define | PHYS_JETPACK_MAXSPEED_SIDE(s) STAT(JETPACK_MAXSPEED_SIDE, s) |
#define | PHYS_JETPACK_MAXSPEED_UP(s) STAT(JETPACK_MAXSPEED_UP, s) |
#define | PHYS_JETPACK_REVERSE_THRUST(s) STAT(JETPACK_REVERSE_THRUST, s) |
#define | PHYS_JUMPSPEEDCAP_DISABLE_ONRAMPS(s) STAT(MOVEVARS_JUMPSPEEDCAP_DISABLE_ONRAMPS) |
#define | PHYS_JUMPVELOCITY(s) STAT(MOVEVARS_JUMPVELOCITY, s) |
#define | PHYS_JUMPVELOCITY_CROUCH(s) STAT(MOVEVARS_JUMPVELOCITY_CROUCH, s) |
#define | PHYS_MAXAIRSPEED(s) STAT(MOVEVARS_MAXAIRSPEED, s) |
#define | PHYS_MAXAIRSTRAFESPEED(s) STAT(MOVEVARS_MAXAIRSTRAFESPEED, s) |
#define | PHYS_MAXSPEED(s) STAT(MOVEVARS_MAXSPEED, s) |
#define | PHYS_PL_CROUCH_MAX(s) STAT(PL_CROUCH_MAX, s) |
#define | PHYS_PL_CROUCH_MIN(s) STAT(PL_CROUCH_MIN, s) |
#define | PHYS_PL_CROUCH_VIEWOFS(s) STAT(PL_CROUCH_VIEW_OFS, s) |
#define | PHYS_PL_MAX(s) STAT(PL_MAX, s) |
#define | PHYS_PL_MIN(s) STAT(PL_MIN, s) |
#define | PHYS_PL_VIEWOFS(s) STAT(PL_VIEW_OFS, s) |
#define | PHYS_SLICK_APPLYGRAVITY(s) STAT(SLICK_APPLYGRAVITY) |
#define | PHYS_STOPSPEED(s) STAT(MOVEVARS_STOPSPEED, s) |
#define | PHYS_TRACK_CANJUMP(s) STAT(MOVEVARS_TRACK_CANJUMP, s) |
#define | PHYS_VIEWHEIGHT(s) STAT(VIEWHEIGHT, s) |
#define | PHYS_WARSOWBUNNY_ACCEL(s) STAT(MOVEVARS_WARSOWBUNNY_ACCEL, s) |
#define | PHYS_WARSOWBUNNY_AIRFORWARDACCEL(s) STAT(MOVEVARS_WARSOWBUNNY_AIRFORWARDACCEL, s) |
#define | PHYS_WARSOWBUNNY_BACKTOSIDERATIO(s) STAT(MOVEVARS_WARSOWBUNNY_BACKTOSIDERATIO, s) |
#define | PHYS_WARSOWBUNNY_TOPSPEED(s) STAT(MOVEVARS_WARSOWBUNNY_TOPSPEED, s) |
#define | PHYS_WARSOWBUNNY_TURNACCEL(s) STAT(MOVEVARS_WARSOWBUNNY_TURNACCEL, s) |
#define | SET_DUCKED(s) ((s).flags |= FL_DUCKED) |
#define | SET_JUMP_HELD(s) ((s).flags &= ~FL_JUMPRELEASED) |
#define | UNSET_DUCKED(s) ((s).flags &= ~FL_DUCKED) |
#define | UNSET_JUMP_HELD(s) ((s).flags |= FL_JUMPRELEASED) |
#define | WAS_ONGROUND(s) boolean((s).lastflags & FL_ONGROUND) |
#define | WAS_ONSLICK(s) boolean((s).lastflags & FL_ONSLICK) |
Functions | |
float | AdjustAirAccelQW (float accelqw, float factor) |
float (entity, float) PlayerPhysplug = #628 | |
bool | IsFlying (entity a) |
Definition at line 206 of file player.qh.
Referenced by CSQCPlayer_Physics(), CSQCPlayer_SetMinsMaxs(), GetPressedKeys(), havocbot_bunnyhop(), havocbot_movetogoal(), HUD_StrafeHUD(), Monster_Anim(), player_anim(), PlayerJump(), PM_check_hitground(), PM_ClientMovement_UpdateStatus(), PM_dodging(), PM_Footsteps(), and sys_phys_simulate().
#define IS_JUMP_HELD | ( | s | ) | (!((s).flags & FL_JUMPRELEASED)) |
Definition at line 199 of file player.qh.
Referenced by CSQCPlayer_Physics(), and PlayerJump().
#define ITEMS_STAT | ( | s | ) | ((s).items) |
Definition at line 210 of file player.qh.
Referenced by CheckPlayerJump(), IsFlying(), PM_jetpack(), and sys_phys_update().
#define PHYS_ACCELERATE | ( | s | ) | STAT(MOVEVARS_ACCELERATE, s) |
Definition at line 91 of file player.qh.
Referenced by sys_phys_simulate(), and sys_phys_update().
#define PHYS_AIRACCEL_QW | ( | s | ) | STAT(MOVEVARS_AIRACCEL_QW, s) |
Definition at line 93 of file player.qh.
Referenced by sys_phys_simulate().
#define PHYS_AIRACCEL_QW_STRETCHFACTOR | ( | s | ) | STAT(MOVEVARS_AIRACCEL_QW_STRETCHFACTOR, s) |
Definition at line 94 of file player.qh.
Referenced by sys_phys_simulate().
#define PHYS_AIRACCEL_SIDEWAYS_FRICTION | ( | s | ) | STAT(MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION, s) |
Definition at line 95 of file player.qh.
Referenced by sys_phys_simulate().
#define PHYS_AIRACCELERATE | ( | s | ) | STAT(MOVEVARS_AIRACCELERATE, s) |
Definition at line 92 of file player.qh.
Referenced by sys_phys_update().
#define PHYS_AIRCONTROL | ( | s | ) | STAT(MOVEVARS_AIRCONTROL, s) |
Definition at line 96 of file player.qh.
Referenced by CPM_PM_Aircontrol(), and sys_phys_simulate().
#define PHYS_AIRCONTROL_BACKWARDS | ( | s | ) | STAT(MOVEVARS_AIRCONTROL_BACKWARDS, s) |
Definition at line 99 of file player.qh.
Referenced by CPM_PM_Aircontrol().
#define PHYS_AIRCONTROL_PENALTY | ( | s | ) | STAT(MOVEVARS_AIRCONTROL_PENALTY, s) |
Definition at line 97 of file player.qh.
Referenced by CPM_PM_Aircontrol().
#define PHYS_AIRCONTROL_POWER | ( | s | ) | STAT(MOVEVARS_AIRCONTROL_POWER, s) |
Definition at line 98 of file player.qh.
Referenced by CPM_PM_Aircontrol().
#define PHYS_AIRCONTROL_SIDEWARDS | ( | s | ) | STAT(MOVEVARS_AIRCONTROL_SIDEWARDS, s) |
Definition at line 100 of file player.qh.
Referenced by CPM_PM_Aircontrol().
#define PHYS_AIRSPEEDLIMIT_NONQW | ( | s | ) | STAT(MOVEVARS_AIRSPEEDLIMIT_NONQW, s) |
Definition at line 101 of file player.qh.
Referenced by sys_phys_simulate().
#define PHYS_AIRSTOPACCELERATE | ( | s | ) | STAT(MOVEVARS_AIRSTOPACCELERATE, s) |
Definition at line 102 of file player.qh.
Referenced by sys_phys_simulate(), and sys_phys_update().
#define PHYS_AIRSTRAFEACCEL_QW | ( | s | ) | STAT(MOVEVARS_AIRSTRAFEACCEL_QW, s) |
Definition at line 104 of file player.qh.
Referenced by sys_phys_simulate().
#define PHYS_AIRSTRAFEACCELERATE | ( | s | ) | STAT(MOVEVARS_AIRSTRAFEACCELERATE, s) |
Definition at line 103 of file player.qh.
Referenced by sys_phys_simulate(), and sys_phys_update().
#define PHYS_AMMO_FUEL | ( | s | ) | STAT(FUEL, s) |
Definition at line 106 of file player.qh.
Referenced by CheckPlayerJump(), and PM_jetpack().
#define PHYS_DODGING_FROZEN | ( | s | ) | STAT(DODGING_FROZEN, s) |
Definition at line 108 of file player.qh.
Referenced by PM_check_frozen(), PM_dodging(), and PM_dodging_checkpressedkeys().
#define PHYS_FRICTION | ( | s | ) | STAT(MOVEVARS_FRICTION, s) |
Definition at line 110 of file player.qh.
Referenced by sys_phys_simulate(), and sys_phys_update().
#define PHYS_FRICTION_ONLAND | ( | s | ) | STAT(MOVEVARS_FRICTION_ONLAND, s) |
Definition at line 111 of file player.qh.
Referenced by PlayerJump(), and sys_phys_update().
#define PHYS_FRICTION_SLICK | ( | s | ) | STAT(MOVEVARS_FRICTION_SLICK, s) |
Definition at line 112 of file player.qh.
Referenced by sys_phys_simulate().
#define PHYS_FROZEN | ( | s | ) | STAT(FROZEN, s) |
Definition at line 114 of file player.qh.
Referenced by CheckPlayerJump(), determine_force(), PlayerJump(), PM_check_frozen(), PM_dodging(), PM_dodging_checkpressedkeys(), and sys_phys_simulate().
#define PHYS_HEALTH | ( | s | ) | STAT(HEALTH, s) |
Definition at line 89 of file player.qh.
Referenced by CSQCPlayer_SetCamera().
#define PHYS_INPUT_BUTTON_ATCK | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON1(s) |
Definition at line 146 of file player.qh.
Referenced by bot_cmd_pause(), bot_presskeys(), bot_think(), GetPressedKeys(), havocbot_ai(), havocbot_movetogoal(), IntermissionThink(), ObserverOrSpectatorThink(), PlayerThink(), PM_check_nickspam(), PM_dodging(), PutPlayerInServer(), TEST(), W_ReloadedAndReady(), and W_WeaponFrame().
#define PHYS_INPUT_BUTTON_ATCK2 | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON3(s) |
Definition at line 148 of file player.qh.
Referenced by bot_cmd_pause(), bot_presskeys(), bot_think(), CSQC_UpdateView(), GetPressedKeys(), havocbot_ai(), havocbot_movetogoal(), IntermissionThink(), MUTATOR_HOOKFUNCTION(), ObserverOrSpectatorThink(), PlayerThink(), PM_check_nickspam(), PM_dodging(), PutPlayerInServer(), W_ReloadedAndReady(), and W_WeaponFrame().
#define PHYS_INPUT_BUTTON_BACKWARD | ( | s | ) | (PHYS_INPUT_MOVEVALUES(s).x < 0) |
#define PHYS_INPUT_BUTTON_CHAT | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON_CHAT(s) |
Definition at line 155 of file player.qh.
Referenced by AppendItemcodes(), bot_cmd_pause(), bot_presskeys(), bot_shouldattack(), bot_think(), ChatBubbleThink(), Damage(), GrapplingHook_Damage(), GrapplingHookThink(), kh_GetMissingTeams(), kh_StartRound(), Monster_ValidTarget(), MUTATOR_HOOKFUNCTION(), Pause_TryPause(), PlayerDamage(), PlayerJump(), PM_check_blocked(), Portal_TeleportPlayer(), and TeleportPlayer().
#define PHYS_INPUT_BUTTON_CROUCH | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON5(s) |
Definition at line 150 of file player.qh.
Referenced by bot_cmd_pause(), bot_presskeys(), bot_think(), havocbot_keyboard_movement(), havocbot_movetogoal(), MUTATOR_HOOKFUNCTION(), PM_check_nickspam(), PM_ClientMovement_UpdateStatus(), PM_jetpack(), sys_in_update(), sys_phys_simulate(), viewloc_PlayerPhysics(), and waypoint_spawn_fromeditor().
#define PHYS_INPUT_BUTTON_DODGE | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON11(s) |
#define PHYS_INPUT_BUTTON_DRAG | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON8(s) |
Definition at line 153 of file player.qh.
Referenced by bot_cmd_pause(), bot_think(), and Drag().
#define PHYS_INPUT_BUTTON_FORWARD | ( | s | ) | (PHYS_INPUT_MOVEVALUES(s).x > 0) |
#define PHYS_INPUT_BUTTON_HOOK | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON6(s) |
Definition at line 151 of file player.qh.
Referenced by bot_cmd_pause(), bot_presskeys(), bot_think(), GENERIC_COMMAND(), IntermissionThink(), PlayerThink(), PM_check_nickspam(), and W_WeaponFrame().
#define PHYS_INPUT_BUTTON_INFO | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON7(s) |
Definition at line 152 of file player.qh.
Referenced by bot_think(), and PrintWelcomeMessage().
#define PHYS_INPUT_BUTTON_JETPACK | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON10(s) |
Definition at line 158 of file player.qh.
Referenced by CheckPlayerJump(), and havocbot_movetogoal().
#define PHYS_INPUT_BUTTON_JUMP | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON2(s) |
Definition at line 147 of file player.qh.
Referenced by bot_cmd_pause(), bot_presskeys(), bot_think(), CheckPlayerJump(), GetPressedKeys(), havocbot_bunnyhop(), havocbot_movetogoal(), IntermissionThink(), ObserverOrSpectatorThink(), PlayerThink(), PM_check_nickspam(), PM_dodging(), PutPlayerInServer(), sys_in_update(), sys_phys_fix(), and TEST().
#define PHYS_INPUT_BUTTON_LEFT | ( | s | ) | (PHYS_INPUT_MOVEVALUES(s).y < 0) |
#define PHYS_INPUT_BUTTON_MASK | ( | s | ) |
Definition at line 185 of file player.qh.
Referenced by sys_phys_monitor(), sys_phys_override(), and sys_phys_update().
#define PHYS_INPUT_BUTTON_MINIGAME | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON12(s) |
Definition at line 160 of file player.qh.
Referenced by ChatBubbleThink(), PlayerJump(), and PM_check_blocked().
#define PHYS_INPUT_BUTTON_PRYDON | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON_PRYDON(s) |
#define PHYS_INPUT_BUTTON_RIGHT | ( | s | ) | (PHYS_INPUT_MOVEVALUES(s).y > 0) |
#define PHYS_INPUT_BUTTON_USE | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON_USE(s) |
Definition at line 154 of file player.qh.
Referenced by bot_cmd_pause(), bot_presskeys(), bot_think(), IntermissionThink(), ObserverOrSpectatorThink(), PlayerPreThink(), PlayerThink(), PM_check_nickspam(), and SpectateCopy().
#define PHYS_INPUT_BUTTON_ZOOM | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON4(s) |
Definition at line 149 of file player.qh.
Referenced by bot_think(), CSQC_UpdateView(), PlayerPreThink(), and PM_check_nickspam().
#define PHYS_INPUT_BUTTON_ZOOMSCRIPT | ( | s | ) | PHYS_INPUT_BUTTON_BUTTON9(s) |
Definition at line 157 of file player.qh.
Referenced by PlayerPreThink().
#define PHYS_JETPACK_ACCEL_SIDE | ( | s | ) | STAT(JETPACK_ACCEL_SIDE, s) |
Definition at line 118 of file player.qh.
Referenced by PM_jetpack().
#define PHYS_JETPACK_ACCEL_UP | ( | s | ) | STAT(JETPACK_ACCEL_UP, s) |
Definition at line 119 of file player.qh.
Referenced by PM_jetpack().
#define PHYS_JETPACK_ANTIGRAVITY | ( | s | ) | STAT(JETPACK_ANTIGRAVITY, s) |
Definition at line 120 of file player.qh.
Referenced by PM_jetpack().
#define PHYS_JETPACK_FUEL | ( | s | ) | STAT(JETPACK_FUEL, s) |
Definition at line 121 of file player.qh.
Referenced by CheckPlayerJump(), and PM_jetpack().
#define PHYS_JETPACK_MAXSPEED_SIDE | ( | s | ) | STAT(JETPACK_MAXSPEED_SIDE, s) |
Definition at line 122 of file player.qh.
Referenced by PM_jetpack().
#define PHYS_JETPACK_MAXSPEED_UP | ( | s | ) | STAT(JETPACK_MAXSPEED_UP, s) |
Definition at line 123 of file player.qh.
Referenced by PM_jetpack().
#define PHYS_JETPACK_REVERSE_THRUST | ( | s | ) | STAT(JETPACK_REVERSE_THRUST, s) |
Definition at line 124 of file player.qh.
Referenced by PM_jetpack().
#define PHYS_JUMPSPEEDCAP_DISABLE_ONRAMPS | ( | s | ) | STAT(MOVEVARS_JUMPSPEEDCAP_DISABLE_ONRAMPS) |
Definition at line 126 of file player.qh.
Referenced by PlayerJump().
#define PHYS_JUMPVELOCITY | ( | s | ) | STAT(MOVEVARS_JUMPVELOCITY, s) |
Definition at line 127 of file player.qh.
Referenced by PlayerJump().
#define PHYS_JUMPVELOCITY_CROUCH | ( | s | ) | STAT(MOVEVARS_JUMPVELOCITY_CROUCH, s) |
Definition at line 128 of file player.qh.
Referenced by PlayerJump().
#define PHYS_MAXAIRSPEED | ( | s | ) | STAT(MOVEVARS_MAXAIRSPEED, s) |
Definition at line 130 of file player.qh.
Referenced by CPM_PM_Aircontrol(), HUD_StrafeHUD(), PM_jetpack(), sys_phys_fixspeed(), and sys_phys_update().
#define PHYS_MAXAIRSTRAFESPEED | ( | s | ) | STAT(MOVEVARS_MAXAIRSTRAFESPEED, s) |
Definition at line 131 of file player.qh.
Referenced by HUD_StrafeHUD(), sys_phys_simulate(), and sys_phys_update().
#define PHYS_MAXSPEED | ( | s | ) | STAT(MOVEVARS_MAXSPEED, s) |
Definition at line 132 of file player.qh.
Referenced by HUD_StrafeHUD(), PlayerJump(), PM_AirAccelerate(), sys_phys_fixspeed(), sys_phys_simulate(), and sys_phys_update().
#define PHYS_PL_CROUCH_MAX | ( | s | ) | STAT(PL_CROUCH_MAX, s) |
Definition at line 82 of file player.qh.
Referenced by CSQCPlayer_SetMinsMaxs().
#define PHYS_PL_CROUCH_MIN | ( | s | ) | STAT(PL_CROUCH_MIN, s) |
Definition at line 83 of file player.qh.
Referenced by CSQCPlayer_SetMinsMaxs().
#define PHYS_PL_CROUCH_VIEWOFS | ( | s | ) | STAT(PL_CROUCH_VIEW_OFS, s) |
Definition at line 86 of file player.qh.
Referenced by CSQCPlayer_SetCamera(), and CSQCPlayer_SetMinsMaxs().
#define PHYS_PL_MAX | ( | s | ) | STAT(PL_MAX, s) |
Definition at line 80 of file player.qh.
Referenced by CSQCPlayer_SetMinsMaxs().
#define PHYS_PL_MIN | ( | s | ) | STAT(PL_MIN, s) |
Definition at line 81 of file player.qh.
Referenced by CSQCPlayer_SetMinsMaxs().
#define PHYS_PL_VIEWOFS | ( | s | ) | STAT(PL_VIEW_OFS, s) |
Definition at line 85 of file player.qh.
Referenced by CSQCPlayer_SetCamera(), and CSQCPlayer_SetMinsMaxs().
#define PHYS_SLICK_APPLYGRAVITY | ( | s | ) | STAT(SLICK_APPLYGRAVITY) |
Definition at line 144 of file player.qh.
Referenced by sys_phys_update().
#define PHYS_STOPSPEED | ( | s | ) | STAT(MOVEVARS_STOPSPEED, s) |
Definition at line 134 of file player.qh.
Referenced by sys_phys_simulate().
#define PHYS_TRACK_CANJUMP | ( | s | ) | STAT(MOVEVARS_TRACK_CANJUMP, s) |
Definition at line 136 of file player.qh.
Referenced by PlayerJump().
#define PHYS_VIEWHEIGHT | ( | s | ) | STAT(VIEWHEIGHT, s) |
Definition at line 88 of file player.qh.
Referenced by CSQCPlayer_SetCamera().
#define PHYS_WARSOWBUNNY_ACCEL | ( | s | ) | STAT(MOVEVARS_WARSOWBUNNY_ACCEL, s) |
Definition at line 138 of file player.qh.
Referenced by PM_AirAccelerate().
#define PHYS_WARSOWBUNNY_AIRFORWARDACCEL | ( | s | ) | STAT(MOVEVARS_WARSOWBUNNY_AIRFORWARDACCEL, s) |
Definition at line 139 of file player.qh.
Referenced by PM_AirAccelerate().
#define PHYS_WARSOWBUNNY_BACKTOSIDERATIO | ( | s | ) | STAT(MOVEVARS_WARSOWBUNNY_BACKTOSIDERATIO, s) |
Definition at line 140 of file player.qh.
Referenced by PM_AirAccelerate().
#define PHYS_WARSOWBUNNY_TOPSPEED | ( | s | ) | STAT(MOVEVARS_WARSOWBUNNY_TOPSPEED, s) |
Definition at line 141 of file player.qh.
Referenced by PM_AirAccelerate().
#define PHYS_WARSOWBUNNY_TURNACCEL | ( | s | ) | STAT(MOVEVARS_WARSOWBUNNY_TURNACCEL, s) |
Definition at line 142 of file player.qh.
Referenced by PM_AirAccelerate(), and sys_phys_simulate().
#define SET_DUCKED | ( | s | ) | ((s).flags |= FL_DUCKED) |
Definition at line 207 of file player.qh.
Referenced by PM_ClientMovement_UpdateStatus().
#define SET_JUMP_HELD | ( | s | ) | ((s).flags &= ~FL_JUMPRELEASED) |
Definition at line 200 of file player.qh.
Referenced by CheckWaterJump(), PlayerJump(), and sys_phys_simulate().
#define UNSET_DUCKED | ( | s | ) | ((s).flags &= ~FL_DUCKED) |
Definition at line 208 of file player.qh.
Referenced by PM_ClientMovement_UpdateStatus(), PutObserverInServer(), PutPlayerInServer(), and vehicles_enter().
#define UNSET_JUMP_HELD | ( | s | ) | ((s).flags |= FL_JUMPRELEASED) |
Definition at line 201 of file player.qh.
Referenced by CheckPlayerJump(), and sys_phys_fix().
#define WAS_ONGROUND | ( | s | ) | boolean((s).lastflags & FL_ONGROUND) |
Definition at line 203 of file player.qh.
Referenced by PlayerJump(), and sys_phys_update().
Definition at line 204 of file player.qh.
Referenced by PlayerJump().
Definition at line 213 of file player.qc.
References bound(), copysign(), and fabs().
Referenced by PM_Accelerate().
float | ( | entity | , |
float | |||
) | = #628 |
Referenced by _StartItem(), Local_Notification(), and Local_Notification_WOVA().
int buttons_old |
Definition at line 64 of file player.qh.
Referenced by sys_phys_monitor().
entity conveyor |
Definition at line 54 of file player.qh.
Referenced by PutPlayerInServer(), sys_phys_postupdate(), and sys_phys_update().
string lastclassname |
Definition at line 67 of file player.qh.
Referenced by sys_phys_postupdate(), and sys_phys_spectator_control().
float lastflags |
Definition at line 60 of file player.qh.
Referenced by sys_phys_postupdate().
float lastground |
Definition at line 61 of file player.qh.
Referenced by football_touch(), PlayerJump(), PM_Footsteps(), sys_phys_postupdate(), and sys_phys_update().
vector movement_old |
Definition at line 65 of file player.qh.
Referenced by sys_phys_monitor().
float teleport_time |
Definition at line 212 of file player.qh.
Referenced by CheckWaterJump(), and sys_phys_update().
vector v_angle_old |
Definition at line 66 of file player.qh.
Referenced by sys_phys_monitor().
bool wasFlying |
Definition at line 62 of file player.qh.
Referenced by PM_check_hitground(), and sys_phys_update().