#include <video32.h>
Public Member Functions | |
QuickTimePlayer (EventManager *eventMan) | |
void | play (const Common::Path &fileName) |
Public Member Functions inherited from Sci::VideoPlayer | |
VideoPlayer (EventManager *eventMan, Video::VideoDecoder *decoder=nullptr) | |
Additional Inherited Members | |
Public Types inherited from Sci::VideoPlayer | |
enum | EventFlags { kEventFlagNone = 0, kEventFlagEnd = 1, kEventFlagEscapeKey = 2, kEventFlagMouseDown = 4, kEventFlagHotRectangle = 8, kEventFlagToFrame = 0x10, kEventFlagYieldToVM = 0x20, kEventFlagReverse = 0x80 } |
Protected Member Functions inherited from Sci::VideoPlayer | |
bool | open (const Common::Path &fileName) |
bool | startHQVideo () |
virtual bool | shouldStartHQVideo () const |
bool | endHQVideo () |
virtual EventFlags | playUntilEvent (const EventFlags flags, const uint32 maxSleepMs=0xFFFFFFFF) |
virtual EventFlags | checkForEvent (const EventFlags flags) |
virtual void | submitPalette (const uint8 palette[256 *3]) const |
virtual void | renderFrame (const Graphics::Surface &nextFrame) const |
template<typename PixelType > | |
void | renderLQToSurface (Graphics::Surface &out, const Graphics::Surface &nextFrame, const bool doublePixels, const bool blackLines) const |
void | setDrawRect (const int16 x, const int16 y, const int16 width, const int16 height) |
void | setSubtitlePosition () const |
Protected Attributes inherited from Sci::VideoPlayer | |
EventManager * | _eventMan |
Common::ScopedPtr< Video::VideoDecoder > | _decoder |
Common::Rect | _drawRect |
bool | _needsUpdate |
const Graphics::Surface * | _currentFrame |
Video::Subtitles | _subtitles |
QuickTimePlayer is used to play QuickTime animations. Used by Mac version of KQ7.
void Sci::QuickTimePlayer::play | ( | const Common::Path & | fileName | ) |
Plays a QuickTime animation with the given file name