summaryrefslogtreecommitdiffstats
path: root/src/features.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Config: generate save/load/reset from one settings tablesalmonik33 hours1-0/+5
| | | | | | | | | | | 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.
* Headers: split the shared header by declaration groupsalmonik33 hours1-0/+136
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.