diff options
author | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-14 05:59:52 +0000 |
---|---|---|
committer | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-14 05:59:52 +0000 |
commit | 0601642d8b3aa2c7aa365e27aa3ef2459553c3fd (patch) | |
tree | e2c4a93c3aca4b35b69857b17b722c3260b4c3d1 /src/localplayer.h | |
parent | 68f069fea3182c6d5720df03f1d63de38f14c31d (diff) | |
download | mana-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.tar.gz mana-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.tar.bz2 mana-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.tar.xz mana-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.zip |
mantis_id:129 - Inventory Window Slots Added.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index edadd7a0..d2aef38b 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -137,6 +137,11 @@ class LocalPlayer : public Player 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. */ void equipItem(Item *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); /** |