diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-28 19:05:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-28 19:05:52 +0300 |
commit | b6eb53b9abdf48b88cb1978b9af97f2a879d2717 (patch) | |
tree | 5aad5623d352ec0b4aa245856958c61a384861c7 /src/localplayer.h | |
parent | 4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80 (diff) | |
parent | 71fe51d38a406012e166589b7b720d83c1ab3ade (diff) | |
download | manaverse-stripped1.1.11.27.tar.gz manaverse-stripped1.1.11.27.tar.bz2 manaverse-stripped1.1.11.27.tar.xz manaverse-stripped1.1.11.27.zip |
Merge commit 'v1.1.11.27' into strippedstripped1.1.11.27
Conflicts:
data/Makefile.am
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 08ebbe841..5b755e4f6 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -37,12 +37,6 @@ #include <memory> #include <vector> -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - class ChatTab; class FloorItem; class ImageSet; @@ -483,6 +477,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 +520,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(); |