summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index fa02f244b..d189b2415 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -184,6 +184,8 @@ class Viewport final : public WindowContainer,
void updateMidVars();
+ void updateMaxVars();
+
static void validateSpeed();
private:
@@ -233,6 +235,8 @@ class Viewport final : public WindowContainer,
int mPixelViewY; /**< Current viewpoint in pixels. */
int mMidTileX;
int mMidTileY;
+ int mViewXmax;
+ int mViewYmax;
int mLocalWalkTime; /**< Timestamp before the next walk can be sent. */