22 #ifndef GROOVIE_VIDEO_PLAYER_H 23 #define GROOVIE_VIDEO_PLAYER_H 25 #include "common/system.h" 26 #include "video/subtitles.h" 29 class QueuingAudioStream;
43 virtual void resetFlags() {}
44 virtual void setOrigin(int16 x, int16 y) {}
45 virtual void stopAudioStream() = 0;
47 bool isFastForwarding();
49 virtual void copyfgtobg(uint8 arg) {}
50 void setOverrideSpeed(
bool isOverride);
52 void loadSubtitles(
const char *fname) { _subtitles.loadSRTFile(fname); }
53 void unloadSubtitles();
57 virtual uint16 loadInternal() = 0;
58 virtual bool playFrameInternal() = 0;
60 bool getOverrideSpeed()
const {
return _overrideSpeed; }
74 float _millisBetweenFrames;
75 uint32 _lastFrameTime;
76 float _frameTimeDrift;
87 #endif // GROOVIE_VIDEO_PLAYER_H
Definition: groovie.h:118
Definition: subtitles.h:61
Definition: audiostream.h:370