More Cleanup

This commit is contained in:
Christopher Leggett 2022-08-27 18:26:25 -04:00
parent 404a637ebd
commit 6aaef2179b
No known key found for this signature in database
GPG Key ID: 7093AE5FF7037D79
2 changed files with 1 additions and 23 deletions

View File

@ -520,27 +520,6 @@ static void WriteRequiredTrials() {
}
}
// Writes the required trails to the spoiler log, if there are any.
// static void WriteRequiredTrials(tinyxml2::XMLDocument& spoilerLog) {
// auto parentNode = spoilerLog.NewElement("required-trials");
// for (const auto* trial : Trial::trialList) {
// if (trial->IsSkipped()) {
// continue;
// }
// auto node = parentNode->InsertNewChildElement("trial");
// // PURPLE TODO: LOCALIZATION
// std::string name = trial->GetName().GetEnglish();
// name[0] = toupper(name[0]); // Capitalize T in "The"
// node->SetAttribute("name", name.c_str());
// }
// if (!parentNode->NoChildren()) {
// spoilerLog.RootElement()->InsertEndChild(parentNode);
// }
// }
// Writes the intended playthrough to the spoiler log, separated into spheres.
static void WritePlaythrough() {
// auto playthroughNode = spoilerLog.NewElement("playthrough");

View File

@ -3409,8 +3409,7 @@ void DrawRandoEditor(bool& open) {
if (CVar_GetS32("gRandomizeGanonTrial", 0) == 1) {
SohImGui::EnhancementSliderInt("Ganon's Trial Count: %d", "##RandoTrialCount",
"gRandomizeGanonTrialCount", 1, 6, "", 6);
InsertHelpHoverText("Set the number of trials required to enter Ganon's Tower."
"The specific trials you need to complete will be randomly selected.");
InsertHelpHoverText("Set the number of trials required to enter Ganon's Tower.");
}
}