summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-21 00:18:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-21 00:18:41 +0300
commitb02b4ce0b656a93fbcaa927b0ba289edfec6e22c (patch)
treea31a6f99778d0cf0b45689584939bd8c391627ae /src/being/localplayer.h
parent744b9d6689b67779a1d17c6d3de7cd016ca1033b (diff)
downloadmv-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.tar.gz
mv-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.tar.bz2
mv-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.tar.xz
mv-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.zip
move "change crazy move" option into gamemodifiers.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 5a2d10627..319825e65 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -208,9 +208,6 @@ class LocalPlayer final : public Being,
void changePickUpType(const bool forward);
- int getCrazyMoveType() const A_WARN_UNUSED
- { return mCrazyMoveType; }
-
int getPickUpType() const A_WARN_UNUSED
{ return mPickUpType; }
@@ -221,12 +218,18 @@ class LocalPlayer final : public Being,
void changeQuickDropCounter(const bool forward);
- int getMoveState() const A_WARN_UNUSED
+ unsigned int getMoveState() const A_WARN_UNUSED
{ return mMoveState; }
- void setMoveState(const int n)
+ void setMoveState(const unsigned int n)
{ mMoveState = n; }
+ unsigned int getCrazyMoveState() const A_WARN_UNUSED
+ { return mCrazyMoveState; }
+
+ void setCrazyMoveState(const unsigned int n)
+ { mCrazyMoveState = n; }
+
void switchMagicAttack(const bool forward);
void switchPvpAttack(const bool forward);
@@ -259,8 +262,6 @@ class LocalPlayer final : public Being,
bool pickUpItems(int pickUpType = 0);
- void changeCrazyMoveType(const bool forward);
-
void crazyMove();
void moveTo(const int x, const int y);
@@ -443,8 +444,6 @@ class LocalPlayer final : public Being,
void setTestParticle(const std::string &fileName,
const bool updateHash = true);
- std::string getCrazyMoveTypeString();
-
std::string getMoveToTargetTypeString();
std::string getFollowModeString();
@@ -527,8 +526,6 @@ class LocalPlayer final : public Being,
int mGMLevel;
- // crazy move type
- unsigned int mCrazyMoveType;
// crazy move state
unsigned int mCrazyMoveState;
// attack weapon type