diff options
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 28 |
1 files changed, 0 insertions, 28 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() |