diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-02-11 17:21:55 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-02-11 17:21:55 +0000 |
commit | 448fe8430f5f0ae81101fe86d664f98be1a92201 (patch) | |
tree | 76737e4447cca1dd24c4e9203a2d2ea674d72a1e /src/gui/inventory.h | |
parent | 528ded235f60c349272ecbf428731b2f579ed758 (diff) | |
download | mana-client-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.gz mana-client-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.bz2 mana-client-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.xz mana-client-448fe8430f5f0ae81101fe86d664f98be1a92201.zip |
Working on equipment
Diffstat (limited to 'src/gui/inventory.h')
-rw-r--r-- | src/gui/inventory.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h index e48d5477..178c8019 100644 --- a/src/gui/inventory.h +++ b/src/gui/inventory.h @@ -56,12 +56,14 @@ class InventoryWindow : public Window, gcn::ActionListener { /** * Add an item the inventory. */ - int addItem(int index, int id, int quantity); + int addItem(int index, int id, int quantity, bool equipment); /** * Remove a item from the inventory. */ int removeItem(int id); + + void equipItem(int index); /** * Change quantity of an item. @@ -83,7 +85,7 @@ class InventoryWindow : public Window, gcn::ActionListener { private: gcn::Button *useButton, *dropButton; int useItem(int index, int id); - int dropItem(int index, int amunt); + int dropItem(int index, int quantity); }; |