summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hl2h.h')
-rw-r--r--src/hl2h.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index 8aeef7a..cc11e0d 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -92,6 +92,8 @@ struct NetVars {
92 int modelindex = -1; 92 int modelindex = -1;
93 int absvelocity = -1; // client C_BaseEntity::m_vecAbsVelocity (prediction) 93 int absvelocity = -1; // client C_BaseEntity::m_vecAbsVelocity (prediction)
94 int activeweapon = -1; // client m_hActiveWeapon handle 94 int activeweapon = -1; // client m_hActiveWeapon handle
95 int owner = -1; // client m_hOwnerEntity handle
96 int weapon_owner = -1; // client m_hOwner handle (C_BaseCombatWeapon)
95 // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72 97 // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72
96 bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; } 98 bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; }
97 // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100. 99 // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100.
@@ -212,6 +214,7 @@ extern bool g_spread_no_spread;
212extern bool g_item_health; 214extern bool g_item_health;
213extern bool g_item_ammo; 215extern bool g_item_ammo;
214extern bool g_item_armor; 216extern bool g_item_armor;
217extern bool g_item_weapons;
215extern bool g_item_crates; 218extern bool g_item_crates;
216extern bool g_item_distance; 219extern bool g_item_distance;
217extern int g_item_max_dist; 220extern int g_item_max_dist;