summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/equipmentwindow.h')
-rw-r--r--src/gui/windows/equipmentwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/equipmentwindow.h b/src/gui/windows/equipmentwindow.h
index 8c77b6d28..5295e20b5 100644
--- a/src/gui/windows/equipmentwindow.h
+++ b/src/gui/windows/equipmentwindow.h
@@ -94,6 +94,8 @@ class EquipmentWindow final : public Window,
void recalcSize();
+ static void prepareSlotNames();
+
private:
Item *getItem(const int x, const int y) const A_WARN_UNUSED;
@@ -123,6 +125,8 @@ class EquipmentWindow final : public Window,
static int parseSlotName(const std::string &name) A_WARN_UNUSED;
+ static std::map<std::string, int> mSlotNames;
+
Equipment *mEquipment;
PlayerBox *mPlayerBox;