summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-27 04:23:43 +0000
committerIra Rice <irarice@gmail.com>2008-10-27 04:23:43 +0000
commit218ad29dc13b1b89da9804dec15f32692d8709d6 (patch)
treee1547d951089109de83833fb2a29067fc11eee8c /src/localplayer.h
parent8119f4ec53b64adc427f683077f65ce8aec85582 (diff)
downloadmana-client-218ad29dc13b1b89da9804dec15f32692d8709d6.tar.gz
mana-client-218ad29dc13b1b89da9804dec15f32692d8709d6.tar.bz2
mana-client-218ad29dc13b1b89da9804dec15f32692d8709d6.tar.xz
mana-client-218ad29dc13b1b89da9804dec15f32692d8709d6.zip
Made targets draw on the fringe layer, as well as added t for talking to
an NPC, n for targeting an NPC, and changed basic targeting code so that it'll time out after being on a target for longer than a minute.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index c0627378..dcdcbeec 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -236,6 +236,7 @@ class LocalPlayer : public Player
bool mTrading;
bool mInStorage; /**< Whether storage is currently accessible */
bool mGoingToTarget;
+ int mTargetTime; /** How long the being has been targeted **/
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. */