summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-11 15:47:35 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-11 15:47:35 +0000
commit8da32105732949b4b0273c718d118bcfae70a1c9 (patch)
tree0a354974d48268cfaafcdb1e06b498fa26a59c1e /src/localplayer.h
parentf9ce4e302cb3ed203d89a7a18e10b7ad4f11519c (diff)
downloadmana-client-8da32105732949b4b0273c718d118bcfae70a1c9.tar.gz
mana-client-8da32105732949b4b0273c718d118bcfae70a1c9.tar.bz2
mana-client-8da32105732949b4b0273c718d118bcfae70a1c9.tar.xz
mana-client-8da32105732949b4b0273c718d118bcfae70a1c9.zip
Merged 0.0 changes from revision 2825 to 2898 to trunk.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index dbf2a147..f632b1b9 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -47,6 +47,11 @@ class LocalPlayer : public Player
virtual ~LocalPlayer();
virtual void logic();
+
+ /**
+ * Adds a new step when walking before calling super. Also, when
+ * specified it picks up an item at the end of a path.
+ */
virtual void nextStep();
/**
@@ -151,7 +156,10 @@ class LocalPlayer : public Player
FloorItem *mPickUpTarget;
bool mTrading;
- int mLastAction; /**< Time stamp of the last action, -1 if none */
+ int mLastAction; /**< Time stamp of the last action, -1 if none. */
+ int mWalkingDir; /**< The direction the player is walking in. */
+ int mDestX; /**< X coordinate of destination. */
+ int mDestY; /**< Y coordinate of destination. */
};
extern LocalPlayer *player_node;