aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/video_surface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-10 15:39:20 -0400
committerPaul Gilbert2016-07-10 16:10:51 -0400
commit91336a86115f600e626c333441aa1369b435ab92 (patch)
tree78b9b7ebb30f8992c1dc621a6b5cb3e0592f7df7 /engines/titanic/support/video_surface.cpp
parent8e5f7a9453deff3436fc937292a0ff825acd7454 (diff)
downloadscummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.tar.gz
scummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.tar.bz2
scummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.zip
TITANIC: Implement playing a range of frames within movie
Diffstat (limited to 'engines/titanic/support/video_surface.cpp')
-rw-r--r--engines/titanic/support/video_surface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/support/video_surface.cpp b/engines/titanic/support/video_surface.cpp
index 3fb513c5fc..089b216347 100644
--- a/engines/titanic/support/video_surface.cpp
+++ b/engines/titanic/support/video_surface.cpp
@@ -379,14 +379,14 @@ void OSVideoSurface::shiftColors() {
// we already convert 16-bit surfaces as soon as they're loaded
}
-void OSVideoSurface::playMovie(int newStatus, CVideoSurface *surface) {
+void OSVideoSurface::playMovie(uint flags, CVideoSurface *surface) {
if (loadIfReady() && _movie)
- _movie->play(newStatus, surface);
+ _movie->play(flags, surface);
}
-void OSVideoSurface::playMovie(int v1, int v2, int v3, bool v4) {
+void OSVideoSurface::playMovie(uint startFrame, uint endFrame, int v3, bool v4) {
if (loadIfReady() && _movie) {
- _movie->play(v1, v2, v3, v4);
+ _movie->play(startFrame, endFrame, v3, v4);
}
}