22 #ifndef MOHAWK_RIVEN_VIDEO_H 23 #define MOHAWK_RIVEN_VIDEO_H 25 #include "common/list.h" 26 #include "common/noncopyable.h" 29 class QuickTimeDecoder;
34 class MohawkEngine_Riven;
54 void playBlocking(int32 endTime = -1);
57 bool endOfVideo()
const;
66 uint16
getId()
const {
return _id; }
72 int getCurFrame()
const;
75 uint32 getFrameCount()
const;
78 uint32 getTime()
const;
81 uint32 getDuration()
const;
84 void moveTo(uint16 x, uint16 y) { _x = x; _y = y; }
96 void seek(uint32 time);
99 void pause(
bool isPaused);
105 bool isPlaying()
const;
108 void setVolume(
int volume);
111 bool needsUpdate()
const;
114 void drawNextFrame();
140 void disableAllMovies();
uint16 getId() const
Definition: riven_video.h:66
Definition: qt_decoder.h:60
Definition: riven_video.h:39
Definition: noncopyable.h:39
void moveTo(uint16 x, uint16 y)
Definition: riven_video.h:84
uint16 getSlot() const
Definition: riven_video.h:69
Definition: riven_video.h:130
bool isLooping() const
Definition: riven_video.h:60
bool isEnabled() const
Definition: riven_video.h:63
Definition: avi_frames.h:36
void setLooping(bool loop)
Definition: riven_video.h:87