summaryrefslogtreecommitdiff
path: root/src/gui/equipment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipment.h')
-rw-r--r--src/gui/equipment.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gui/equipment.h b/src/gui/equipment.h
index 79f229d4..7a945f4c 100644
--- a/src/gui/equipment.h
+++ b/src/gui/equipment.h
@@ -28,6 +28,11 @@
#include "gui.h"
#include "window.h"
+typedef struct {
+ int id;
+ int inventoryIndex;
+} EQUIPMENT_HOLDER;
+
/**
* Equipment dialog.
*
@@ -59,7 +64,11 @@ class EquipmentWindow : public Window, gcn::ActionListener {
void removeEquipment(int index);
- int equipments[10];
+ void setInventoryIndex(int index, int inventoryIndex);
+
+ int getInventoryIndex(int index);
+
+ EQUIPMENT_HOLDER equipments[10];
private: