summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-31 21:29:00 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-31 21:29:00 +0000
commit36d28236321b6a2824ad4f394faeabbf79626808 (patch)
tree7d2475acf84852f2a21cc29eecbf7524cd58ff52 /src/localplayer.h
parentc9f930c759004e179545c3b82992e3f8a12345f2 (diff)
downloadmana-36d28236321b6a2824ad4f394faeabbf79626808.tar.gz
mana-36d28236321b6a2824ad4f394faeabbf79626808.tar.bz2
mana-36d28236321b6a2824ad4f394faeabbf79626808.tar.xz
mana-36d28236321b6a2824ad4f394faeabbf79626808.zip
Removed legacy inventory code. Added display of equipment.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index c3a74b52..edadd7a0 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -134,8 +134,6 @@ class LocalPlayer : public Player
virtual Type getType() const;
void clearInventory();
- void addInvItem(int id, int quantity, bool equipment);
- void addInvItem(int index, int id, int quantity, bool equipment);
Item* getInvItem(int index);
/**
@@ -146,7 +144,7 @@ class LocalPlayer : public Player
/**
* Unequips an item.
*/
- void unequipItem(Item *item);
+ void unequipItem(int slot);
void useItem(Item *item);
void dropItem(Item *item, int quantity);