Keep presentation alive across levels and scale UI for widescreen

This commit is contained in:
UnixNight committed 2026-10-25 03:14:04 -04:00
1 parent 113e9a41cc
commit 69d0187a21
26 files changed
+889 -70

No files matched your search

+22
View File
@@ -4,6 +4,28 @@
user-verified Windows rendering checkpoint into an interactive original lab and
jet pack tutorial flow. This is not a verified faithful complete scene or release.
## Persistent window/renderer and widescreen UI
Main now owns one RenderSession. Per-level Run replaces scene resources while
retaining the SDL window and Vulkan core; resize/fullscreen replace size-dependent
targets. Window bounds, focus and fullscreen survive loading. Invalid replacement
validation retains rendering. Per-level audio/gameplay still rebuild; fades remain
unfinished. UiViewport scales art/glyphs uniformly with bottom/right HUD anchors,
centered prompts/F1 and top-left F2. Pointer mapping handles logical/drawable size,
fractional DPI rounding and strict source boundaries.
Nine aspect/resolution fixtures and high-DPI checks pass. Full suite passes with
539 unchanged originals; final targeted viewport checks pass. Native GTX1070:
six loads, one window/renderer, stable native/core IDs and bounds/focus/fullscreen,
restored windowed bounds,4:3 through32:9/fullscreen3440x1440, native Yes/No mapping,
rejected-load retention and zero validation errors (artifacts/window-transition-final.log).
Captures were visually inspected. F1/force and F2 input checks still pass. Actual
headless lab/VR04/lab retains one renderer/revisions1/2/3 and exact RETURN root/
companion at1280x720. Both self-contained packages are rebuilt. The packaged Linux
1920x1080 lab/VR04/lab check also retains one renderer and exact RETURN state
(validation unavailable in that standalone invocation). No new Windows runtime
check is claimed. Details: presentation-and-ui.md.
## User-requested live debug overlay
F2 toggles a compact, non-pausing live diagnostics panel. F1 also offers Live