diff options
author | Torbjörn Andersson | 2013-01-02 22:18:09 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2013-01-02 22:18:09 +0100 |
commit | ad36fb3366a68f6e49f00063371ca0ab6e02b929 (patch) | |
tree | b28ee6a33bf18561ba8257cbb83be919d4f3e7fc /engines/toltecs/movie.h | |
parent | 6a8fc83f427a450c98fb9ecddbacbc823f7efac4 (diff) | |
download | scummvm-rg350-ad36fb3366a68f6e49f00063371ca0ab6e02b929.tar.gz scummvm-rg350-ad36fb3366a68f6e49f00063371ca0ab6e02b929.tar.bz2 scummvm-rg350-ad36fb3366a68f6e49f00063371ca0ab6e02b929.zip |
TOLTECS: Don't allow dialog skipping while movies are playing
Diffstat (limited to 'engines/toltecs/movie.h')
-rw-r--r-- | engines/toltecs/movie.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |