Add passive F2 diagnostics overlay with persistent session visibility

This commit is contained in:
UnixNight committed 2026-10-25 02:17:40 -04:00
1 parent 20aa1bc2b9
commit 113e9a41cc
17 files changed
+414 -24

No files matched your search

+25
View File
@@ -4,6 +4,31 @@
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.
## User-requested live debug overlay
F2 toggles a compact, non-pausing live diagnostics panel. F1 also offers Live
Overlay and takes display priority while open. The setting/timing object belongs
to the session, preserving visibility across scene rebuilds and resets without
writing original saves. --debug-overlay enables startup visibility.
The12 rows expose FPS/frame time, root/velocity, steering/pose/ground/energy,
control/force/pause, tasks/score/jetpack, actual camera/far plane, active cutscene
and counters/errors. Source camera and orbit projection values reflect rendering.
The existing font/overlay buffers are reused with a smaller content-sized panel.
Targeted model/renderer/diagnostics groups pass. Native Linux GTX1070 SDL checks
pass live movement77.58 travel with visibility/menu/resize checks all true and
zero Vulkan validation errors (artifacts/live-debug-window.log). The prior F1
force-control check still passes. Headless GPU output was visually inspected.
Complete scripts/test.sh passes, including41 Python checks, all managed/gameplay/
GPU/audio regressions and539 unchanged originals (artifacts/live-debug-full-tests.log).
The lab -> VR04 -> lab headless check retains enabled diagnostics with frame
samples1/2/3 and zero Vulkan errors (artifacts/live-debug-return.log); exact RETURN
root/companion placement still passes. Final authored-camera inspection also
renders with zero errors, and targeted camera-mode/layout/timing checks pass.
Both Linux and Windows self-contained packages are rebuilt successfully. No new
Windows/Wine runtime check was run.
## User-requested F1 debug menu
Follow-up: Force Control is now a persistent TRUE/FALSE menu toggle. It overrides