summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-20 20:58:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-21 00:18:17 +0300
commit744b9d6689b67779a1d17c6d3de7cd016ca1033b (patch)
tree8c7f235ec6ffd1f00bd6865a355be3f731b30395 /src/gamemodifiers.h
parentc42d25a77f5bd7bcd04636abded20452a753fa6d (diff)
downloadplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.gz
plus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.bz2
plus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.xz
plus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.zip
move "change move" option into gamemodifiers.
Diffstat (limited to 'src/gamemodifiers.h')
-rw-r--r--src/gamemodifiers.h8
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;