diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-04-04 22:35:58 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-04-04 22:35:58 +0000 |
commit | ca03f5a83dbd379d21c20ed4e69ec6836395b694 (patch) | |
tree | 93b49faa836f53c3b65e9e78b55b9d5d487f5a7e /src/gui/itemcontainer.h | |
parent | acb216cbbd50f68710502068bec83e073128d6fc (diff) | |
download | mana-ca03f5a83dbd379d21c20ed4e69ec6836395b694.tar.gz mana-ca03f5a83dbd379d21c20ed4e69ec6836395b694.tar.bz2 mana-ca03f5a83dbd379d21c20ed4e69ec6836395b694.tar.xz mana-ca03f5a83dbd379d21c20ed4e69ec6836395b694.zip |
starting to do the trade window, i know it's not functionable and contains a lot of bugs but ill continue tomorrow.
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index cbf08cf1..0857ac9f 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -104,10 +104,15 @@ class ItemContainer : public gcn::Widget int getQuantity(int index); /** + * Returns id of next free slot or -1 i all occupied. + */ + int getFreeSlot(); + + /** * Adds a new item. */ void addItem(int index, int id, int quantity, bool equipment); - + /** * Reset all item slots. */ |