diff options
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); }; |