28 #ifndef WINTERMUTE_VIDTHEORAPLAYER_H 29 #define WINTERMUTE_VIDTHEORAPLAYER_H 31 #include "engines/wintermute/base/base.h" 32 #include "engines/wintermute/persistent.h" 33 #include "engines/wintermute/video/video_subtitler.h" 34 #include "video/video_decoder.h" 35 #include "common/stream.h" 36 #include "graphics/surface.h" 44 THEORA_STATE_NONE = 0,
45 THEORA_STATE_PLAYING = 1,
46 THEORA_STATE_PAUSED = 2,
47 THEORA_STATE_FINISHED = 3
64 bool initializeSimple();
66 bool play(TVideoPlayback type = VID_PLAY_CENTER,
int x = 0,
int y = 0,
bool freezeGame =
false,
bool freezeMusic =
true,
bool looping =
false, uint32 startTime = 0,
float forceZoom = -1.0f,
int volume = -1);
68 bool display(uint32 alpha = 0xFFFFFFFF);
73 bool isPlaying()
const {
74 return _state == THEORA_STATE_PLAYING;
76 bool isFinished()
const {
77 return _state == THEORA_STATE_FINISHED;
79 bool isPaused()
const {
80 return _state == THEORA_STATE_PAUSED;
83 uint32 getMovieTime()
const;
91 bool seekToTime(uint32 Time);
100 bool _dontDropFrames;
109 TVideoPlayback _playbackType;
118 bool _seekingKeyframe;
123 bool getIsFrameReady()
const {
124 return _videoFrameReady;
127 bool _audioFrameReady;
128 bool _videoFrameReady;
133 bool _playbackStarted;
135 bool _foundSubtitles;
Definition: base_game.h:75
Definition: video_subtitler.h:36
Definition: video_theora_player.h:41
Definition: video_decoder.h:53
Definition: base_surface.h:37
Definition: achievements_tables.h:27