summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-09 11:49:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-09 11:49:46 +0300
commit6e052536a2dfb7f877a356477bc86c904aae1e71 (patch)
treecfe31d967d591a99609eea758bb2823769ab9edb /src/gui/viewport.h
parentacb8d0c088c2d4368b73b3c1c1d7eb13bad49aa0 (diff)
downloadmv-6e052536a2dfb7f877a356477bc86c904aae1e71.tar.gz
mv-6e052536a2dfb7f877a356477bc86c904aae1e71.tar.bz2
mv-6e052536a2dfb7f877a356477bc86c904aae1e71.tar.xz
mv-6e052536a2dfb7f877a356477bc86c904aae1e71.zip
Add empty map mode without collisions.
Mode can be switched from yellow bar. Also renamed map draw type related variables and methods.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h12
1 files changed, 6 insertions, 6 deletions
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. */