mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
Some more padding
This commit is contained in:
parent
83d8e1caf4
commit
f7b8ad7eee
@ -3723,11 +3723,13 @@ void DrawRandoEditor(bool& open) {
|
|||||||
SohImGui::EnhancementCheckbox("Enable Randomizer", "gRandomizer");
|
SohImGui::EnhancementCheckbox("Enable Randomizer", "gRandomizer");
|
||||||
|
|
||||||
if (CVar_GetS32("gRandomizer", 0) == 1) {
|
if (CVar_GetS32("gRandomizer", 0) == 1) {
|
||||||
|
ImGui::Dummy(ImVec2(0.0f, 0.0f));
|
||||||
if (ImGui::Button("Generate Seed")) {
|
if (ImGui::Button("Generate Seed")) {
|
||||||
if (CVar_GetS32("gRandoGenerating", 0) == 0) {
|
if (CVar_GetS32("gRandoGenerating", 0) == 0) {
|
||||||
randoThread = std::thread(&GenerateRandomizerImgui);
|
randoThread = std::thread(&GenerateRandomizerImgui);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ImGui::Dummy(ImVec2(0.0f, 0.0f));
|
||||||
std::string spoilerfilepath = CVar_GetString("gSpoilerLog", "");
|
std::string spoilerfilepath = CVar_GetString("gSpoilerLog", "");
|
||||||
ImGui::Text("Spoiler File: %s", spoilerfilepath.c_str());
|
ImGui::Text("Spoiler File: %s", spoilerfilepath.c_str());
|
||||||
|
|
||||||
@ -3735,7 +3737,7 @@ void DrawRandoEditor(bool& open) {
|
|||||||
// std::string presetfilepath = CVar_GetString("gLoadedPreset", "");
|
// std::string presetfilepath = CVar_GetString("gLoadedPreset", "");
|
||||||
// ImGui::Text("Settings File: %s", presetfilepath.c_str());
|
// ImGui::Text("Settings File: %s", presetfilepath.c_str());
|
||||||
}
|
}
|
||||||
ImGui::Separator();
|
PaddedSeparator();
|
||||||
|
|
||||||
ImGuiWindow* window = ImGui::GetCurrentWindow();
|
ImGuiWindow* window = ImGui::GetCurrentWindow();
|
||||||
static ImVec2 cellPadding(8.0f, 8.0f);
|
static ImVec2 cellPadding(8.0f, 8.0f);
|
||||||
@ -3860,22 +3862,27 @@ void DrawRandoEditor(bool& open) {
|
|||||||
case 1:
|
case 1:
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
ImGui::Dummy(ImVec2(0.0f, 0.0f));
|
||||||
SohImGui::EnhancementSliderInt("Stone Count: %d", "##RandoStoneCount",
|
SohImGui::EnhancementSliderInt("Stone Count: %d", "##RandoStoneCount",
|
||||||
"gRandomizeStoneCount", 1, 3, "", 3, true);
|
"gRandomizeStoneCount", 1, 3, "", 3, true);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
|
ImGui::Dummy(ImVec2(0.0f, 0.0f));
|
||||||
SohImGui::EnhancementSliderInt("Medallion Count: %d", "##RandoMedallionCount",
|
SohImGui::EnhancementSliderInt("Medallion Count: %d", "##RandoMedallionCount",
|
||||||
"gRandomizeMedallionCount", 1, 6, "", 6, true);
|
"gRandomizeMedallionCount", 1, 6, "", 6, true);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
ImGui::Dummy(ImVec2(0.0f, 0.0f));
|
||||||
SohImGui::EnhancementSliderInt("Reward Count: %d", "##RandoRewardCount",
|
SohImGui::EnhancementSliderInt("Reward Count: %d", "##RandoRewardCount",
|
||||||
"gRandomizeRewardCount", 1, 9, "", 9, true);
|
"gRandomizeRewardCount", 1, 9, "", 9, true);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
ImGui::Dummy(ImVec2(0.0f, 0.0f));
|
||||||
SohImGui::EnhancementSliderInt("Dungeon Count: %d", "##RandoDungeonCount",
|
SohImGui::EnhancementSliderInt("Dungeon Count: %d", "##RandoDungeonCount",
|
||||||
"gRandomizeDungeonCount", 1, 8, "", 8, true);
|
"gRandomizeDungeonCount", 1, 8, "", 8, true);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
|
ImGui::Dummy(ImVec2(0.0f, 0.0f));
|
||||||
SohImGui::EnhancementSliderInt("Token Count: %d", "##RandoTokenCount",
|
SohImGui::EnhancementSliderInt("Token Count: %d", "##RandoTokenCount",
|
||||||
"gRandomizeTokenCount", 1, 100, "", 100, true);
|
"gRandomizeTokenCount", 1, 100, "", 100, true);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user