summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hl2h.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index fd7a863..779a241 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -96,6 +96,7 @@ struct NetVars {
96 int activeweapon = -1; // client m_hActiveWeapon handle 96 int activeweapon = -1; // client m_hActiveWeapon handle
97 int owner = -1; // client m_hOwnerEntity handle 97 int owner = -1; // client m_hOwnerEntity handle
98 int weapon_owner = -1; // client m_hOwner handle (C_BaseCombatWeapon) 98 int weapon_owner = -1; // client m_hOwner handle (C_BaseCombatWeapon)
99 int clr_render = -1; // client m_clrRender (entity render colour)
99 // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72 100 // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72
100 bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; } 101 bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; }
101 // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100. 102 // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100.
@@ -296,6 +297,7 @@ int engine_get_local_player();
296void draw_text_col(int x, int y, const char *s, int r, int g, int b); 297void draw_text_col(int x, int y, const char *s, int r, int g, int b);
297void esp_draw(); 298void esp_draw();
298void esp_draw_items(); 299void esp_draw_items();
300void prop_tint_update();
299bool world_to_screen(const Vector &w, float &sx, float &sy); 301bool world_to_screen(const Vector &w, float &sx, float &sy);
300void set_silent_restore(const QAngle &angles); 302void set_silent_restore(const QAngle &angles);
301bool is_visible(const Vector &eye, const Vector &point, 303bool is_visible(const Vector &eye, const Vector &point,