summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
commitbd56bf8afdab16383ed8ad08412a8c807f84af85 (patch)
tree0e963ada63bcbe3c50dd77986aaa15b9ba49816a /src/inventory.h
parent5359640b6f271af31f6423df9d661433eff89a3e (diff)
downloadmana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.gz
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.bz2
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.xz
mana-bd56bf8afdab16383ed8ad08412a8c807f84af85.zip
Merged NETWORK branch (includes BEING_OVERHAUL).
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/inventory.h b/src/inventory.h
index bd6da744..b1f4fb01 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -60,20 +60,6 @@ class Inventory
bool contains(Item *item);
/**
- * Equips an item.
- */
- void equipItem(Item *item);
-
- /**
- * Unequips an item.
- */
- void unequipItem(Item *item);
-
- int useItem(Item *item);
-
- int dropItem(Item *item, int quantity);
-
- /**
* Returns id of next free slot or -1 if all occupied.
*/
int getFreeSlot();
@@ -81,7 +67,7 @@ class Inventory
/**
* Reset all item slots.
*/
- void resetItems();
+ void clear();
/**
* Get the number of slots filled with an item