diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2008-04-17 20:14:24 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2008-04-17 20:14:24 +0000 |
commit | f43ce278866a2c42f67f75972c2e4abe46f8fd82 (patch) | |
tree | 95650923c9ba0bde20fe8eea86981c6d733124e7 /src/localplayer.h | |
parent | 346442e0aa15705910dd12e61e2a662fba0fced6 (diff) | |
download | mana-f43ce278866a2c42f67f75972c2e4abe46f8fd82.tar.gz mana-f43ce278866a2c42f67f75972c2e4abe46f8fd82.tar.bz2 mana-f43ce278866a2c42f67f75972c2e4abe46f8fd82.tar.xz mana-f43ce278866a2c42f67f75972c2e4abe46f8fd82.zip |
Moved walking calls flooding control when dragging mouse to viewport.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 2813ca77..75a1af7d 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -115,11 +115,6 @@ enum NB_CHARACTER_ATTRIBUTES = CHAR_SKILL_END }; -enum InputType { - BY_MOUSE = 0, BY_KEYBOARD, BY_SYSTEM -}; - - /** * The local player character. */ @@ -249,7 +244,7 @@ class LocalPlayer : public Player /** * Sets a new destination for this being to walk to. */ - void setDestination(Uint16 x, Uint16 y, InputType inputType); + void setDestination(Uint16 x, Uint16 y); /** * Sets a new direction to keep walking in. @@ -372,8 +367,6 @@ class LocalPlayer : public Player int mWalkingDir; /**< The direction the player is walking in. */ int mDestX; /**< X coordinate of destination. */ int mDestY; /**< Y coordinate of destination. */ - int mLocalWalkTime; /**< Time in millisecs before the next walk - can be sent when using mouse. */ std::list<std::string> mExpMessages; /**< Queued exp messages*/ int mExpMessageTime; |