From 6e052536a2dfb7f877a356477bc86c904aae1e71 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 9 Jul 2014 11:49:46 +0300 Subject: Add empty map mode without collisions. Mode can be switched from yellow bar. Also renamed map draw type related variables and methods. --- src/gui/viewport.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/viewport.h') diff --git a/src/gui/viewport.h b/src/gui/viewport.h index d401a3af4..4a7abea93 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -96,7 +96,7 @@ class Viewport final : public WindowContainer, * debug with all images and grid, debug with out big images * and with out grid. */ - void toggleDebugPath(); + void toggleMapDrawType(); void toggleCameraMode(); @@ -242,11 +242,11 @@ class Viewport final : public WindowContainer, void scrollBy(const int x, const int y) { mPixelViewX += x; mPixelViewY += y; } - int getDebugPath() const A_WARN_UNUSED - { return mShowDebugPath; } + int getMapDrawType() const A_WARN_UNUSED + { return mMapDrawType; } - void setDebugPath(const int n) - { mShowDebugPath = n; } + void setMapDrawType(const int n) + { mMapDrawType = n; } int getCameraMode() const A_WARN_UNUSED { return mCameraMode; } @@ -344,7 +344,7 @@ class Viewport final : public WindowContainer, int mMousePressY; int mPixelViewX; /**< Current viewpoint in pixels. */ int mPixelViewY; /**< Current viewpoint in pixels. */ - int mShowDebugPath; /**< Show a path from player to pointer. */ + int mMapDrawType; /**< Show a path from player to pointer. */ int mCameraMode; /**< Camera mode. */ int mLocalWalkTime; /**< Timestamp before the next walk can be sent. */ -- cgit v1.2.3-60-g2f50