diff options
Diffstat (limited to 'engines/zvision/lever_control.h')
-rw-r--r-- | engines/zvision/lever_control.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/zvision/lever_control.h b/engines/zvision/lever_control.h index d359318d2f..b5677a269e 100644 --- a/engines/zvision/lever_control.h +++ b/engines/zvision/lever_control.h @@ -61,7 +61,8 @@ private: }; enum { - ANGLE_DELTA = 30 // How far off a mouse angle can be and still be considered valid. This is in both directions, so the total buffer zone is (2 * ANGLE_DELTA) + ANGLE_DELTA = 30, // How far off a mouse angle can be and still be considered valid. This is in both directions, so the total buffer zone is (2 * ANGLE_DELTA) + ANIMATION_FRAME_TIME = 30 // In millis }; private: @@ -85,6 +86,8 @@ private: bool _isReturning; Common::Point _lastMousePos; Common::List<uint>::iterator _returnRoutesCurrentProgress; + uint _returnRoutesCurrentFrame; + uint32 _accumulatedTime; public: void onMouseDown(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos); |