diff options
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h index c75d43b..6e676ae 100644 --- a/src/game.h +++ b/src/game.h | |||
@@ -82,12 +82,14 @@ public: | |||
82 | 82 | ||
83 | int maxZoom = INIT_ZOOM; | 83 | int maxZoom = INIT_ZOOM; |
84 | int curZoom = INIT_ZOOM; | 84 | int curZoom = INIT_ZOOM; |
85 | int oldZoom; | 85 | int oldZoom = INIT_ZOOM; |
86 | bool zooming = false; | 86 | bool zooming = false; |
87 | //int zoomProgress = 0; | 87 | //int zoomProgress = 0; |
88 | //int zoomLength; | 88 | //int zoomLength; |
89 | Interpolation zoomProgress; | 89 | Interpolation zoomProgress; |
90 | 90 | ||
91 | double getZoomBasis() const { return zooming ? std::max(curZoom, oldZoom) : curZoom; } | ||
92 | |||
91 | Input keystate; | 93 | Input keystate; |
92 | bool firstInput = false; | 94 | bool firstInput = false; |
93 | Input lastInput; | 95 | Input lastInput; |