summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-26 17:53:40 +0100
committersalmonik <salmonik@tuta.io>2026-10-26 17:53:40 +0100
commitd164e3373108d0c0f83452fbea22f8569b84eec6 (patch)
tree141999a0ac933728382f344c56f009cb0464b044 /src/hl2h.h
parentConfig: store in $XDG_CONFIG_HOME/hl2hake/config (diff)
downloadhl2h-d164e3373108d0c0f83452fbea22f8569b84eec6.tar.gz
hl2h-d164e3373108d0c0f83452fbea22f8569b84eec6.zip
Docs/cleanup: refresh CONTEXT, update ISurface status, remove dead code
- rewrite CONTEXT.md for the current architecture, interfaces, netvars, menu tree, bones/ESP, aimbot/vischeck, triggerbot, silent aim and ABH - update ISURFACE_STATUS.md: DrawLine slot, current menu/config path, 9 build TUs, current file layout - remove the stale root-level `tree` file - drop unused class_health_off/per-class health scan (NPC HP is not networked), surf_call_slot, and unused scancode helpers
Diffstat (limited to '')
-rw-r--r--src/hl2h.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index a08f029..37c849f 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -168,7 +168,6 @@ void fix_verified_crc(int seq, uint32_t crc);
168uint32_t usercmd_checksum(const CUserCmd *c); 168uint32_t usercmd_checksum(const CUserCmd *c);
169bool find_input_global(); 169bool find_input_global();
170void resolve_netvars(); 170void resolve_netvars();
171int class_health_off(const char *name);
172bool resolve_server_netvars(); 171bool resolve_server_netvars();
173int server_entity_health(int idx, int *maxhealth, int *lifestate, void **base_out); 172int server_entity_health(int idx, int *maxhealth, int *lifestate, void **base_out);
174int server_model_index(void *base); 173int server_model_index(void *base);
@@ -203,10 +202,6 @@ bool head_position(int idx, Vector &out);
203int aim_points(int idx, unsigned group_mask, Vector *out, int max); 202int aim_points(int idx, unsigned group_mask, Vector *out, int max);
204 203
205void outer_draw(); 204void outer_draw();
206// raw ISurface slot calls used by the PaintTraverseEx hook (hl2h.cpp)
207using SurfFn = void (*)(void *, ...);
208long surf_call_slot(void *surf, int slot, long a1 = 0, long a2 = 0);
209
210// ISurface pointer (defined in menu.cpp, used for drawing tests) 205// ISurface pointer (defined in menu.cpp, used for drawing tests)
211struct ISurface; 206struct ISurface;
212extern ISurface *g_surface; 207extern ISurface *g_surface;