Triforce v0.5.2

The new launcher (Windows and Linux: the game's own look, music and settings, saves and mods pages, smaller updates in parts), benchmark mode (Find my best settings: the game tours four places by itself and writes its results), Quit and Restart in the pause menu under Mods, Squadala! in the Mods menu, battle music above 60 fps, menu text, the controller in the menus with the game in the background, the whole GameBanana list, RX 580 and RX 5000/6000 shader fixes, the pipeline cache kept through an update, async present black flashes, and faster builds.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-19 10:52:50 -06:00
parent a750a21025
commit fb26495475
167 changed files with 21552 additions and 293 deletions

View File

@@ -37,6 +37,10 @@ struct Mod {
void* texture = nullptr; // (ImTextureData*, the menu's)
// (installed: a folder in mods with this mod's id in its triforce_mod.json; update: a file newer than the one installed)
bool installed = false, update = false;
// ((Triforce) 11-18) wip: posted on GameBanana as a WiP (a work in progress with files: many are mods all the same; its
// ids are its own, Wip/<id>). kit: a program of its own on the kits list (vk_mods.cpp kKits), not a romfs mod: installed
// into kits\<its folder> beside the game and started from there (Squadala!, the online co-op)
bool wip = false, kit = false;
};
enum class Feed { Idle, Loading, Ready, Failed };
@@ -48,6 +52,7 @@ struct InstallState {
std::string mod_name, file_name, message; // (message: why it failed, or what was installed where)
uint64_t done = 0, total = 0;
double rate = 0; // (bytes a second, smoothed)
bool kit = false; // ((Triforce) 11-18) a kit's: Done = started in its own window (no restart)
};
/// Whether this build can browse and install (Windows: yes; Linux: not yet)
@@ -62,8 +67,10 @@ void lock();
void unlock();
Feed feed_state(std::string* error = nullptr);
bool more(); // (GameBanana has more pages than the list holds)
void load_more(); // (the next page, when none is loading)
int total(); // (GameBanana's count: the section's submissions, mods and others; a search's results, about)
/// ((Triforce) 11-18) The next page, when none is loading or queued. Pages come one after another by themselves from open()
/// and search() until the list is whole; this only starts again a list that stopped on a failed page
void load_more();
int total(); // (GameBanana's count: the section's mods and WiPs; a search's results, about)
/// ((Triforce) 11-17) A search of the section's mods: GameBanana's own (whole words, best matches first), then a part of a
/// name when that finds none. Fewer than 2 characters (trimmed) ends the search. The list is its results until search_clear,
/// which goes back to the section's list as it was. Both return the textures of the pictures of the results let go (the