summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-04 18:29:58 -0700
committerIra Rice <irarice@gmail.com>2009-02-04 18:29:58 -0700
commit3818b6db81341b840201996c186bdc8ad5e456e9 (patch)
treebb8d8418aee35877d260078b1b340ccf2c371930 /src/localplayer.h
parentd05b238a3c100ed0b5b31093f3d15bb039dde8d6 (diff)
downloadmana-3818b6db81341b840201996c186bdc8ad5e456e9.tar.gz
mana-3818b6db81341b840201996c186bdc8ad5e456e9.tar.bz2
mana-3818b6db81341b840201996c186bdc8ad5e456e9.tar.xz
mana-3818b6db81341b840201996c186bdc8ad5e456e9.zip
Moved mEquipment to the LocalPlayer class, since it's the only place
that uses it anyways. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 4e0b205f..7f5596e4 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -31,6 +31,7 @@
#define INVENTORY_SIZE 102
#define STORAGE_SIZE 301
+class Equipment;
class FloorItem;
class ImageSet;
class Inventory;
@@ -234,6 +235,8 @@ class LocalPlayer : public Player
/** Animated out of range target cursor. */
SimpleAnimation *mTargetCursorOutRange[NUM_TC];
+ const std::auto_ptr<Equipment> mEquipment;
+
protected:
void walk(unsigned char dir);