aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-07-24 21:31:00 +0000
committerSven Hesse2009-07-24 21:31:00 +0000
commitadc537161a048939c995475707f70cbe9c34b720 (patch)
treeb35ad12482678964dc14a68f124bf5d7961d4726 /engines/gob/videoplayer.cpp
parent44fb798a3af69ec7e983b60011d8153b804168ba (diff)
downloadscummvm-rg350-adc537161a048939c995475707f70cbe9c34b720.tar.gz
scummvm-rg350-adc537161a048939c995475707f70cbe9c34b720.tar.bz2
scummvm-rg350-adc537161a048939c995475707f70cbe9c34b720.zip
Adding subtitle support to Woodruff
svn-id: r42705
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r--engines/gob/videoplayer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index f708729fd8..621171b18b 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -711,6 +711,9 @@ void VideoPlayer::playFrame(int16 frame, int16 breakKey,
_vm->_video->retrace();
}
+ // Subtitle
+ if (state.flags & Graphics::CoktelVideo::kStateSpeech)
+ _vm->_draw->printTotText(state.speechId);
if (modifiedPal && ((palCmd == 2) || (palCmd == 4)))
_vm->_palAnim->fade(_vm->_global->_pPaletteDesc, -2, 0);