summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-18 04:32:55 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-19 17:29:03 +0300
commit80c6992f9ccb088679cab206056caaafec33c287 (patch)
treeaa3c0d0dabf97d36fa18d04c52afd1576e926442 /src/localplayer.h
parentf03bacd61c383ff642694489e0e39c43d5dd893a (diff)
downloadmv-80c6992f9ccb088679cab206056caaafec33c287.tar.gz
mv-80c6992f9ccb088679cab206056caaafec33c287.tar.bz2
mv-80c6992f9ccb088679cab206056caaafec33c287.tar.xz
mv-80c6992f9ccb088679cab206056caaafec33c287.zip
Show changed yellow bar modes in debug chat tab.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 08ebbe841..56867a0b8 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -483,6 +483,36 @@ class LocalPlayer : public Being, public ActorSpriteListener,
bool checAttackPermissions(Being *target);
+ std::string getInvertDirectionString();
+
+ std::string getCrazyMoveTypeString();
+
+ std::string getMoveToTargetTypeString();
+
+ std::string getFollowModeString();
+
+ std::string getAttackWeaponTypeString();
+
+ std::string getAttackTypeString();
+
+ std::string getQuickDropCounterString();
+
+ std::string getPickUpTypeString();
+
+ std::string getDebugPathString();
+
+ std::string getMagicAttackString();
+
+ std::string getPvpAttackString();
+
+ std::string getImitationModeString();
+
+ std::string getAwayModeString();
+
+ std::string getCameraModeString();
+
+ std::string getGameModifiersString();
+
protected:
/** Whether or not the name settings have changed */
bool mUpdateName;
@@ -496,6 +526,11 @@ class LocalPlayer : public Being, public ActorSpriteListener,
void tryMagic(std::string spell, int baseMagic,
int schoolMagic, int mana);
+ const char *getVarItem(const char **arr, unsigned index, unsigned sz);
+
+ void changeMode(unsigned *var, unsigned limit, const char *conf,
+ std::string (LocalPlayer::*func)(), unsigned def = 0);
+
void crazyMove1();
void crazyMove2();
void crazyMove3();