Repository navigation
Show the overlays and shortcuts in one compact corner panel - #17
Merged
Merged
Conversation
The FPS, shader and load lines were drawn into three corners of the picture and the shortcuts sat in a large box in the middle of the window. By default they now share one small box in the window's top-right corner: the three lines in a 10.5 pt monospaced font (the shader line still turns yellow when something new was collected) above the shortcuts in 10 pt. Key 1 still shows and hides everything. TOTK_HUD=corners keeps the previous layout; iOS is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Owner
|
挺好 |
tvc97
added a commit
to tvc97/MacNativeGames
that referenced
this pull request
Oct 19, 2026
…05010419#30) Brings in upstream ly05010419#29 (bounded pipeline prediction without translation, stale guesses reclaimed) and ly05010419#30 (in-game libraries and pipelines in the background, plus the present residency and compile-options fixes). Conflict resolution in nvn_mtl.m / hle_nvn.c: took the branch side, re-applied what main has since ly05010419#29's base (ly05010419#13 warm_precompile, ly05010419#17 compact HUD), and kept main's prebuilt-library hit/miss diagnostic. Our earlier prediction-table drain (pso_pend_drain into g_pso, prog_get_cached, mtl_pp_stats and its log line) is replaced by ly05010419#29's version. It no longer skips pso_user.tsv for drained pipelines. Checked: make runtime-v143 (58 warnings, none new), 38 source tests, probe-gfx pass, 3 empty-cache async boots without a GPU fault. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ly05010419
added a commit
that referenced
this pull request
Oct 19, 2026
FPS, shader count, system load and the shortcut reminder now share one small box in the window's top-right corner instead of being drawn into the picture; TOTK_HUD=corners keeps the old layout and iOS is unchanged. Conflicts: frontend.m keeps the shortened English interpolation line; the README keeps the Mac-only wording and the iOS touch controls. The Command-Q probe gets stubs for hud_compact and hud_snapshot. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AZC16EYkS2AmLMgumTJaXJ
ly05010419
added a commit
that referenced
this pull request
Oct 19, 2026
GitHub's merge of PR #17; the same commits were already merged here (c5a12fb), so the files do not change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AZC16EYkS2AmLMgumTJaXJ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #12 (English UI). This branch is built on it, so the first two commits here (
2c47034,bbacef6) are #12's. Once #12 merges, only the last two remain.What it changes
The in-game readings were spread out: FPS top-right, shader count bottom-left and CPU/GPU load bottom-right, each in its own box drawn into the picture. The shortcut reminder sat in a large box in the middle of the window. Now, by default, they share one small panel in the window's top-right corner:
TOTK_HUD=cornersrestores the previous layout exactly. iOS is unchanged (hud_compact()defaults off there).How
fps_overlay.c:fps_overlay_text()(the FPS line text, now shared by the raster path) and a small mutex-protected line store (hud_publish/hud_snapshot).nvn_mtl.m: in compact mode,fps_overlay_prepare,shader_overlay_prepareandload_overlay_preparepublish their text and skip drawing into the picture. The texts, colours and enable switches (TOTK_FPS_OVERLAY,TOTK_SHADER_OVERLAY,TOTK_LOAD_OVERLAY) are unchanged.frontend.m:TOTKShortcutHelpbecomes the panel. It refreshes twice a second, sizes itself to its text and stays pinned to the top-right corner. In corners mode it is the original centred box.Testing
tests/fps_overlayprobe passes (706 checks).TOTK_HUD=cornersin a live game. That path only adds thehud_compact()checks around the existing drawing code.🤖 Generated with Claude Code