diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-23 02:30:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-23 02:30:20 +0300 |
commit | 648c85816ca9398dd9c672d5d4230bef030e0274 (patch) | |
tree | 1d897dff70e183cb8c31f558426921be8dcf6ce7 /src/gamemodifiers.cpp | |
parent | 6336dabcb33ca6b4d417b352fa0b12651b6f4c57 (diff) | |
download | ManaVerse-648c85816ca9398dd9c672d5d4230bef030e0274.tar.gz ManaVerse-648c85816ca9398dd9c672d5d4230bef030e0274.tar.bz2 ManaVerse-648c85816ca9398dd9c672d5d4230bef030e0274.tar.xz ManaVerse-648c85816ca9398dd9c672d5d4230bef030e0274.zip |
move "change camera mode" option into gamemodifiers.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp index cd3f1d352..5870993eb 100644 --- a/src/gamemodifiers.cpp +++ b/src/gamemodifiers.cpp @@ -558,3 +558,21 @@ std::string GameModifiers::getAwayModeString() return gettext(getVarItem(&awayModeStrings[0], settings.awayMode, awayModeSize)); } + +const unsigned cameraModeSize = 2; + +static const char *const cameraModeStrings[] = +{ + // TRANSLATORS: camera mode in status bar + N_("(G) game camera mode"), + // TRANSLATORS: camera mode in status bar + N_("(F) free camera mode"), + // TRANSLATORS: camera mode in status bar + N_("(?) away") +}; + +std::string GameModifiers::getCameraModeString() +{ + return gettext(getVarItem(&cameraModeStrings[0], + settings.cameraMode, cameraModeSize)); +} |