|
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 <lib/warpzone/common.qh>#include <server/weapons/common.qh>Go to the source code of this file.
Definition at line 114 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 40 of file antilag.qc.
References ANTILAG_MAX_ORIGINS, and entity().
Referenced by antilag_takebackorigin().
Definition at line 151 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 21 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 101 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 138 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 86 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 125 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 78 of file antilag.qc.
References antilag_takebackorigin(), entity(), and vector.
Definition at line 60 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 | nomonst, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 210 of file antilag.qc.
References autocvar_g_antilag, CS_CVAR, entity(), 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 | nomonst, | ||
| entity | forent, | ||
| float | lag, | ||
| float | wz ) |
Definition at line 169 of file antilag.qc.
References antilag_restore_all(), antilag_takeback_all(), DPCONTENTS_BODY, DPCONTENTS_CORPSE, DPCONTENTS_SOLID, entity(), IS_REAL_CLIENT, vector, and WarpZone_TraceBox().
Referenced by tracebox_antilag(), traceline_antilag_force(), WarpZone_tracebox_antilag(), and WarpZone_traceline_antilag_force().
| void traceline_antilag | ( | entity | source, |
| vector | v1, | ||
| vector | v2, | ||
| float | nomonst, | ||
| 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 traceline_antilag_force | ( | entity | source, |
| vector | v1, | ||
| vector | v2, | ||
| float | nomonst, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 199 of file antilag.qc.
References entity(), tracebox_antilag_force_wz(), and vector.
Referenced by traceline_antilag(), W_HitPlotAnalysis(), and W_SetupShot_Dir_ProjectileSize_Range().
| void WarpZone_tracebox_antilag | ( | entity | source, |
| vector | v1, | ||
| vector | mi, | ||
| vector | ma, | ||
| vector | v2, | ||
| float | nomonst, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 228 of file antilag.qc.
References autocvar_g_antilag, CS_CVAR, entity(), IS_CLIENT, tracebox_antilag_force_wz(), and vector.
Referenced by FireImoBeam().
| void WarpZone_traceline_antilag | ( | entity | source, |
| vector | v1, | ||
| vector | v2, | ||
| float | nomonst, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 221 of file antilag.qc.
References autocvar_g_antilag, CS_CVAR, entity(), IS_CLIENT, vector, and WarpZone_traceline_antilag_force().
Referenced by FireRailgunBullet(), W_Arc_Beam_Think(), W_SetupShot_Dir_ProjectileSize_Range(), W_Shotgun_Melee_Think(), and WarpZone_crosshair_trace().
| void WarpZone_traceline_antilag_force | ( | entity | source, |
| vector | v1, | ||
| vector | v2, | ||
| float | nomonst, | ||
| entity | forent, | ||
| float | lag ) |
Definition at line 217 of file antilag.qc.
References entity(), tracebox_antilag_force_wz(), and vector.
Referenced by WarpZone_traceline_antilag().
| float antilag_debug |
Definition at line 19 of file antilag.qc.
Referenced by FireImoBeam(), FireRailgunBullet(), RadiusDamageForSource(), and W_SetupShot_Dir_ProjectileSize_Range().
| int antilag_index |
Definition at line 15 of file antilag.qc.
| const int ANTILAG_MAX_ORIGINS = 64 |
Definition at line 12 of file antilag.qc.
Referenced by antilag_clear(), antilag_find(), antilag_record(), and antilag_takebackorigin().
| vector antilag_origins[ANTILAG_MAX_ORIGINS] |
Definition at line 13 of file antilag.qc.
| vector antilag_saved_origin |
Definition at line 16 of file antilag.qc.
| float antilag_takenback |
Definition at line 17 of file antilag.qc.
| float antilag_times[ANTILAG_MAX_ORIGINS] |
Definition at line 14 of file antilag.qc.