Merge pull request #1119 from PurpleHato/RandoItemTrackerV2

Rando item tracker v2
This commit is contained in:
briaguya
2022-08-10 01:49:04 -04:00
committed by GitHub
2 changed files with 891 additions and 288 deletions
+8
View File
@@ -1752,6 +1752,14 @@ namespace SohImGui {
needs_save = true;
customWindows["Item Tracker"].enabled = CVar_GetS32("gItemTrackerEnabled", 0);
}
InsertPadding();
if (ImGui::Button(GetWindowButtonText("Item Tracker Settings", CVar_GetS32("gItemTrackerSettingsEnabled", 0)).c_str(), buttonSize))
{
bool currentValue = CVar_GetS32("gItemTrackerSettingsEnabled", 0);
CVar_SetS32("gItemTrackerSettingsEnabled", !currentValue);
needs_save = true;
customWindows["Item Tracker Settings"].enabled = CVar_GetS32("gItemTrackerSettingsEnabled", 0);
}
ImGui::PopStyleVar(3);
ImGui::PopStyleColor(1);
File diff suppressed because it is too large Load Diff