Xonotic
|
#include "physics.qh"
Go to the source code of this file.
Functions | |
STATIC_INIT (sys_phys) | |
void | sys_phys_ai (entity this) |
void | sys_phys_fix (entity this, float dt) |
void | sys_phys_fixspeed (entity this, float maxspeed_mod) |
void | sys_phys_land (entity this) |
void | sys_phys_monitor (entity this, float dt) |
bool | sys_phys_override (entity this, float dt) |
void | sys_phys_pregame_hold (entity this) |
void | sys_phys_spectator_control (entity this) |
Variables | |
float | autocvar_sv_spectator_speed_multiplier |
float | autocvar_sv_spectator_speed_multiplier_max = 5 |
float | autocvar_sv_spectator_speed_multiplier_min = 1 |
STATIC_INIT | ( | sys_phys | ) |
Definition at line 122 of file sv_physics.qc.
References entity(), new_pure, subscribe, and sys_phys_land().
Definition at line 38 of file sv_physics.qc.
References bot_think(), and IS_BOT_CLIENT.
Definition at line 7 of file sv_physics.qc.
References items, movement, PHYS_INPUT_BUTTON_JUMP, PM_ClientMovement_UpdateStatus(), team, and UNSET_JUMP_HELD.
Definition at line 89 of file sv_physics.qc.
References ftos(), max(), PHYS_MAXAIRSPEED, PHYS_MAXSPEED, speed, strcat(), and stuffcmd.
Definition at line 111 of file sv_physics.qc.
References jumppadcount, LOG_TRACEF, velocity, and vlen().
Referenced by STATIC_INIT().
Definition at line 25 of file sv_physics.qc.
References anticheat_physics(), autocvar_sv_maxidle, autocvar_sv_maxidle_playertospectator, buttons_old, CS(), movement, movement_old, PHYS_INPUT_BUTTON_MASK, PM_check_nickspam(), PM_check_punch(), time, v_angle, and v_angle_old.
Definition at line 14 of file sv_physics.qc.
References CS(), hud, PHYS_INPUT_BUTTON_MASK, PM_check_specialcommand(), and time.
Definition at line 44 of file sv_physics.qc.
References disableclientprediction, IS_PLAYER, move_movetype, MOVETYPE_NONE, MOVETYPE_WALK, set_movetype(), time, and velocity.
Definition at line 58 of file sv_physics.qc.
References autocvar_sv_spectator_speed_multiplier, autocvar_sv_spectator_speed_multiplier_max, autocvar_sv_spectator_speed_multiplier_min, bound(), CS(), impulse, lastclassname, and STR_PLAYER.
float autocvar_sv_spectator_speed_multiplier |
Definition at line 3 of file sv_physics.qc.
Referenced by sys_phys_spectator_control().
float autocvar_sv_spectator_speed_multiplier_max = 5 |
Definition at line 5 of file sv_physics.qc.
Referenced by sys_phys_spectator_control().
float autocvar_sv_spectator_speed_multiplier_min = 1 |
Definition at line 4 of file sv_physics.qc.
Referenced by sys_phys_spectator_control().