summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h9
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;