develop-rando: File Select Fixes (#3734)

* Fixes pressing B on name entry after randomizer quest.

* Reverts to auto parsing previous spoiler file.

Also includes an option to press L to automatically gen a fresh seed. It still does regenerate the old spoiler to regen the hints in the user's current language, but it will now automatically do this instead of requiring dragging and dropping the spoiler every time.

* Fixes bug causing rando settings to come from CVars instead of a spoiler file when a spoiler is dropped/imported on boot.

* Pressing Generate Randomizer in ImGui doesn't use loaded spoilerfile.

* Adds tooltip to Generate Randomizer ImGui Button.
This commit is contained in:
Christopher Leggett 2023-12-26 09:57:59 -05:00 committed by GitHub
commit f74ba3c1da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 40 additions and 26 deletions

View file

@ -370,7 +370,7 @@ void Context::ParseSpoiler(const char* spoilerFileName, const bool plandoMode) {
mSpoilerLoaded = true;
mSeedGenerated = false;
} catch (...) {
throw;
LUSLOG_ERROR("Failed to load Spoiler File: %s", spoilerFileName);
}
}