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/itemcontainer.h | |
parent | 528ded235f60c349272ecbf428731b2f579ed758 (diff) | |
download | mana-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.gz mana-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.bz2 mana-448fe8430f5f0ae81101fe86d664f98be1a92201.tar.xz mana-448fe8430f5f0ae81101fe86d664f98be1a92201.zip |
Working on equipment
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index 5774feb6..69e59149 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -34,6 +34,7 @@ struct ITEM_HOLDER { // the holder of a item int id; // the id of the item int quantity; // number of items + bool equipment; }; /** @@ -101,7 +102,7 @@ class ItemContainer : public gcn::Widget /** * Adds a new item. */ - void addItem(int index, int id, int quantity); + void addItem(int index, int id, int quantity, bool equipment); /** * Remove a item from the inventory. @@ -119,6 +120,8 @@ class ItemContainer : public gcn::Widget void increaseQuantity(int index, int quantity); void _mouseInputMessage(const gcn::MouseInput &mouseInput); + + bool isEquipment(int index); }; #endif |