diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-10-04 21:02:59 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-10-04 21:17:08 -0400 |
commit | 89f192b9039f9c000515f0a12f4bb9fb55c4691c (patch) | |
tree | 5d5ae12f7e77921a80082abdf3ec6acc705192c7 /src/localplayer.h | |
parent | 6f25f5d9390ae247970ad886dc51d55435285831 (diff) | |
download | mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.gz mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.bz2 mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.xz mana-89f192b9039f9c000515f0a12f4bb9fb55c4691c.zip |
Remove the following system
The implamentation is poor, and this is something that
would be better handled by the addon engine later down
the road.
Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 6b50091a..b008a739 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -198,29 +198,6 @@ class LocalPlayer : public Being void event(const std::string &channel, const Mana::Event &event); /** - * set a following player by right clicking. - */ - void setFollow(std::string player) { mPlayerFollowed = player; } - - /** - * setting the next destination of the following, in case of warp - */ - void setNextDest(int x, int y) { mNextDestX = x; mNextDestY = y; } - - int getNextDestX() const { return mNextDestX; } - int getNextDestY() const { return mNextDestY; } - - /** - * Stop following a player. - */ - void cancelFollow() { mPlayerFollowed = ""; } - - /** - * Get the playername followed by the current player. - */ - std::string getFollow() const { return mPlayerFollowed; } - - /** * Tells the engine whether to check * if the Player Name is to be displayed. */ @@ -247,11 +224,6 @@ class LocalPlayer : public Being Being *mTarget; - /** Follow system **/ - std::string mPlayerFollowed; - int mNextDestX; - int mNextDestY; - FloorItem *mPickUpTarget; bool mGoingToTarget; |