aboutsummaryrefslogtreecommitdiff
path: root/engines/access/video.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-26 21:21:03 -0400
committerPaul Gilbert2016-05-26 21:21:03 -0400
commitac8adb07c835885584517674b9b03bab14e8a772 (patch)
tree1d35a5a75c2d3001a4f707040e010cfcc0c6aa04 /engines/access/video.h
parent741e26cfd2c9484bd4ae4698c9ba0f5925be2b38 (diff)
downloadscummvm-rg350-ac8adb07c835885584517674b9b03bab14e8a772.tar.gz
scummvm-rg350-ac8adb07c835885584517674b9b03bab14e8a772.tar.bz2
scummvm-rg350-ac8adb07c835885584517674b9b03bab14e8a772.zip
ACCESS: Refactor ASurface and Screen to not use virtual inheritance
Diffstat (limited to 'engines/access/video.h')
-rw-r--r--engines/access/video.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/access/video.h b/engines/access/video.h
index 83c8995d3e..65dff3ebea 100644
--- a/engines/access/video.h
+++ b/engines/access/video.h
@@ -40,7 +40,7 @@ class VideoPlayer : public Manager {
VideoFlags _flags;
};
private:
- ASurface *_vidSurface;
+ BaseSurface *_vidSurface;
Resource *_videoData;
VideoHeader _header;
byte *_startCoord;
@@ -51,7 +51,7 @@ private:
Common::Rect _videoBounds;
void getFrame();
- void setVideo(ASurface *vidSurface, const Common::Point &pt, int rate);
+ void setVideo(BaseSurface *vidSurface, const Common::Point &pt, int rate);
public:
int _videoFrame;
bool _soundFlag;
@@ -64,8 +64,8 @@ public:
/**
* Start up a video
*/
- void setVideo(ASurface *vidSurface, const Common::Point &pt, const FileIdent &videoFile, int rate);
- void setVideo(ASurface *vidSurface, const Common::Point &pt, const Common::String filename, int rate);
+ void setVideo(BaseSurface *vidSurface, const Common::Point &pt, const FileIdent &videoFile, int rate);
+ void setVideo(BaseSurface *vidSurface, const Common::Point &pt, const Common::String filename, int rate);
/**
* Decodes a frame of the video