From d039422e70e47a762ef61de619e9e98780b12664 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 24 Feb 2010 15:21:11 -0700 Subject: Move StorageWindow to instancing intead of global Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis --- src/localplayer.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 6279d546..919b5540 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -132,11 +132,6 @@ class LocalPlayer : public Player */ Inventory *getInventory() const { return mInventory; } - /** - * Returns the player's storage - */ - Inventory *getStorage() const { return mStorage; } - /** * Check the player has permission to invite users to specific guild */ @@ -264,12 +259,6 @@ class LocalPlayer : public Player */ void pickedUp(const ItemInfo &itemInfo, int amount); - /** - * Accessors for mInStorage - */ - bool getInStorage() { return mInStorage; } - void setInStorage(bool inStorage); - int getHp() const { return mHp; } @@ -430,8 +419,6 @@ class LocalPlayer : public Player void startWalking(unsigned char dir); - bool mInStorage; /**< Whether storage is currently accessible */ - int mAttackRange; int mTargetTime; /** How long the being has been targeted **/ @@ -482,8 +469,6 @@ class LocalPlayer : public Player int mLocalWalkTime; /**< Timestamp used to control keyboard walk messages flooding */ - Inventory *mStorage; - /** Load the target cursors into memory */ void initTargetCursor(); -- cgit v1.2.3-70-g09d2