diff --git a/include/game/game_handler.hpp b/include/game/game_handler.hpp index 4821c4b0..ae2b5622 100644 --- a/include/game/game_handler.hpp +++ b/include/game/game_handler.hpp @@ -380,6 +380,8 @@ public: // Display toggles void toggleHelm(); void toggleCloak(); + bool isHelmVisible() const { return helmVisible_; } + bool isCloakVisible() const { return cloakVisible_; } // Follow/Assist void followTarget(); diff --git a/src/ui/inventory_screen.cpp b/src/ui/inventory_screen.cpp index 899944c6..bcc3d0e0 100644 --- a/src/ui/inventory_screen.cpp +++ b/src/ui/inventory_screen.cpp @@ -1121,6 +1121,18 @@ void InventoryScreen::renderCharacterScreen(game::GameHandler& gameHandler) { if (ImGui::BeginTabBar("##CharacterTabs")) { if (ImGui::BeginTabItem("Equipment")) { renderEquipmentPanel(inventory); + ImGui::Spacing(); + ImGui::Separator(); + // Appearance visibility toggles + bool helmVis = gameHandler.isHelmVisible(); + bool cloakVis = gameHandler.isCloakVisible(); + if (ImGui::Checkbox("Show Helm", &helmVis)) { + gameHandler.toggleHelm(); + } + ImGui::SameLine(); + if (ImGui::Checkbox("Show Cloak", &cloakVis)) { + gameHandler.toggleCloak(); + } ImGui::EndTabItem(); }