summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-20 00:36:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-20 00:36:55 +0300
commite081ded6fba48fed7da637076ceddb4dc8b40e03 (patch)
tree21faf7c51479a5f6a426fd6802aa261e5ad4c6c1 /src/being/localplayer.h
parent042da1df2289c2e4db5ad146f3cfe2c1e71c9f84 (diff)
downloadplus-e081ded6fba48fed7da637076ceddb4dc8b40e03.tar.gz
plus-e081ded6fba48fed7da637076ceddb4dc8b40e03.tar.bz2
plus-e081ded6fba48fed7da637076ceddb4dc8b40e03.tar.xz
plus-e081ded6fba48fed7da637076ceddb4dc8b40e03.zip
Yellow bar action methods add support for back and forward switch.
For now unused.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 2d7ec8069..4e9efef21 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -192,7 +192,7 @@ class LocalPlayer final : public Being,
void setInvertDirection(const int n)
{ mInvertDirection = n; }
- void invertDirection();
+ void invertDirection(const bool forward);
int getAttackWeaponType() const A_WARN_UNUSED
{ return mAttackWeaponType; }
@@ -206,15 +206,15 @@ class LocalPlayer final : public Being,
int getImitationMode() const A_WARN_UNUSED
{ return mImitationMode; }
- void changeAttackWeaponType();
+ void changeAttackWeaponType(const bool forward);
- void changeAttackType();
+ void changeAttackType(const bool forward);
- void changeFollowMode();
+ void changeFollowMode(const bool forward);
- void changeImitationMode();
+ void changeImitationMode(const bool forward);
- void changePickUpType();
+ void changePickUpType(const bool forward);
int getCrazyMoveType() const A_WARN_UNUSED
{ return mCrazyMoveType; }
@@ -227,7 +227,7 @@ class LocalPlayer final : public Being,
void setQuickDropCounter(const int n);
- void changeQuickDropCounter();
+ void changeQuickDropCounter(const bool forward);
int getMoveState() const A_WARN_UNUSED
{ return mMoveState; }
@@ -235,9 +235,9 @@ class LocalPlayer final : public Being,
void setMoveState(const int n)
{ mMoveState = n; }
- void switchMagicAttack();
+ void switchMagicAttack(const bool forward);
- void switchPvpAttack();
+ void switchPvpAttack(const bool forward);
int getMagicAttackType() const A_WARN_UNUSED
{ return mMagicAttackType; }
@@ -255,7 +255,7 @@ class LocalPlayer final : public Being,
void tryPingRequest();
- void changeMoveToTargetType();
+ void changeMoveToTargetType(const bool forward);
void switchGameModifiers();
@@ -267,7 +267,7 @@ class LocalPlayer final : public Being,
bool pickUpItems(int pickUpType = 0);
- void changeCrazyMoveType();
+ void changeCrazyMoveType(const bool forward);
void crazyMove();
@@ -521,7 +521,8 @@ class LocalPlayer final : public Being,
const char *restrict const conf,
std::string (LocalPlayer::*const func)(),
const unsigned def,
- const bool save);
+ const bool save,
+ const bool forward);
void crazyMove1();
void crazyMove2();