aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/VidPlayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/video/VidPlayer.h')
-rw-r--r--engines/wintermute/video/VidPlayer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/wintermute/video/VidPlayer.h b/engines/wintermute/video/VidPlayer.h
index 6b729cac20..fd587aa609 100644
--- a/engines/wintermute/video/VidPlayer.h
+++ b/engines/wintermute/video/VidPlayer.h
@@ -46,23 +46,23 @@ class CVidPlayer : public CBBase {
public:
bool _showSubtitle;
int _currentSubtitle;
- ERRORCODE loadSubtitles(const char *filename, const char *SubtitleFile);
+ bool loadSubtitles(const char *filename, const char *SubtitleFile);
bool _slowRendering;
bool isPlaying();
char *_filename;
- ERRORCODE stop();
- ERRORCODE play(TVideoPlayback Type = VID_PLAY_CENTER, int X = 0, int Y = 0, bool FreezeMusic = true);
+ bool stop();
+ bool play(TVideoPlayback Type = VID_PLAY_CENTER, int X = 0, int Y = 0, bool FreezeMusic = true);
uint32 _totalVideoTime;
uint32 _startTime;
//CVidRenderer *_vidRenderer;
//CBSoundAVI *_sound;
bool _soundAvailable;
- ERRORCODE SetDefaults();
+ bool SetDefaults();
bool _playing;
- ERRORCODE display();
- ERRORCODE update();
- ERRORCODE initialize(const char *inFilename, const char *SubtitleFile = NULL);
- ERRORCODE cleanup();
+ bool display();
+ bool update();
+ bool initialize(const char *inFilename, const char *SubtitleFile = NULL);
+ bool cleanup();
CVidPlayer(CBGame *inGame);
virtual ~CVidPlayer();