summaryrefslogtreecommitdiffstats
path: root/docs/adr
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-27 18:09:19 +0100
committersalmonik <salmonik@tuta.io>2026-10-27 18:09:19 +0100
commit3fae02c7d342981c9910db7715305bc57b261a8b (patch)
treef221907effb1f84dfa3e639e3c2966e432e15c10 /docs/adr
parentGUI: add F2 preview shell with dummy controls (diff)
downloadhl2h-3fae02c7d342981c9910db7715305bc57b261a8b.tar.gz
hl2h-3fae02c7d342981c9910db7715305bc57b261a8b.zip
GUI: allow movement while open; freeze look and block bind capture
Feedback pass on the preview shell: - Freeze the rendered view explicitly in CreateMove and again at FRAME_RENDER_START; CInput was still letting mouse look move the camera. - Allow normal WASD/jump/duck movement while the GUI is open; strip attack/use/impulse/weapon selection so GUI clicks do not fire. - While bind capture is active, block all game input. - Esc no longer closes the GUI; it only cancels bind capture. F2 or the title-bar X close the preview. - Interpose SDL_ShowCursor / SDL_SetRelativeMouseMode / warp / window grab so the game cannot re-capture or hide the native cursor while the GUI is open.
Diffstat (limited to '')
-rw-r--r--docs/adr/0001-custom-isurface-gui.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/adr/0001-custom-isurface-gui.md b/docs/adr/0001-custom-isurface-gui.md
index 9da3c0c..9595ca8 100644
--- a/docs/adr/0001-custom-isurface-gui.md
+++ b/docs/adr/0001-custom-isurface-gui.md
@@ -38,8 +38,9 @@ path.
38- Left sidebar categories (Movement, Combat, Visuals, Weapons, System) and a 38- Left sidebar categories (Movement, Combat, Visuals, Weapons, System) and a
39 content pane of feature cards with collapsible settings. 39 content pane of feature cards with collapsible settings.
40- Native OS cursor by releasing SDL relative-mouse mode while the GUI is open. 40- Native OS cursor by releasing SDL relative-mouse mode while the GUI is open.
41- While open, freeze usercmd input/view and skip combat features; keep the 41- While open, freeze look/attack/use and skip combat features, but allow
42 game simulating and keep ESP/FOV circle/speed graph drawing. 42 normal movement; bind capture blocks all game input. Keep the game
43 simulating and keep ESP/FOV circle/speed graph drawing.
43- Replace the text menu with the GUI. No permanent fallback menu; git history 44- Replace the text menu with the GUI. No permanent fallback menu; git history
44 retains the old implementation. 45 retains the old implementation.
45 46