summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-06 16:26:47 +0100
committersalmonik <salmonik@tuta.io>2026-11-06 16:26:47 +0100
commit181fee4681e3ec65536dafd8a2093c44bdf8fdba (patch)
treedbd9cfa2f1c3f20c3198237125070204650cf26f
parentESP: finish the split into entity, combat, item and projectile units (diff)
downloadhl2h-181fee4681e3ec65536dafd8a2093c44bdf8fdba.tar.gz
hl2h-181fee4681e3ec65536dafd8a2093c44bdf8fdba.zip
docs: record the esp.cpp split in the plan
-rw-r--r--FIX_PLAN.md19
1 files changed, 13 insertions, 6 deletions
diff --git a/FIX_PLAN.md b/FIX_PLAN.md
index f2dec60..757d93e 100644
--- a/FIX_PLAN.md
+++ b/FIX_PLAN.md
@@ -804,6 +804,14 @@ snapshots, interfaces, netvars, CUserCmd, engine constants, vector math),
804(cross-module declarations), plus `overlay.h` and `hooks.h`. Translation units 804(cross-module declarations), plus `overlay.h` and `hooks.h`. Translation units
805still include `hl2h.h`, so this is a declaration-organisation change only. 805still include `hl2h.h`, so this is a declaration-organisation change only.
806 806
807### Batch 8 — esp.cpp split
808
809`esp.cpp` went from 3665 to ~1000 lines and now only scans and draws. The other
810halves are `entity_query.cpp` (entity lookups, NPC classification, per-map
811caches, session reset), `combat.cpp` (aimbot, silent aim, melee, spread,
812triggerbot), `items.cpp` and `projectiles.cpp`. Cross-unit helpers are declared
813in `esp_internal.h`; nothing changed behaviourally.
814
807### Known remaining work 815### Known remaining work
808 816
809Deliberately deferred, with reasons: 817Deliberately deferred, with reasons:
@@ -813,12 +821,11 @@ Deliberately deferred, with reasons:
813 slot plus a way to get the networkable from a raw entity pointer, or a 821 slot plus a way to get the networkable from a raw entity pointer, or a
814 cached pointer→index map. Not worth the risk for a hot path that fires a few 822 cached pointer→index map. Not worth the risk for a hot path that fires a few
815 times per second. 823 times per second.
816- **P3-2 declarative settings table** — large rewrite of `config_save`, 824- **P3-2 declarative settings table** — the last item. It replaces the
817 `config_load`, `config_reset_defaults` and `build_cards`. It can regress 825 six-place edit per option (header, definition, save, load, reset, GUI) with a
818 config persistence, so it should follow an in-game pass. 826 descriptor table. Unlike the other refactors this one can silently break
819- **P3-3 `esp.cpp` split** — 827 config persistence, so it needs a save → reload → defaults round-trip in-game
820 behaviour-neutral moves with a large diff; best done after the current build 828 after landing.
821 has been validated in-game so a regression is easy to bisect.
822 829
823Nothing in the two batches has been exercised in-game yet. The smoke matrix in 830Nothing in the two batches has been exercised in-game yet. The smoke matrix in
824§5 is the next step: direct map load 10× (P0-1), menu → map → GUI close (P2-5), 831§5 is the next step: direct map load 10× (P0-1), menu → map → GUI close (P2-5),