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

@@ -49,8 +49,8 @@ void hos_log(const char *fmt, ...);
int rx_option(int id, int otherwise);
const char *hos_version(void); /* hos_main.c */
/* (hos_main.c, read on the game's thread while hos_oot_discord_watch is 1: the map Link was last seen in, its state, his stats) */
int hos_oot_current_map(char *out, size_t cap);
int hos_oot_state(int *event, int *loading, int *child);
int hos_oot_discord_map(char *out, size_t cap); /* ((Triforce, 11-27) host/hos_main.c: the copy kept for Discord */
int hos_oot_discord_state(int *event, int *loading, int *child);
int hos_oot_stats(int *life, int *max_life, int *rupees, int *tokens, int *pieces); /* (-1 each when not known) */
int64_t hos_oot_player_seen_ns(void); /* (when Link's update last ran, 0 never) */
void hos_oot_discord_watch(int on);
@@ -244,9 +244,9 @@ static void activity_now(unsigned nonce, long long started, char *json, size_t c
char version[64], build[64], commit[64], release[64], map[96] = "", area[128] = "";
discord_version_parts(hos_version(), version, build, commit, release, sizeof version);
const int game = discord_settings_use_game(&settings);
const int known = game && hos_oot_current_map(map, sizeof map);
const int known = game && hos_oot_discord_map(map, sizeof map);
int event = 0, loading = 0, child = 1;
const int have_age = game && hos_oot_state(&event, &loading, &child);
const int have_age = game && hos_oot_discord_state(&event, &loading, &child);
if (known) hos_oot_area_name(map, area, sizeof area);
/* (not in a map, the title: no location, age or map, so the template's {location|...} part is left out) */
const int in_map = discord_in_map(known, hos_oot_player_seen_ns(), hos_now_ns());