Redraw the in-game menu with the game's own interface textures, and bring in the launcher's save import and faster builds.

In-game menu: the settings window, its tabs, rows, buttons and cursor, the performance overlay and the Preparing
shaders box are drawn with the game's interface textures where the RomFS holds them (runtime/ui/menu_skin.cpp,
perf_panel.cpp; plain shapes until they are decoded). Restart joins Continue and Quit, each behind a confirmation;
VSync is an on/off switch; DLSS is listed only on NVIDIA GPUs; the menu sounds are quieter; Picture shape is gone and
the setting descriptions are shorter; edge cases of input, layout and fonts are fixed. tools/menu_preview.py draws the
menu without the game.

Launcher: Import Saves takes a save from the game folder's saves/ folder or one the player picks; downloads fall back
to Windows' own certificate check when Python's refuses a server; updates are faster; the title bar is drawn in the
window and Navi is every icon. tools/make_game.py builds with CLANG64's clang where the launcher installed it, packs
the RomFS beside the lift and the compile, takes a prebuilt runtime, and compiles the game's resources without cmd.exe,
so a user folder with a space in its name builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-08 03:57:01 -05:00
parent 5b28da3a06
commit 8daedbd806
42 changed files with 4138 additions and 972 deletions

View File

@@ -3,11 +3,21 @@
#include "imgui.h"
typedef enum {
MENU_ART_CURSOR_GLOW, // the glow of the game's button cursor (white mask; tinted by the caller)
MENU_ART_CURSOR_LINE, // its outline
MENU_ART_FRAME_DECO, // a frame with ornamented corners
MENU_ART_GUIDE_BAR, // the control guide's bar
MENU_ART_WINDOW_BASE, // a rounded window base
// the layers of the save menu's Load and Cancel button, in drawing order; white masks except for the grain
MENU_ART_BTN_RIM, // a soft line along the button's edge, reaching outside it
MENU_ART_BTN_FILL, // the button's shape
MENU_ART_BTN_GRAIN, // the mottling: light at the edge, dark and speckled in the middle
MENU_ART_BTN_EDGE, // the light edge
MENU_ART_BTN_LINE, // the inset line, a diamond and a curl at alternate corners
MENU_ART_CURSOR_GLOW, // the options cursor's soft glow
MENU_ART_CURSOR_LINE, // the options cursor's white frame (skin_art_prepare cuts it out of the texture)
MENU_ART_PANEL_FILL, // a dark brown panel
MENU_ART_DIVIDER, // the options menu's divider ornament
MENU_ART_DIVIDER_LINE, // the line beside the ornament, ending in a dot
MENU_ART_TAB_SELECT, // the plate of the selected category in the game's menu header
MENU_ART_COUNT
} MenuArt;