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

@@ -67,7 +67,7 @@ def main():
check("else if (page == 6) draw_names(k);" in function(menu, "void draw_menu(ui::Ctx& c, bool perf_under) {"), "page 6 is not drawn")
tick = menu[menu.index("void menu_tick() {"):]
branch = tick[tick.index("} else if (open_now.load() && page == 6) {"):]
check("if (mouse) names_mouse(ptr, mx, my, press, changed);" in branch[:400] and "names_press(press, tab_left, tab_right, changed);" in branch[:400],
check("if (mouse) names_mouse(ptr, mx, my, moved, press, changed);" in branch[:400] and "names_press(press, tab_left, tab_right, changed);" in branch[:400],
"page 6 does not take the keys and the mouse")
press = function(menu, "void names_press(")
check(press.index("if (press[5] && names_edit) names_edit = false") < press.index("else if (press[5]) page = 0, changed = true;") < press.index("p.empty()"),
@@ -119,7 +119,8 @@ def main():
# the wheel turns the page shown and moves no choice
mouse = function(menu, "void names_mouse(")
wheel = [line for line in mouse.splitlines() if "ptr.wheel" in line]
check(wheel == [" if (ptr.wheel) p.turn_shown(-ptr.wheel), changed = true;"], "the wheel on a name page does something else than turn the page shown")
# ((Triforce, 11-26) not while its slider is held, which has the mouse then (bar_mouse))
check(wheel == [" if (ptr.wheel && !bar) p.turn_shown(-ptr.wheel), changed = true;"], "the wheel on a name page does something else than turn the page shown")
# nothing before a page is opened: the game's files are read, the folder listed and lines made from the pages alone
code = re.sub(r"//[^\n]*", "", menu)