diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-06 16:30:10 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-06 16:30:10 +0100 |
| commit | e339d1dc45b3113648552b0002e0c15f55e61cb2 (patch) | |
| tree | 4570dc0ba1501ea26e87447d234693ad5532e813 /src/hl2h.h | |
| parent | docs: record the esp.cpp split in the plan (diff) | |
| download | hl2h-e339d1dc45b3113648552b0002e0c15f55e61cb2.tar.gz hl2h-e339d1dc45b3113648552b0002e0c15f55e61cb2.zip | |
Config: generate save/load/reset from one settings table
Every persisted setting now lives in a single descriptor table
(config_table.cpp) with its section, key, type, default and clamp range.
config_save(), config_load() and config_reset_defaults() iterate it, so the
three functions can no longer disagree about defaults or bounds, and the old
hand-written 350-line parser is gone.
Section and key names are unchanged, so existing config files keep loading, and
the duplicated [view] scalar clamp block is replaced by per-entry limits.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
