diff options
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r-- | src/gui/equipmentwindow.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h index 91ee44253..082a9b409 100644 --- a/src/gui/equipmentwindow.h +++ b/src/gui/equipmentwindow.h @@ -28,6 +28,8 @@ #include "gui/widgets/window.h" +#include "utils/xml.h" + #include <guichan/actionlistener.hpp> #ifdef __GNUC__ @@ -90,7 +92,17 @@ class EquipmentWindow : public Window, public gcn::ActionListener void fillBoxes(); - void addBox(int x, int y); + void fillDefault(); + + void addBox(int idx, int x, int y); + + void loadWindow(xmlNodePtr windowNode); + + void loadPlayerBox(xmlNodePtr playerBoxNode); + + void loadSlot(xmlNodePtr slotNode); + + int parseSlotName(std::string name); Equipment *mEquipment; |