diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-07 10:37:54 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-07 10:37:54 +0000 |
commit | ac08acd4b4029a2519c81eecf938e1c03b51233c (patch) | |
tree | 78405d149cff52b310343a1e557062345b784d41 /src/localplayer.h | |
parent | c395103a0f190598e234b2c5f373d3fde25f77cf (diff) | |
download | mana-ac08acd4b4029a2519c81eecf938e1c03b51233c.tar.gz mana-ac08acd4b4029a2519c81eecf938e1c03b51233c.tar.bz2 mana-ac08acd4b4029a2519c81eecf938e1c03b51233c.tar.xz mana-ac08acd4b4029a2519c81eecf938e1c03b51233c.zip |
Made the being directions being stored in a bitfield.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 7867e13d..3107657c 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -104,7 +104,7 @@ class LocalPlayer : public Player void stopAttack(); Being* getTarget() const; - void walk(Being::Direction dir); + void walk(unsigned char dir); /** * Sets a new destination for this being to walk to. @@ -150,6 +150,7 @@ class LocalPlayer : public Player FloorItem *mPickUpTarget; bool mTrading; + int mLastAction; /**< Time stamp of the last action, -1 if none */ }; extern LocalPlayer *player_node; |