diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-19 22:02:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-20 00:26:53 +0300 |
commit | e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91 (patch) | |
tree | 2959d64c52fb2d9df7ca30fb5a400e17570c4861 /src/gamemodifiers.h | |
parent | ac9d9925b52789abc07795d5ed52dd0de620c757 (diff) | |
download | plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.gz plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.bz2 plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.tar.xz plus-e3009cfe9cc0a824450d3e71a0ce8d6b5cd9ff91.zip |
Add quick settings page for yellow bar options.
Diffstat (limited to 'src/gamemodifiers.h')
-rw-r--r-- | src/gamemodifiers.h | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/src/gamemodifiers.h b/src/gamemodifiers.h index d3ef572e0..6859018cc 100644 --- a/src/gamemodifiers.h +++ b/src/gamemodifiers.h @@ -26,11 +26,6 @@ #include "localconsts.h" #define declModifier(name1) \ - static std::string get##name1##String(); \ - static const unsigned m##name1##Size; \ - static const char *const m##name1##Strings[]; - -#define declModifier2(name1) \ static void change##name1(const bool forward); \ static std::string get##name1##String(); \ static const unsigned m##name1##Size; \ @@ -52,28 +47,20 @@ class GameModifiers final const bool forward); declModifier(MoveType) - declModifier2(CrazyMoveType) - declModifier2(MoveToTargetType) - declModifier2(FollowMode) - declModifier2(AttackWeaponType) - declModifier2(AttackType) - declModifier2(QuickDropCounter) - declModifier2(PickUpType) - declModifier2(MagicAttackType) - declModifier2(PvpAttackType) - declModifier2(ImitationMode) + declModifier(CrazyMoveType) + declModifier(MoveToTargetType) + declModifier(FollowMode) + declModifier(AttackWeaponType) + declModifier(AttackType) + declModifier(QuickDropCounter) + declModifier(PickUpType) + declModifier(MagicAttackType) + declModifier(PvpAttackType) + declModifier(ImitationMode) + declModifier(GameModifiers) declModifier(MapDrawType) declModifier(CameraMode) - declModifier(AwayMode); - - static void changeAwayMode(); - - static void changeMoveType(const bool forward); - - static std::string getGameModifiersString(); - static void changeGameModifiers(); - static const unsigned mGameModifiersSize; - static const char *const mGameModifiersStrings[]; + declModifier(AwayMode) static void setQuickDropCounter(const int n); @@ -86,6 +73,5 @@ class GameModifiers final }; #undef declModifier -#undef declModifier2 #endif // GAMEMODIFIERS_H |