summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-24 15:21:11 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-24 15:51:39 -0700
commitd039422e70e47a762ef61de619e9e98780b12664 (patch)
treed0cb68147e6fe37a8c85e4907766976bf79547b4 /src/localplayer.h
parent84cf9bcc38028696d02c03cd523b7997906b9f01 (diff)
downloadmana-client-d039422e70e47a762ef61de619e9e98780b12664.tar.gz
mana-client-d039422e70e47a762ef61de619e9e98780b12664.tar.bz2
mana-client-d039422e70e47a762ef61de619e9e98780b12664.tar.xz
mana-client-d039422e70e47a762ef61de619e9e98780b12664.zip
Move StorageWindow to instancing intead of global
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 6279d546..919b5540 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -133,11 +133,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
*/
bool checkInviteRights(const std::string &guildName);
@@ -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();