diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-20 19:38:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-20 19:38:54 +0300 |
commit | 5bb61caa784254b1d9c2ccd791feba2bbb2f3023 (patch) | |
tree | ad327417a7f6be30fd0b033cc7bff2ffb325249e /src/being/localplayer.h | |
parent | fbd8b8f2c7d511247c32a62cdeec2089df261688 (diff) | |
download | plus-5bb61caa784254b1d9c2ccd791feba2bbb2f3023.tar.gz plus-5bb61caa784254b1d9c2ccd791feba2bbb2f3023.tar.bz2 plus-5bb61caa784254b1d9c2ccd791feba2bbb2f3023.tar.xz plus-5bb61caa784254b1d9c2ccd791feba2bbb2f3023.zip |
In localplayer rename InvertDirection into MoveType.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 920a242e8..453781e2b 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -186,13 +186,13 @@ class LocalPlayer final : public Being, bool isPathSetByMouse() const A_WARN_UNUSED { return mPathSetByMouse; } - int getInvertDirection() const A_WARN_UNUSED - { return mInvertDirection; } + int getMoveType() const A_WARN_UNUSED + { return mMoveType; } - void setInvertDirection(const int n) - { mInvertDirection = n; } + void setMoveType(const int n) + { mMoveType = n; } - void invertDirection(const bool forward); + void moveType(const bool forward); int getAttackWeaponType() const A_WARN_UNUSED { return mAttackWeaponType; } @@ -451,7 +451,7 @@ class LocalPlayer final : public Being, void setTestParticle(const std::string &fileName, const bool updateHash = true); - std::string getInvertDirectionString(); + std::string getMoveTypeString(); std::string getCrazyMoveTypeString(); @@ -538,7 +538,7 @@ class LocalPlayer final : public Being, int mGMLevel; // move type - unsigned int mInvertDirection; + unsigned int mMoveType; // crazy move type unsigned int mCrazyMoveType; // crazy move state @@ -547,7 +547,7 @@ class LocalPlayer final : public Being, unsigned int mAttackWeaponType; // quick drop counter unsigned int mQuickDropCounter; - // move state. used if mInvertDirection == 2 + // move state. used if mMoveType == 2 unsigned int mMoveState; // pick up type 1x1, normal aka 2x1, forward aka 2x3, 3x3, 3x3 + 1 unsigned int mPickUpType; |