diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-26 17:53:40 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-26 17:53:40 +0100 |
| commit | d164e3373108d0c0f83452fbea22f8569b84eec6 (patch) | |
| tree | 141999a0ac933728382f344c56f009cb0464b044 /src/hl2h.h | |
| parent | Config: store in $XDG_CONFIG_HOME/hl2hake/config (diff) | |
| download | hl2h-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.h | 5 |
1 files changed, 0 insertions, 5 deletions
| @@ -168,7 +168,6 @@ void fix_verified_crc(int seq, uint32_t crc); | |||
| 168 | uint32_t usercmd_checksum(const CUserCmd *c); | 168 | uint32_t usercmd_checksum(const CUserCmd *c); |
| 169 | bool find_input_global(); | 169 | bool find_input_global(); |
| 170 | void resolve_netvars(); | 170 | void resolve_netvars(); |
| 171 | int class_health_off(const char *name); | ||
| 172 | bool resolve_server_netvars(); | 171 | bool resolve_server_netvars(); |
| 173 | int server_entity_health(int idx, int *maxhealth, int *lifestate, void **base_out); | 172 | int server_entity_health(int idx, int *maxhealth, int *lifestate, void **base_out); |
| 174 | int server_model_index(void *base); | 173 | int server_model_index(void *base); |
| @@ -203,10 +202,6 @@ bool head_position(int idx, Vector &out); | |||
| 203 | int aim_points(int idx, unsigned group_mask, Vector *out, int max); | 202 | int aim_points(int idx, unsigned group_mask, Vector *out, int max); |
| 204 | 203 | ||
| 205 | void outer_draw(); | 204 | void outer_draw(); |
| 206 | // raw ISurface slot calls used by the PaintTraverseEx hook (hl2h.cpp) | ||
| 207 | using SurfFn = void (*)(void *, ...); | ||
| 208 | long 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) |
| 211 | struct ISurface; | 206 | struct ISurface; |
| 212 | extern ISurface *g_surface; | 207 | extern ISurface *g_surface; |
