Triforce v0.8.5

A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-28 10:54:41 -06:00
parent 2df08c751e
commit b527e29adb
203 changed files with 18821 additions and 2051 deletions

View File

@@ -129,15 +129,16 @@ def main():
check("const bool game_black = embed_open || page == kModsRowPage;" in dp,
"dim_page: over play (our own background over the bars) the dim is cut black at the picture's edges")
dm = block(menu, "void draw_menu(ui::Ctx& c, bool perf_under) {")
# ((Triforce) but the tuning bar, page 0 alone, over the game seen whole: no dialog there)
check("if (!embed_open && !row && !tuning && !ui::system_bg(c)) c.d->AddRectFilled(ImVec2(0, 0), ImVec2(c.w, c.h), ui::rgba(8, 5, 2, ui::kDimAlpha));" in dm
# ((Triforce) but the tuning bar, page 0 alone, over the game seen whole: no dialog there. (11-26) Nor Save Select over the
# title, whose picture behind is out of focus in its place (vk_framegen.cpp wide_sides): no dialog opens there either)
check("if (!embed_open && !row && !tuning && !blurred && !ui::system_bg(c)) c.d->AddRectFilled(ImVec2(0, 0), ImVec2(c.w, c.h), ui::rgba(8, 5, 2, ui::kDimAlpha));" in dm
and "const bool tuning = tune_mode && page == 0 && !embed_open && !row;" in dm,
"draw_menu: over play our background no longer covers the whole window (dim_page's one rectangle there is for it)")
ask = block(menu, "void draw_quit_ask(ui::Ctx& c) {")
check("dim_window(c.d, menu_map, menu_grid(menu_window_w, menu_window_h), menu_window_w, menu_window_h, ui::rgba(8, 5, 2, 220));" in ask and
"ui::rgba(8, 5, 2, 220));" not in ask.replace("menu_window_h, ui::rgba(8, 5, 2, 220));", ""),
"Quit's dialog: its dim is one rectangle over the whole window, the bars lifted")
for head, dim in (("void draw_ask(ui::Ctx& c) {", "dim_page(c, ui::rgba(8, 5, 2, 110));"),
for head, dim in (("void draw_ask(ui::Ctx& c) {", "dim_page(c, ui::rgba(8, 5, 2, c.over_game ? 215 : 110));"), # ((11-26) darker over the game's own screen
("void mods_dialog(ui::Ctx& c, const char* title,", "dim_page(c, ui::rgba(8, 5, 2, 120));"),
("void mods_keyboard(ui::Ctx& c) {", "dim_page(c, ui::rgba(8, 5, 2, 120));")):
check(dim in block(menu, head), head + " its dim is not dim_page's")