mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
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:
@@ -109,8 +109,10 @@ def main():
|
||||
draw = function(menu, "void draw_menu(ui::Ctx& c, bool perf_under) {")
|
||||
first, dim = draw.index("const int vtx_page = c.d->VtxBuffer.Size;"), draw.index("ui::system_bg(c)")
|
||||
check(first < dim, "the page's first vertex is taken after its background: the background would come at once")
|
||||
fade = "for (int i = vtx_page; mods_in < 1 && i < c.d->VtxBuffer.Size; i++)"
|
||||
check(fade in draw and "if (i < perf0 || i >= perf1) c.d->VtxBuffer[i].col = ui::alpha(c.d->VtxBuffer[i].col, mods_in);" in draw,
|
||||
# ((Triforce, 11-26) Save Select's In the same way, its own Page (files_screen))
|
||||
fade = "for (int i = vtx_page; page_in < 1 && i < c.d->VtxBuffer.Size; i++)"
|
||||
check(fade in draw and "if (i < perf0 || i >= perf1) c.d->VtxBuffer[i].col = ui::alpha(c.d->VtxBuffer[i].col, page_in);" in draw and
|
||||
"const float page_in = page == kFilesPage ? files_screen.alpha(prof_now(), !ease_live || still_in) : mods_in;" in draw,
|
||||
"the page is not faded by the In's amount, or the Full panel fades with it")
|
||||
check(draw.index("panel_between(c.d);") < draw.index(fade) < draw.index("put_on_grid(c.d, vtx0, cmd0, menu_map, window_clip, perf0, perf1);"),
|
||||
"the fade is not over the whole page: after the panel's layer is merged, before the page is put on its grid")
|
||||
|
||||
Reference in New Issue
Block a user