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 |
| void Access::VideoPlayer::setVideo | ( | BaseSurface * | vidSurface, |
| const Common::Point & | pt, | ||
| const FileIdent & | videoFile, | ||
| int | rate | ||
| ) |
Start up a video
|
pure virtual |
Decodes a frame of the video
Implemented in Access::VideoPlayer_v2, and Access::VideoPlayer_v1.
|
virtual |
Frees the data for a previously loaded video
Reimplemented in Access::VideoPlayer_v2.
| void Access::VideoPlayer::playToEnd | ( | ) |
Play to the end of the video, handling events.