ScummVM API documentation
Groovie::ROQPlayer Class Reference
Inheritance diagram for Groovie::ROQPlayer:
Groovie::VideoPlayer Groovie::ROQSoundPlayer

Public Member Functions

 ROQPlayer (GroovieEngine *vm)
 
void setOrigin (int16 x, int16 y) override
 
Audio::SoundHandle getSoundHandle ()
 
void drawString (Graphics::Surface *surface, const Common::String &text, int posx, int posy, uint32 color, bool blackBackground) override
 
void copyfgtobg (uint8 arg) override
 
bool isFileHandled () override
 
- Public Member Functions inherited from Groovie::VideoPlayer
 VideoPlayer (GroovieEngine *vm)
 
bool load (Common::SeekableReadStream *file, uint16 flags)
 
bool playFrame ()
 
virtual void resetFlags ()
 
virtual void setOrigin (int16 x, int16 y)
 
virtual void stopAudioStream ()=0
 
void fastForward ()
 
bool isFastForwarding ()
 
virtual void drawString (Graphics::Surface *surface, const Common::String &text, int posx, int posy, uint32 color, bool blackBackground)
 
virtual void copyfgtobg (uint8 arg)
 
void setOverrideSpeed (bool isOverride)
 
void loadSubtitles (const char *fname)
 
void unloadSubtitles ()
 
virtual bool isFileHandled ()
 

Protected Member Functions

void waitFrame () override
 
uint16 loadInternal () override
 
bool playFrameInternal () override
 
void stopAudioStream () override
 
virtual void createAudioStream (bool stereo)
 
- Protected Member Functions inherited from Groovie::VideoPlayer
virtual uint16 loadInternal ()=0
 
virtual bool playFrameInternal ()=0
 
bool getOverrideSpeed () const
 
virtual void waitFrame ()
 

Protected Attributes

Audio::SoundHandle _soundHandle
 
Graphics::Surface * _bg
 
Graphics::Surface * _screen
 
Graphics::Surface * _overBuf
 
Graphics::Surface * _currBuf
 
Graphics::Surface * _prevBuf
 
- Protected Attributes inherited from Groovie::VideoPlayer
GroovieEngine * _vm
 
OSystem * _syst
 
Common::SeekableReadStream * _file
 
uint16 _flags
 
Audio::QueuingAudioStream * _audioStream
 

Member Function Documentation

◆ setOrigin()

void Groovie::ROQPlayer::setOrigin ( int16  x,
int16  y 
)
overridevirtual

Reimplemented from Groovie::VideoPlayer.

◆ drawString()

void Groovie::ROQPlayer::drawString ( Graphics::Surface *  surface,
const Common::String &  text,
int  posx,
int  posy,
uint32  color,
bool  blackBackground 
)
overridevirtual

Reimplemented from Groovie::VideoPlayer.

◆ copyfgtobg()

void Groovie::ROQPlayer::copyfgtobg ( uint8  arg)
overridevirtual

Reimplemented from Groovie::VideoPlayer.

◆ isFileHandled()

bool Groovie::ROQPlayer::isFileHandled ( )
inlineoverridevirtual

Reimplemented from Groovie::VideoPlayer.

◆ waitFrame()

void Groovie::ROQPlayer::waitFrame ( )
overrideprotectedvirtual

Reimplemented from Groovie::VideoPlayer.

◆ loadInternal()

uint16 Groovie::ROQPlayer::loadInternal ( )
overrideprotectedvirtual

Implements Groovie::VideoPlayer.

◆ playFrameInternal()

bool Groovie::ROQPlayer::playFrameInternal ( )
overrideprotectedvirtual

Implements Groovie::VideoPlayer.

◆ stopAudioStream()

void Groovie::ROQPlayer::stopAudioStream ( )
overrideprotectedvirtual

Implements Groovie::VideoPlayer.


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