diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-22 16:05:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-22 16:05:28 +0300 |
commit | 35263d0f161f59f2dec6586c61970eaf1ce2f6f1 (patch) | |
tree | 2004db11a5c4b5645acc2d0c16c9e5ac059585d2 /src/being | |
parent | 2abc581201575cf20f39eda61ccea02c98b9435d (diff) | |
download | mv-35263d0f161f59f2dec6586c61970eaf1ce2f6f1.tar.gz mv-35263d0f161f59f2dec6586c61970eaf1ce2f6f1.tar.bz2 mv-35263d0f161f59f2dec6586c61970eaf1ce2f6f1.tar.xz mv-35263d0f161f59f2dec6586c61970eaf1ce2f6f1.zip |
move "change map draw type" option into gamemodifiers.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 28 | ||||
-rw-r--r-- | src/being/localplayer.h | 2 |
2 files changed, 0 insertions, 30 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index e74abeb40..312efacd9 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1255,34 +1255,6 @@ void LocalPlayer::changeMode(unsigned *restrict const var, debugMsg(str.substr(4)); } -const unsigned mapDrawTypeSize = 7; - -static const char *const mapDrawTypeStrings[] = -{ - // TRANSLATORS: map view type in status bar - N_("(N) normal map view"), - // TRANSLATORS: map view type in status bar - N_("(D) debug map view"), - // TRANSLATORS: map view type in status bar - N_("(u) ultra map view"), - // TRANSLATORS: map view type in status bar - N_("(U) ultra map view 2"), - // TRANSLATORS: map view type in status bar - N_("(e) empty map view with collision"), - // TRANSLATORS: map view type in status bar - N_("(E) empty map view"), - // TRANSLATORS: map view type in status bar - N_("(b) black & white map view"), - // TRANSLATORS: pickup size in status bar - N_("(?) map view") -}; - -std::string LocalPlayer::getMapDrawTypeString() -{ - return gettext(getVarItem(&mapDrawTypeStrings[0], - viewport->getMapDrawType(), mapDrawTypeSize)); -} - const unsigned awayModeSize = 2; void LocalPlayer::changeAwayMode() diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 8e32b8d14..cf604a1ca 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -392,8 +392,6 @@ class LocalPlayer final : public Being, void setTestParticle(const std::string &fileName, const bool updateHash = true); - static std::string getMapDrawTypeString(); - std::string getAwayModeString(); static std::string getCameraModeString(); |