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 13af3d2..98d93f4 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -51,6 +51,7 @@ struct GameInterfaces {
51 void *modelinfo = nullptr; // IVModelInfoClient006 (model index -> model name) 51 void *modelinfo = nullptr; // IVModelInfoClient006 (model index -> model name)
52 void *engineserver = nullptr; // IVEngineServer021 (edict access, incl. server entities) 52 void *engineserver = nullptr; // IVEngineServer021 (edict access, incl. server entities)
53 void *debugoverlay = nullptr; // IVDebugOverlay003 (engine-accurate world->screen) 53 void *debugoverlay = nullptr; // IVDebugOverlay003 (engine-accurate world->screen)
54 void *enginetrace = nullptr; // EngineTraceClient003 (world vischeck)
54}; 55};
55extern GameInterfaces g_iface; 56extern GameInterfaces g_iface;
56 57
@@ -168,11 +169,13 @@ bool esp_option(int opt);
168bool bhop_autostrafe_enabled(); 169bool bhop_autostrafe_enabled();
169unsigned aimbot_bone_mask(); 170unsigned aimbot_bone_mask();
170int aimbot_smooth_step(); 171int aimbot_smooth_step();
172bool aimbot_vischeck_enabled();
171void *entitylist_get(int idx); 173void *entitylist_get(int idx);
172int engine_get_local_player(); 174int engine_get_local_player();
173void draw_text_col(int x, int y, const char *s, int r, int g, int b); 175void draw_text_col(int x, int y, const char *s, int r, int g, int b);
174void esp_draw(); 176void esp_draw();
175bool world_to_screen(const Vector &w, float &sx, float &sy); 177bool world_to_screen(const Vector &w, float &sx, float &sy);
178bool is_visible(const Vector &eye, const Vector &point);
176 179
177// bones.cpp — client-side animated skeleton / hitbox access (see there) 180// bones.cpp — client-side animated skeleton / hitbox access (see there)
178bool bones_update(int idx, void *ent); 181bool bones_update(int idx, void *ent);