ScummVM API documentation
Sci::SEQPlayer Class Reference

#include <video32.h>

Inheritance diagram for Sci::SEQPlayer:
Sci::VideoPlayer

Public Member Functions

 SEQPlayer (EventManager *eventMan)
 
void play (const Common::Path &fileName, const int16 numTicks, const int16 x, const int16 y)
 
- 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

SEQPlayer is used to play SEQ animations. Used by DOS versions of GK1 and QFG4CD.

Member Function Documentation

◆ play()

void Sci::SEQPlayer::play ( const Common::Path fileName,
const int16  numTicks,
const int16  x,
const int16  y 
)

Plays a SEQ animation with the given file name, with each frame being displayed for numTicks ticks.


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