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
 
virtual void run ()=0
 
virtual void paint (RenderSurface *surf, int lerp)=0
 
virtual void start ()=0
 
virtual void stop ()=0
 
virtual bool isPlaying () const =0
 
virtual void setOffset (int x, int y)
 

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.

Member Function Documentation

◆ run()

void Ultima::Ultima8::AVIPlayer::run ( )
overridevirtual

◆ paint()

void Ultima::Ultima8::AVIPlayer::paint ( RenderSurface *  surf,
int  lerp 
)
overridevirtual

◆ start()

void Ultima::Ultima8::AVIPlayer::start ( )
overridevirtual

◆ stop()

void Ultima::Ultima8::AVIPlayer::stop ( )
overridevirtual

◆ isPlaying()

bool Ultima::Ultima8::AVIPlayer::isPlaying ( ) const
inlineoverridevirtual

◆ setOffset()

void Ultima::Ultima8::AVIPlayer::setOffset ( int  xoff,
int  yoff 
)
overridevirtual

Reimplemented from Ultima::Ultima8::MoviePlayer.


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