From ad36fb3366a68f6e49f00063371ca0ab6e02b929 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 2 Jan 2013 22:18:09 +0100 Subject: TOLTECS: Don't allow dialog skipping while movies are playing --- engines/toltecs/movie.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/toltecs/movie.h') diff --git a/engines/toltecs/movie.h b/engines/toltecs/movie.h index 8fa48975d7..c1ed6d7ba0 100644 --- a/engines/toltecs/movie.h +++ b/engines/toltecs/movie.h @@ -37,11 +37,15 @@ public: void playMovie(uint resIndex); + bool isPlaying() { return _isPlaying; } + protected: ToltecsEngine *_vm; Audio::QueuingAudioStream *_audioStream; Audio::SoundHandle _audioStreamHandle; + bool _isPlaying; + uint32 _chunkCount, _frameCount, _lastPrefetchOfs; uint32 _soundChunkFramesLeft, _framesPerSoundChunk; -- cgit v1.2.3