From 6aaef2179bbe26485973ab6552a9b22e514f12c6 Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Sat, 27 Aug 2022 18:26:25 -0400 Subject: [PATCH] More Cleanup --- .../randomizer/3drando/spoiler_log.cpp | 21 ------------------- .../Enhancements/randomizer/randomizer.cpp | 3 +-- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp index 332fbb9e1..63230c2d1 100644 --- a/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/spoiler_log.cpp @@ -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"); diff --git a/soh/soh/Enhancements/randomizer/randomizer.cpp b/soh/soh/Enhancements/randomizer/randomizer.cpp index 4dea6642c..a433f0b3c 100644 --- a/soh/soh/Enhancements/randomizer/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer.cpp @@ -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."); } }