Xonotic
|
#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, and antilag_restore().
Referenced by PutPlayerInServer(), vehicles_damage(), and vehicles_enter().
Definition at line 40 of file antilag.qc.
References ANTILAG_MAX_ORIGINS.
Referenced by antilag_takebackorigin().
Definition at line 151 of file antilag.qc.
References ANTILAG_LATENCY, autocvar_g_antilag, CS_CVAR, IS_CLIENT, and IS_REAL_CLIENT.
Referenced by fireBullet_antilag().
Definition at line 21 of file antilag.qc.
References ANTILAG_MAX_ORIGINS, antilag_record(), antilag_takebackorigin(), time, and VHF_PLAYERSLOT.
Referenced by antilag_record(), and EndFrame().
Definition at line 101 of file antilag.qc.
References antilag_restore(), setorigin(), 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(), FOREACH_CLIENT, g_monsters, g_projectiles, IL_EACH, and IS_PLAYER.
Referenced by fireBullet_antilag(), and tracebox_antilag_force_wz().
Definition at line 86 of file antilag.qc.
References antilag_takeback(), antilag_takebackorigin(), setorigin(), 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(), FOREACH_CLIENT, g_monsters, g_projectiles, IL_EACH, IS_PLAYER, and time.
Referenced by fireBullet_antilag(), and tracebox_antilag_force_wz().
Definition at line 78 of file antilag.qc.
References antilag_takebackorigin(), and vector().
Definition at line 60 of file antilag.qc.
References antilag_find(), ANTILAG_MAX_ORIGINS, and lerpv().
Referenced by antilag_record(), antilag_takeback(), antilag_takebackavgvelocity(), and botframe_autowaypoints_fix_from().
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, IS_CLIENT, and tracebox_antilag_force_wz().
Referenced by 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, IS_REAL_CLIENT, 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, IS_CLIENT, and traceline_antilag_force().
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 tracebox_antilag_force_wz().
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, IS_CLIENT, and tracebox_antilag_force_wz().
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, IS_CLIENT, and WarpZone_traceline_antilag_force().
Referenced by FireRailgunBullet(), W_SetupShot_Dir_ProjectileSize_Range(), 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 tracebox_antilag_force_wz().
Referenced by WarpZone_traceline_antilag().
float antilag_debug |
Definition at line 19 of file antilag.qc.
Referenced by FireRailgunBullet(), 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.