aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/movie.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-11 19:35:21 -0400
committerPaul Gilbert2017-09-11 19:35:21 -0400
commitc8c83145a8dc90c8ea340b258999e32db56e40a0 (patch)
treea30d6b5289fdac45d657ce22f272ff5b53ce95e2 /engines/titanic/support/movie.cpp
parent5d419c2b58841b2bc56c40caebab5e38622dee88 (diff)
downloadscummvm-rg350-c8c83145a8dc90c8ea340b258999e32db56e40a0.tar.gz
scummvm-rg350-c8c83145a8dc90c8ea340b258999e32db56e40a0.tar.bz2
scummvm-rg350-c8c83145a8dc90c8ea340b258999e32db56e40a0.zip
TITANIC: The hasAudioTiming code was just an isActive flag
Diffstat (limited to 'engines/titanic/support/movie.cpp')
-rw-r--r--engines/titanic/support/movie.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp
index 56e7b7e6f2..8c130ddb6f 100644
--- a/engines/titanic/support/movie.cpp
+++ b/engines/titanic/support/movie.cpp
@@ -40,8 +40,7 @@ namespace Titanic {
CMovieList *CMovie::_playingMovies;
CVideoSurface *CMovie::_movieSurface;
-CMovie::CMovie() : ListItem(), _handled(false), _hasVideoFrame(false),
- _hasAudioTiming(false) {
+CMovie::CMovie() : ListItem(), _handled(false), _hasVideoFrame(false) {
}
CMovie::~CMovie() {
@@ -200,6 +199,10 @@ void OSMovie::setFrameRate(double rate) {
_aviSurface.setFrameRate(rate);
}
+void OSMovie::setPlaying(bool playingFlag) {
+ _aviSurface.setPlaying(playingFlag);
+}
+
Graphics::ManagedSurface *OSMovie::duplicateTransparency() const {
return _aviSurface.duplicateTransparency();
}