mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-25 17:48:50 -05:00
Added extra flyout for item fanfares
This commit is contained in:
parent
81d389d0b7
commit
ffa3780d7b
@ -1382,6 +1382,19 @@ namespace SohImGui {
|
||||
for (const auto& category : windowCategories) {
|
||||
ImGui::SetCursorPosY(0.0f);
|
||||
if (ImGui::BeginMenu(category.first.c_str())) {
|
||||
if (category.first == "Randomizer") {
|
||||
if (ImGui::BeginMenu("Rando Enhancements"))
|
||||
{
|
||||
EnhancementCheckbox("Dynamic Item Fanfares", "gRandoFanfareByItemType");
|
||||
Tooltip(
|
||||
"Change what fanfare is played to match the type of item that is\n"
|
||||
"obtained. This can make fanfares longer than usual in some cases."
|
||||
);
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
ImGui::Separator();
|
||||
}
|
||||
for (const std::string& name : category.second) {
|
||||
std::string varName(name);
|
||||
varName.erase(std::remove_if(varName.begin(), varName.end(), [](unsigned char x) { return std::isspace(x); }), varName.end());
|
||||
|
Loading…
Reference in New Issue
Block a user