ScummVM API documentation
Sword2::MoviePlayer Class Reference

Public Member Functions

 MoviePlayer (Sword2Engine *vm, OSystem *system, Video::VideoDecoder *decoder, DecoderType decoderType)
 
bool load (const char *name)
 
void play (MovieText *movieTexts, uint32 numMovieTexts, uint32 leadIn, uint32 leadOut)
 

Protected Member Functions

void performPostProcessing (Graphics::Surface *screen, uint16 pitch)
 
bool playVideo ()
 
void drawFramePSX (const Graphics::Surface *frame)
 
void openTextObject (uint32 index)
 
void closeTextObject (uint32 index, Graphics::Surface *screen, uint16 pitch)
 
void drawTextObject (uint32 index, Graphics::Surface *screen, uint16 pitch)
 
uint32 getBlackColor ()
 
uint32 getWhiteColor ()
 

Protected Attributes

Sword2Engine_vm
 
OSystem_system
 
MovieText_movieTexts
 
uint32 _numMovieTexts
 
uint32 _currentMovieText
 
byte * _textSurface
 
int _textX
 
int _textY
 
byte _white
 
byte _black
 
DecoderType _decoderType
 
Video::VideoDecoder_decoder
 
uint32 _leadOut
 
int _leadOutFrame
 

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