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
commit 3509327a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 891 additions and 288 deletions

View File

@ -1752,6 +1752,14 @@ namespace SohImGui {
needs_save = true; needs_save = true;
customWindows["Item Tracker"].enabled = CVar_GetS32("gItemTrackerEnabled", 0); 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::PopStyleVar(3);
ImGui::PopStyleColor(1); ImGui::PopStyleColor(1);

File diff suppressed because it is too large Load Diff