ScummVM API documentation
Ultima::Ultima8::AVIPlayer Class Reference
Inheritance diagram for Ultima::Ultima8::AVIPlayer:
Ultima::Ultima8::MoviePlayer

Public Member Functions

 AVIPlayer (Common::SeekableReadStream *rs, int width, int height, const byte *overridePal, bool noScale)
 
void run () override
 
void paint (RenderSurface *surf, int lerp) override
 
void start () override
 
void stop () override
 
bool isPlaying () const override
 
int getFrameNo () const
 
void setOffset (int xoff, int yoff) override
 

Constructor & Destructor Documentation

◆ AVIPlayer()

Ultima::Ultima8::AVIPlayer::AVIPlayer ( Common::SeekableReadStream rs,
int  width,
int  height,
const byte *  overridePal,
bool  noScale 
)

Create a new player for the given stream at the given size. Playback is automatically scaled up using the line-skip style from Crusader, unless noScale flag is set. If overridePal is set, use that as the palette instead of the AVI's one.


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