From 0601642d8b3aa2c7aa365e27aa3ef2459553c3fd Mon Sep 17 00:00:00 2001 From: Joshua Langley Date: Tue, 14 Aug 2007 05:59:52 +0000 Subject: mantis_id:129 - Inventory Window Slots Added. --- src/localplayer.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index edadd7a0..d2aef38b 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -136,6 +136,11 @@ class LocalPlayer : public Player void clearInventory(); Item* getInvItem(int index); + /** + * Move the Inventory item from the old slot to the new slot. + */ + void moveInvItem(Item *item, int newIndex); + /** * Equips an item. */ @@ -146,8 +151,12 @@ class LocalPlayer : public Player */ void unequipItem(int slot); - void useItem(Item *item); + void useItem(int slot); + void dropItem(Item *item, int quantity); + + void splitItem(Item *item, int quantity); + void pickUp(FloorItem *item); /** -- cgit v1.2.3-70-g09d2