diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-06 16:21:27 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-06 16:21:27 +0100 |
| commit | 3c27e7ce262e612fa75c6e6f090e04041a688861 (patch) | |
| tree | 1c2bfd6accea27904dc9d81a61624905b220a8a0 /FIX_PLAN.md | |
| parent | Hooks: central vtable install with restore support (diff) | |
| download | hl2h-3c27e7ce262e612fa75c6e6f090e04041a688861.tar.gz hl2h-3c27e7ce262e612fa75c6e6f090e04041a688861.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | FIX_PLAN.md | 10 |
1 files changed, 9 insertions, 1 deletions
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()` | |||
| 796 | puts every interface back, which previously was impossible. Client, CInput, | 796 | puts every interface back, which previously was impossible. Client, CInput, |
| 797 | IVModelRender, IStudioRender and ISurface all go through it now. | 797 | IVModelRender, IStudioRender and ISurface all go through it now. |
| 798 | 798 | ||
| 799 | ### Batch 7 — header split | ||
| 800 | |||
| 801 | `hl2h.h` is now an umbrella over `core.h` (logging, init stage, module | ||
| 802 | snapshots, interfaces, netvars, CUserCmd, engine constants, vector math), | ||
| 803 | `settings.h` (feature ids, feature state, every user setting) and `features.h` | ||
| 804 | (cross-module declarations), plus `overlay.h` and `hooks.h`. Translation units | ||
| 805 | still include `hl2h.h`, so this is a declaration-organisation change only. | ||
| 806 | |||
| 799 | ### Known remaining work | 807 | ### Known remaining work |
| 800 | 808 | ||
| 801 | Deliberately deferred, with reasons: | 809 | Deliberately deferred, with reasons: |
| @@ -808,7 +816,7 @@ Deliberately deferred, with reasons: | |||
| 808 | - **P3-2 declarative settings table** — large rewrite of `config_save`, | 816 | - **P3-2 declarative settings table** — large rewrite of `config_save`, |
| 809 | `config_load`, `config_reset_defaults` and `build_cards`. It can regress | 817 | `config_load`, `config_reset_defaults` and `build_cards`. It can regress |
| 810 | config persistence, so it should follow an in-game pass. | 818 | config persistence, so it should follow an in-game pass. |
| 811 | - **P3-3 `esp.cpp` split**, **P3-5 header split** — | 819 | - **P3-3 `esp.cpp` split** — |
| 812 | behaviour-neutral moves with a large diff; best done after the current build | 820 | behaviour-neutral moves with a large diff; best done after the current build |
| 813 | has been validated in-game so a regression is easy to bisect. | 821 | has been validated in-game so a regression is easy to bisect. |
| 814 | 822 | ||
