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:
@@ -130,6 +130,11 @@ static volatile int fps_row_asked = -100;
|
||||
enum { HOS_OPT_N64_FPS = 61 };
|
||||
enum { HOS_OPT_EVIL_HD = 420 }; /* ((Triforce) Evil HD's render distance: host/evil_hd.c, tests/test_evil_hd_foliage.py) */
|
||||
void hos_evil_hd_tick(int row) { (void)row; }
|
||||
/* ((Triforce, 11-26) the Steady row and the Render resolution as the menu applies them: none answered here, the file's row) */
|
||||
enum { HOS_OPT_STEADY_ROW = 430, HOS_OPT_RES_HELD = 431 };
|
||||
#include "res_follow.h"
|
||||
int hos_rt_pool_pinned(void) { return 0; }
|
||||
void rx_option_set(int id, int value) { (void)id; (void)value; }
|
||||
static volatile long long presents;
|
||||
volatile uint64_t hos_gfx_module = MOD;
|
||||
volatile int hos_fixed_resolution, hos_dynres_runs;
|
||||
@@ -258,8 +263,9 @@ def main():
|
||||
check("const int raise = movie_pace_raise(on, fps_max(), steady != PACE_STEADY_OFF, movie_plays());" in decide
|
||||
and "movie_raise = raise;" in decide, "the decision is not the rule's, from the cap, the Steady row and the movie's stamp")
|
||||
steady = block(vi, "static int64_t steady_period(int64_t base, int64_t now) {")
|
||||
for read in ('getenv("HOS_FPS_STEADY");', 'e && *e ? atoi(e) : hos_ini_option("steady_frame_rate", PACE_STEADY_OFF);'):
|
||||
check(read in decide and read in steady, "the decision does not read the Steady frame rate row as steady_period does: " + read)
|
||||
# ((Triforce, 11-26) both by steady_mode, the row as it is now each present: tests/test_menu_apply.py)
|
||||
check("steady = steady_mode();" in decide and "const int want = steady_mode();" in steady,
|
||||
"the decision does not read the Steady frame rate row as steady_period does: steady_mode")
|
||||
check("if (cap != fps_max()) {" in steady and "pace_fps()" not in steady, "the Steady frame rate row no longer goes by the cap itself")
|
||||
check("return seen && hos_now_ns() - seen < 250000000LL;" in block(vi, "static int movie_plays(void) {"),
|
||||
"a movie no longer plays for a quarter second after its player's update")
|
||||
@@ -290,7 +296,7 @@ def main():
|
||||
movie = vi[vi.index("static volatile LONG64 movie_seen_ns;"):vi.index("static int pace_handed(void) {")]
|
||||
host = "\n".join([block(vi, "static int fps_cap_of("), block(vi, "static int fps_max(void) {"), movie, "static int movie_raise;",
|
||||
"static int n64_rate;", block(vi, "static int pace_fps(void) {"), block(vi, "static void n64_pace_decide(void) {"),
|
||||
decide, block(vi, "static float text_scale("),
|
||||
block(vi, "static int steady_mode(void) {"), decide, block(vi, "static float text_scale("),
|
||||
block(vi, "static int realtime_rate("), step])
|
||||
with tempfile.TemporaryDirectory(prefix="movie-pace-") as tmp:
|
||||
src, exe = Path(tmp) / "rules.c", Path(tmp) / "rules.exe"
|
||||
|
||||
Reference in New Issue
Block a user