summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-10-04 21:02:59 -0400
committerChuck Miller <shadowmil@gmail.com>2010-10-04 21:17:08 -0400
commit89f192b9039f9c000515f0a12f4bb9fb55c4691c (patch)
tree5d5ae12f7e77921a80082abdf3ec6acc705192c7 /src/localplayer.h
parent6f25f5d9390ae247970ad886dc51d55435285831 (diff)
downloadmana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.gz
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.bz2
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.xz
mana-client-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.h28
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;