summaryrefslogtreecommitdiffstats
path: root/CONTEXT.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CONTEXT.md22
1 files changed, 10 insertions, 12 deletions
diff --git a/CONTEXT.md b/CONTEXT.md
index e0af84a..5c91b5c 100644
--- a/CONTEXT.md
+++ b/CONTEXT.md
@@ -21,7 +21,7 @@ covers ESP, aimbot, triggerbot and silent aim.
21 - `HL2H_NO_SERVER=1` — disable server-side health reads. 21 - `HL2H_NO_SERVER=1` — disable server-side health reads.
22- Config: `$XDG_CONFIG_HOME/hl2hake/config`, falling back to 22- Config: `$XDG_CONFIG_HOME/hl2hake/config`, falling back to
23 `~/.config/hl2hake/config`. Plain INI, saved on every change. New sections: 23 `~/.config/hl2hake/config`. Plain INI, saved on every change. New sections:
24 `[view]` (camera FOV, viewmodel FOV, gamma x10) and `[movement]` 24 `[view]` (camera FOV, viewmodel FOV, HDR brightness) and `[movement]`
25 (crouch-jump, edge jump). 25 (crouch-jump, edge jump).
26 26
27## Runtime architecture 27## Runtime architecture
@@ -237,19 +237,17 @@ vocabulary / decisions.
237 client netvar every tick. The camera slider is 40..140 (stock 75) and the 237 client netvar every tick. The camera slider is 40..140 (stock 75) and the
238 viewmodel slider 20..120 (stock 54); 0 is not allowed (old configs with 0 238 viewmodel slider 20..120 (stock 54); 0 is not allowed (old configs with 0
239 migrate to the stock value). 239 migrate to the stock value).
240- `viewmodel_fov` and `mat_monitorgamma` are client cvars; applied through 240- `viewmodel_fov` is a client cvar, applied through `ClientCmd` when its
241 `ClientCmd` when their slider changes. Gamma is stored as x10 241 slider changes.
242 (`[view] gamma=22` = 2.2) and the slider stops at 26 because the engine
243 clamps `mat_monitorgamma` at 2.6. The value is read back through
244 `ICvar::FindVar` on the next tick (ClientCmd is queued) and logged. The
245 engine does apply the ramp (`SDL_SetWindowGammaRamp` was called with
246 changing midpoints), but a Wayland/XWayland compositor discards it, so on
247 this setup the slider has no visible effect.
248- `HDR brightness` (`[view] tonemap`, x10, 0 = automatic) sets 242- `HDR brightness` (`[view] tonemap`, x10, 0 = automatic) sets
249 `mat_force_tonemap_scale`. This is in-engine tonemapping for HDR maps and 243 `mat_force_tonemap_scale`. This is in-engine tonemapping for HDR maps and
250 does not depend on the window system applying a gamma ramp; 10 = 1.0. 244 does not depend on the window system; 10 = 1.0. It has no visible effect
251 Both live in the always-on `Camera / display` card 245 while Fullbright is on (fullbright bypasses tonemapping).
252 (`[view] fov/vmfov/gamma/tonemap`). 246- `mat_monitorgamma` was tried and removed: the engine applies the ramp (SDL
247 receives changing midpoints), but Wayland/XWayland compositors discard
248 window gamma ramps, so the slider did nothing on the development setup.
249- Both controls live in the always-on `Camera / display` card
250 (`[view] fov/vmfov/tonemap`).
253 251
254## Map transitions 252## Map transitions
255 253