ScummVM API documentation
Sci::QuickTimePlayer Class Reference

#include <video32.h>

Inheritance diagram for Sci::QuickTimePlayer:
Sci::VideoPlayer

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
 

Detailed Description

QuickTimePlayer is used to play QuickTime animations. Used by Mac version of KQ7.

Member Function Documentation

◆ play()

void Sci::QuickTimePlayer::play ( const Common::Path fileName)

Plays a QuickTime animation with the given file name


The documentation for this class was generated from the following file: