ImGui/Commented out code cleanup.

This commit is contained in:
Christopher Leggett 2022-08-27 14:27:02 -04:00
parent 1bf8423f75
commit ff0ef4a6b4
No known key found for this signature in database
GPG Key ID: 7093AE5FF7037D79
2 changed files with 1 additions and 15 deletions

View File

@ -2518,17 +2518,7 @@ namespace Settings {
BridgeDungeonCount.SetSelectedIndex(cvarSettings[RSK_RAINBOW_BRIDGE_DUNGEON_COUNT]);
BridgeTokenCount.SetSelectedIndex(cvarSettings[RSK_RAINBOW_BRIDGE_TOKEN_COUNT]);
RandomGanonsTrials.SetSelectedIndex(cvarSettings[RSK_RANDOM_TRIALS]);
// RANDTODO: Switch this back once Ganon's Trials Count is properly implemented.
GanonsTrialsCount.SetSelectedIndex(cvarSettings[RSK_TRIAL_COUNT]);
// switch (cvarSettings[RSK_TRIAL_COUNT]) {
// case 0:
// GanonsTrialsCount.SetSelectedIndex(6);
// break;
// case 1:
// GanonsTrialsCount.SetSelectedIndex(0);
// break;
// }
ShuffleRewards.SetSelectedIndex(cvarSettings[RSK_SHUFFLE_DUNGEON_REWARDS]);
ShuffleSongs.SetSelectedIndex(cvarSettings[RSK_SHUFFLE_SONGS]);
Tokensanity.SetSelectedIndex(cvarSettings[RSK_SHUFFLE_TOKENS]);

View File

@ -3399,17 +3399,13 @@ void DrawRandoEditor(bool& open) {
PaddedSeparator();
// Random Ganon's Trials
ImGui::Text("Random Ganon's Trials");
SohImGui::EnhancementCheckbox("Random Ganon's Trials", "gRandomizeGanonTrial");
InsertHelpHoverText("Sets a random number or required trials to enter\nGanon's Tower.");
InsertHelpHoverText("Sets a random number or required trials to enter Ganon's Tower.");
if (CVar_GetS32("gRandomizeGanonTrial", 0) == 0) {
SohImGui::EnhancementSliderInt("Ganon's Trial Count: %d", "##RandoTrialCount",
"gRandomizeGanonTrialCount", 0, 6, "", 6);
InsertHelpHoverText("Set the number of trials required to enter Ganon's Tower.");
}
// SohImGui::EnhancementCheckbox("Skip Ganon's Trials", "gRandomizeGanonTrialCount");
// InsertHelpHoverText(
// "Sets whether or not Ganon's Castle Trials are required to enter Ganon's Tower.");
}
// COLUMN 2 - Shuffle Settings