diff options
author | Paul Gilbert | 2016-04-10 15:39:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:10:51 -0400 |
commit | 91336a86115f600e626c333441aa1369b435ab92 (patch) | |
tree | 78b9b7ebb30f8992c1dc621a6b5cb3e0592f7df7 /engines/titanic/support/video_surface.cpp | |
parent | 8e5f7a9453deff3436fc937292a0ff825acd7454 (diff) | |
download | scummvm-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.cpp | 8 |
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); } } |