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

@@ -77,11 +77,12 @@ int main(int argc, char** argv) {
p.asked = true; // (asked, the answer alone counts: a slow hit is a hit)
CHECK(!cold(p));
}
// the sample: 24 answers, 12 cold is cold, 11 warm; 15 answers say nothing, 16 do
CHECK(verdict(tally(sample(12, 12))) == Verdict::Cold && verdict(tally(sample(11, 13))) == Verdict::Warm);
// the sample: 24 answers, 5 cold is cold (a fifth), 4 warm; 15 answers say nothing, 16 do
CHECK(verdict(tally(sample(5, 19))) == Verdict::Cold && verdict(tally(sample(4, 20))) == Verdict::Warm);
CHECK(verdict(tally(sample(13, 17))) == Verdict::Cold); /* (11-27: a player's 13 of 30 missing) */
CHECK(verdict(tally(sample(15, 0, 9))) == Verdict::Unknown && verdict(tally(sample(16, 0, 8))) == Verdict::Cold);
CHECK(verdict(tally(sample(0, 15))) == Verdict::Unknown && verdict(tally(sample(0, 16))) == Verdict::Warm);
CHECK(verdict(tally(sample(8, 8))) == Verdict::Cold && verdict(tally(sample(7, 9))) == Verdict::Warm);
CHECK(verdict(tally(sample(4, 12))) == Verdict::Cold && verdict(tally(sample(3, 13))) == Verdict::Warm);
CHECK(verdict(tally({})) == Verdict::Unknown);
{
const Tally t = tally(sample(5, 7, 3));
@@ -259,10 +260,10 @@ int main(int argc, char** argv) {
CHECK(!run() && !built_check::state_read(state).found);
// the threshold: the first 24 recorded notes are asked (40 notes, under kLook); computes left out here
graphics_cache.clear();
for (uint64_t k = 13; k <= 40; k++) graphics_cache.insert(k); // (1-12 lost: 12 of 24)
CHECK(run(false) && has("12 of 24"));
graphics_cache.insert(12); // (11 of 24)
CHECK(!run(false) && has("11 of 24"));
for (uint64_t k = 6; k <= 40; k++) graphics_cache.insert(k); // (1-5 lost: 5 of 24, a fifth: 11-27)
CHECK(run(false) && has("5 of 24"));
graphics_cache.insert(5); // (4 of 24)
CHECK(!run(false) && has("4 of 24"));
// too few answers: 9 refused leave 15, 8 leave 16
graphics_cache.clear();
for (uint64_t k = 1; k <= 9; k++) refused.insert(k);