diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-27 18:09:19 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-27 18:09:19 +0100 |
| commit | 3fae02c7d342981c9910db7715305bc57b261a8b (patch) | |
| tree | f221907effb1f84dfa3e639e3c2966e432e15c10 /src/bones.cpp | |
| parent | GUI: add F2 preview shell with dummy controls (diff) | |
| download | hl2h-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 '')
0 files changed, 0 insertions, 0 deletions
