summaryrefslogtreecommitdiffstats
path: root/docs/adr
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-27 18:21:13 +0100
committersalmonik <salmonik@tuta.io>2026-10-27 18:21:13 +0100
commit304441c71997ee61e618146f4d4302c6d2b952ad (patch)
treee7a00d279b257f88e7a590da59023533cae6ae80 /docs/adr
parentGUI: allow movement while open; freeze look and block bind capture (diff)
downloadhl2h-304441c71997ee61e618146f4d4302c6d2b952ad.tar.gz
hl2h-304441c71997ee61e618146f4d4302c6d2b952ad.zip
GUI: Insert-only close, freeze mouse look at the source
Feedback pass: - Insert now toggles the GUI; the old text tree moved to F1. - Remove the title-bar X. Insert is the only close path; Esc only cancels bind capture. - Discard accumulated mouse deltas in CInput::CreateMove before the game can apply them (CInput::ClearStates), so the camera no longer moves for a frame and snaps back. Also skip ExtraMouseSample and zero relative mouse state while the GUI is open. - Strip attack/use/impulse/weapon selection from the command while open; keep jump, duck and walk. Skip combat command edits (spread seed) too. - Widen System page buttons so "Reload config" and "Reset defaults" fit. - Update CONTEXT/ADR for the Insert-only close behavior.
Diffstat (limited to '')
-rw-r--r--docs/adr/0001-custom-isurface-gui.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/adr/0001-custom-isurface-gui.md b/docs/adr/0001-custom-isurface-gui.md
index 9595ca8..5525844 100644
--- a/docs/adr/0001-custom-isurface-gui.md
+++ b/docs/adr/0001-custom-isurface-gui.md
@@ -54,6 +54,6 @@ path.
54- The GUI remains inside the engine's VGUI paint path, so it inherits the 54- The GUI remains inside the engine's VGUI paint path, so it inherits the
55 existing font registration and in-game overlay behavior. 55 existing font registration and in-game overlay behavior.
56- The old text menu is removed once the GUI reaches feature parity. During 56- The old text menu is removed once the GUI reaches feature parity. During
57 development the GUI is built alongside the text menu and opened with a 57 development the GUI is built alongside the text menu; Insert toggles the
58 temporary F2 key; the replacement is complete only when the old tree is 58 GUI and F1 keeps the old tree accessible. The replacement is complete only
59 deleted. 59 when the old tree is deleted.