summaryrefslogtreecommitdiff
path: root/src/gui/equipment.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-03-04 16:34:02 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-03-04 16:34:02 +0000
commit7a57cee0d153a4db1d82369aae9160e8ece9ba26 (patch)
treea64fd35942c72d8eb1250effaaca0f4b82768cfc /src/gui/equipment.h
parent47ddb7669a56c32597510d8153a6aa156bb4a397 (diff)
downloadmana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.tar.gz
mana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.tar.bz2
mana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.tar.xz
mana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.zip
A bunch of updates:
- inventory fixes - equipment fixes - graphic updates (items and monsters) - weaponary system - fixed status window
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: