diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 18 | ||||
-rw-r--r-- | src/being/localplayer.h | 2 |
2 files changed, 12 insertions, 8 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 52bf2d75d..c069a6e4e 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1520,7 +1520,7 @@ std::string LocalPlayer::getPickUpTypeString() mPickUpType, pickUpTypeSize)); } -const unsigned debugPathSize = 5; +const unsigned debugPathSize = 7; static const char *const debugPathStrings[] = { @@ -1533,15 +1533,19 @@ static const char *const debugPathStrings[] = // 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"), + N_("(e) empty map view with collision"), // TRANSLATORS: map view type in status bar - N_("(b) black & white map view") + 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::getDebugPathString() +std::string LocalPlayer::getMapDrawTypeString() { return gettext(getVarItem(&debugPathStrings[0], - viewport->getDebugPath(), debugPathSize)); + viewport->getMapDrawType(), debugPathSize)); } const unsigned magicAttackSize = 5; @@ -3733,12 +3737,12 @@ void LocalPlayer::resetYellowBar() mPickUpType = config.resetIntValue("pickUpType"); if (viewport) { - viewport->setDebugPath(0); + viewport->setMapDrawType(0); if (viewport->getCameraMode()) viewport->toggleCameraMode(); } if (mMap) - mMap->setDebugFlags(0); + mMap->setDrawLayersFlags(0); mImitationMode = config.resetIntValue("imitationMode"); mDisableGameModifiers = config.resetBoolValue("disableGameModifiers"); diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 2eb236918..8e72bf5d6 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -468,7 +468,7 @@ class LocalPlayer final : public Being, std::string getPickUpTypeString(); - static std::string getDebugPathString(); + static std::string getMapDrawTypeString(); std::string getMagicAttackString(); |