ScummVM API documentation
Access::VideoPlayer Class Referenceabstract
Inheritance diagram for Access::VideoPlayer:
Access::Manager Access::VideoPlayer_v1 Access::VideoPlayer_v2

Public Member Functions

 VideoPlayer (AccessEngine *vm)
 
void setVideo (BaseSurface *vidSurface, const Common::Point &pt, const FileIdent &videoFile, int rate)
 
void setVideo (BaseSurface *vidSurface, const Common::Point &pt, const Common::Path &filename, int rate)
 
virtual void playVideo ()=0
 
virtual void copyVideo ()=0
 
virtual void closeVideo ()
 
void playToEnd ()
 
virtual int getWidth ()=0
 
virtual int getHeight ()=0
 
- Public Member Functions inherited from Access::Manager
 Manager (AccessEngine *vm)
 

Public Attributes

int _videoFrame
 
bool _soundFlag
 
int _soundFrame
 
bool _videoEnd
 

Protected Member Functions

virtual void setVideo (const Common::Point &pt)=0
 
virtual void setRate (int rate)=0
 
virtual void delayToNextFrame ()=0
 

Protected Attributes

Resource_videoData
 
BaseSurface_vidSurface
 
- Protected Attributes inherited from Access::Manager
AccessEngine_vm
 

Member Function Documentation

◆ setVideo()

void Access::VideoPlayer::setVideo ( BaseSurface vidSurface,
const Common::Point pt,
const FileIdent videoFile,
int  rate 
)

Start up a video

◆ playVideo()

virtual void Access::VideoPlayer::playVideo ( )
pure virtual

Decodes a frame of the video

Implemented in Access::VideoPlayer_v2, and Access::VideoPlayer_v1.

◆ closeVideo()

virtual void Access::VideoPlayer::closeVideo ( )
virtual

Frees the data for a previously loaded video

Reimplemented in Access::VideoPlayer_v2.

◆ playToEnd()

void Access::VideoPlayer::playToEnd ( )

Play to the end of the video, handling events.


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