|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "antilag.qh"#include <common/monsters/sv_monsters.qh>#include <common/state.qh>#include <common/stats.qh>#include <common/vehicles/all.qh>#include <common/weapons/_all.qh>#include <server/weapons/common.qh>Go to the source code of this file.
Definition at line 113 of file antilag.qc.
References ANTILAG_MAX_ORIGINS, antilag_restore(), and entity().
Referenced by bumblebee_exit(), PutPlayerInServer(), racer_exit(), raptor_exit(), spiderbot_exit(), vehicles_damage(), and vehicles_enter().
Definition at line 39 of file antilag.qc.
References ANTILAG_MAX_ORIGINS, and entity().
Referenced by antilag_takebackorigin().
Definition at line 150 of file antilag.qc.
References ANTILAG_LATENCY, autocvar_g_antilag, CS_CVAR, entity(), IS_CLIENT, and IS_REAL_CLIENT.
Referenced by fireBullet_falloff(), and W_Shotgun_Attack().
Definition at line 20 of file antilag.qc.
References ANTILAG_MAX_ORIGINS, antilag_record(), antilag_takebackorigin(), entity(), time, and VHF_PLAYERSLOT.
Referenced by antilag_record(), and EndFrame().
Definition at line 100 of file antilag.qc.
References antilag_restore(), entity(), and VHF_PLAYERSLOT.
Referenced by antilag_clear(), antilag_restore(), antilag_restore_all(), and W_HitPlotAnalysis().
Definition at line 137 of file antilag.qc.
References antilag_restore(), CS(), entity(), FOREACH_CLIENT, g_monsters, g_projectiles, IL_EACH, and IS_PLAYER.
Referenced by fireBullet_falloff(), tracebox_antilag_force_wz(), and W_Shotgun_Attack().
Definition at line 85 of file antilag.qc.
References antilag_takeback(), antilag_takebackorigin(), entity(), org, vector, and VHF_PLAYERSLOT.
Referenced by antilag_takeback(), antilag_takeback_all(), and W_HitPlotAnalysis().
Definition at line 124 of file antilag.qc.
References antilag_takeback(), CS(), entity(), FOREACH_CLIENT, g_monsters, g_projectiles, IL_EACH, IS_PLAYER, and time.
Referenced by fireBullet_falloff(), tracebox_antilag_force_wz(), and W_Shotgun_Attack().
Definition at line 77 of file antilag.qc.
References antilag_takebackorigin(), entity(), and vector.
Definition at line 59 of file antilag.qc.
References antilag_find(), ANTILAG_MAX_ORIGINS, entity(), lerpv(), and vector.
Referenced by antilag_record(), antilag_takeback(), and antilag_takebackavgvelocity().
| void tracebox_antilag | ( | entity | source, |
| vector | v1, | ||
| vector | mi, | ||
| vector | ma, | ||
| vector | v2, | ||
| float | nomonsters, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 216 of file antilag.qc.
References autocvar_g_antilag, CS_CVAR, entity(), func_null(), IS_CLIENT, tracebox_antilag_force_wz(), and vector.
Referenced by RadiusDamageForSource(), and W_SetupShot_Dir_ProjectileSize_Range().
| void tracebox_antilag_force_wz | ( | entity | source, |
| vector | v1, | ||
| vector | mi, | ||
| vector | ma, | ||
| vector | v2, | ||
| float | nomonsters, | ||
| entity | forent, | ||
| float | lag, | ||
| bool | wz, | ||
| WarpZone_trace_callback_t | cb ) |
A version of traceline that must be used by SOLID_SLIDEBOX things that want to hit SOLID_CORPSE things with a trace attack Additionally it moves players back into the past before the trace and restores them afterward.
Definition at line 168 of file antilag.qc.
References antilag_restore_all(), antilag_takeback_all(), DPCONTENTS_BODY, DPCONTENTS_CORPSE, DPCONTENTS_SOLID, entity(), IS_REAL_CLIENT, NULL, trace_endpos, vector, and WarpZone_TraceBox_ThroughZone().
Referenced by FireRailgunBullet(), tracebox_antilag(), and WarpZone_tracebox_antilag().
| void traceline_antilag | ( | entity | source, |
| vector | v1, | ||
| vector | v2, | ||
| float | nomonsters, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 203 of file antilag.qc.
References autocvar_g_antilag, CS_CVAR, entity(), IS_CLIENT, traceline_antilag_force, and vector.
Referenced by crosshair_trace().
| void WarpZone_tracebox_antilag | ( | entity | source, |
| vector | v1, | ||
| vector | mi, | ||
| vector | ma, | ||
| vector | v2, | ||
| float | nomonsters, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 222 of file antilag.qc.
References autocvar_g_antilag, CS_CVAR, entity(), func_null(), IS_CLIENT, tracebox_antilag_force_wz(), and vector.
Referenced by FireImoBeam().
| void WarpZone_traceline_antilag | ( | entity | source, |
| vector | v1, | ||
| vector | v2, | ||
| float | nomonsters, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 209 of file antilag.qc.
References autocvar_g_antilag, CS_CVAR, entity(), IS_CLIENT, vector, and WarpZone_traceline_antilag_force.
Referenced by W_Arc_Beam_Think(), W_SetupShot_Dir_ProjectileSize_Range(), W_Shotgun_Melee_Think(), and WarpZone_crosshair_trace().
| float antilag_debug |
Definition at line 18 of file antilag.qc.
Referenced by FireImoBeam(), FireRailgunBullet(), RadiusDamageForSource(), and W_SetupShot_Dir_ProjectileSize_Range().
| int antilag_index |
Definition at line 14 of file antilag.qc.
| const int ANTILAG_MAX_ORIGINS = 64 |
Definition at line 11 of file antilag.qc.
Referenced by antilag_clear(), antilag_find(), antilag_record(), and antilag_takebackorigin().
| vector antilag_origins[ANTILAG_MAX_ORIGINS] |
Definition at line 12 of file antilag.qc.
| vector antilag_saved_origin |
Definition at line 15 of file antilag.qc.
| float antilag_takenback |
Definition at line 16 of file antilag.qc.
| float antilag_times[ANTILAG_MAX_ORIGINS] |
Definition at line 13 of file antilag.qc.