aboutsummaryrefslogtreecommitdiff
path: root/engines/made/pmvplayer.h
diff options
context:
space:
mode:
authorBenjamin Haisch2009-01-22 13:04:29 +0000
committerBenjamin Haisch2009-01-22 13:04:29 +0000
commit5b8105afb3a345cfd66efa795726329f509572c3 (patch)
tree4ff90316c9dee6be8bda8a0c3f8413ab5d8178a5 /engines/made/pmvplayer.h
parentd5d7175691ea3cde7aa941886e3197763c1398c6 (diff)
downloadscummvm-rg350-5b8105afb3a345cfd66efa795726329f509572c3.tar.gz
scummvm-rg350-5b8105afb3a345cfd66efa795726329f509572c3.tar.bz2
scummvm-rg350-5b8105afb3a345cfd66efa795726329f509572c3.zip
- Added support for The Manhole EGA version
- Support for 'chunked' picture resources and EGA pictures - Improved the mouth sync in RtZ (still not perfect, though) - Removed obsolete TODOs - Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie svn-id: r35997
Diffstat (limited to 'engines/made/pmvplayer.h')
-rw-r--r--engines/made/pmvplayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/made/pmvplayer.h b/engines/made/pmvplayer.h
index 35712f1932..e20aff12e1 100644
--- a/engines/made/pmvplayer.h
+++ b/engines/made/pmvplayer.h
@@ -44,7 +44,8 @@ class PmvPlayer {
public:
PmvPlayer(MadeEngine *vm, Audio::Mixer *mixer);
~PmvPlayer();
- void play(const char *filename);
+ // Returns true if the movie was played till the end
+ bool play(const char *filename);
protected:
MadeEngine *_vm;
Audio::Mixer *_mixer;
@@ -53,7 +54,7 @@ protected:
Audio::SoundHandle _audioStreamHandle;
byte _paletteRGB[768];
Graphics::Surface *_surface;
- bool _abort;
+ bool _aborted;
void readChunk(uint32 &chunkType, uint32 &chunkSize);
void handleEvents();
void updateScreen();