From 3c27e7ce262e612fa75c6e6f090e04041a688861 Mon Sep 17 00:00:00 2001 From: salmonik Date: Fri, 6 Nov 2026 16:21:27 +0100 Subject: Headers: split the shared header by declaration group hl2h.h becomes an umbrella over core.h (logging, init stage, module snapshots, interfaces, netvars, CUserCmd, engine constants, vector math), settings.h (feature ids, feature state, user settings) and features.h (cross-module declarations). Translation units keep including hl2h.h, so this only moves declarations. --- FIX_PLAN.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'FIX_PLAN.md') diff --git a/FIX_PLAN.md b/FIX_PLAN.md index 3ebbd17..f2dec60 100644 --- a/FIX_PLAN.md +++ b/FIX_PLAN.md @@ -796,6 +796,14 @@ installs happen from the setup, game and paint threads. `hooks_restore_all()` puts every interface back, which previously was impossible. Client, CInput, IVModelRender, IStudioRender and ISurface all go through it now. +### Batch 7 — header split + +`hl2h.h` is now an umbrella over `core.h` (logging, init stage, module +snapshots, interfaces, netvars, CUserCmd, engine constants, vector math), +`settings.h` (feature ids, feature state, every user setting) and `features.h` +(cross-module declarations), plus `overlay.h` and `hooks.h`. Translation units +still include `hl2h.h`, so this is a declaration-organisation change only. + ### Known remaining work Deliberately deferred, with reasons: @@ -808,7 +816,7 @@ Deliberately deferred, with reasons: - **P3-2 declarative settings table** — large rewrite of `config_save`, `config_load`, `config_reset_defaults` and `build_cards`. It can regress config persistence, so it should follow an in-game pass. -- **P3-3 `esp.cpp` split**, **P3-5 header split** — +- **P3-3 `esp.cpp` split** — behaviour-neutral moves with a large diff; best done after the current build has been validated in-game so a regression is easy to bisect. -- cgit v1.2.3