summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-14 05:59:52 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-14 05:59:52 +0000
commit0601642d8b3aa2c7aa365e27aa3ef2459553c3fd (patch)
treee2c4a93c3aca4b35b69857b17b722c3260b4c3d1 /src/localplayer.h
parent68f069fea3182c6d5720df03f1d63de38f14c31d (diff)
downloadmana-client-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.tar.gz
mana-client-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.tar.bz2
mana-client-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.tar.xz
mana-client-0601642d8b3aa2c7aa365e27aa3ef2459553c3fd.zip
mantis_id:129 - Inventory Window Slots Added.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h11
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);
/**