aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/video_surface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-30 21:01:51 -0400
committerPaul Gilbert2016-03-30 21:01:51 -0400
commit348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c (patch)
tree9f6d760a91c7c86e8da8d8cae69a606d5e078860 /engines/titanic/video_surface.cpp
parent08a801b1128d63e5c2cedee218a6dce7d6f04f28 (diff)
downloadscummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.tar.gz
scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.tar.bz2
scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.zip
TITANIC: Fleshing out CPetVal
Diffstat (limited to 'engines/titanic/video_surface.cpp')
-rw-r--r--engines/titanic/video_surface.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/titanic/video_surface.cpp b/engines/titanic/video_surface.cpp
index 6cbea17c40..520193f376 100644
--- a/engines/titanic/video_surface.cpp
+++ b/engines/titanic/video_surface.cpp
@@ -151,6 +151,17 @@ uint CVideoSurface::getTransparencyColor() {
return val;
}
+bool CVideoSurface::proc45() {
+ if (_field50) {
+ _field50 = 0;
+ return true;
+ } else if (_movie) {
+ return _movie->get10();
+ } else {
+ return false;
+ }
+}
+
/*------------------------------------------------------------------------*/
OSVideoSurface::OSVideoSurface(CScreenManager *screenManager, DirectDrawSurface *surface) :