diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-20 20:58:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-21 00:18:17 +0300 |
commit | 744b9d6689b67779a1d17c6d3de7cd016ca1033b (patch) | |
tree | 8c7f235ec6ffd1f00bd6865a355be3f731b30395 /src/gamemodifiers.h | |
parent | c42d25a77f5bd7bcd04636abded20452a753fa6d (diff) | |
download | manaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.gz manaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.bz2 manaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.xz manaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.zip |
move "change move" option into gamemodifiers.
Diffstat (limited to 'src/gamemodifiers.h')
-rw-r--r-- | src/gamemodifiers.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gamemodifiers.h b/src/gamemodifiers.h index 4b2b54497..0a1aa945f 100644 --- a/src/gamemodifiers.h +++ b/src/gamemodifiers.h @@ -42,8 +42,14 @@ class GameModifiers final const bool save, const bool forward); - protected: + void changeMoveType(const bool forward); + + std::string getMoveTypeString(); + protected: + static const char *getVarItem(const char *const *const arr, + const unsigned index, + const unsigned sz) A_WARN_UNUSED; }; extern GameModifiers *modifiers; |