aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/render_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/render_manager.h')
-rw-r--r--engines/zvision/render_manager.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/zvision/render_manager.h b/engines/zvision/render_manager.h
index 8731675ef6..7d44a37726 100644
--- a/engines/zvision/render_manager.h
+++ b/engines/zvision/render_manager.h
@@ -55,12 +55,18 @@ private:
Common::SeekableReadStream *_currentBackground;
Common::Point _backgroundOffset;
+ uint16 _backgroundWidth;
+ uint16 _backgroundHeight;
+
+ int _backgroundInverseVelocity;
+ uint _accumulatedVelocityMilliseconds;
Video::VideoDecoder *_currentVideo;
byte *_scaledVideoFrameBuffer;
public:
void initialize();
+ void update(uint deltaTimeInMillis);
/**
* Blits the image or a portion of the image to the screen. Actual screen updates won't happen until the end of the frame.
@@ -92,6 +98,10 @@ public:
*/
void setBackgroundImage(const Common::String &fileName);
+ void setBackgroundPosition(int offset);
+
+ void setBackgroundVelocity(int velocity);
+
const Common::Point screenSpaceToImageSpace(const Common::Point &point);
RenderTable *getRenderTable();