#include <BinkVideoPlayer.h>
Inherits VideoPlayer.
Public Member Functions | |
| virtual void | init (void) |
| Initialize video playback code. | |
| virtual void | reset (void) |
| Reset video playback. | |
| virtual void | update (void) |
| Services all audio tasks. Should be called frequently. | |
| virtual void | deinit (void) |
| Close down player. | |
| BinkVideoPlayer () | |
| ~BinkVideoPlayer () | |
| virtual void | loseFocus (void) |
| Should be called when application loses focus. | |
| virtual void | regainFocus (void) |
| Should be called when application regains focus. | |
| virtual VideoStreamInterface * | open (AsciiString movieTitle) |
| Open video file for playback. | |
| virtual VideoStreamInterface * | load (AsciiString movieTitle) |
| Load video file in to memory for playback. | |
| virtual void | notifyVideoPlayerOfNewProvider (Bool nowHasValid) |
| Notify the video player that they can now ask for an audio handle, or they need to give theirs up. | |
| virtual void | initializeBinkWithMiles (void) |
Public Member Functions inherited from VideoPlayer | |
| VideoPlayer () | |
| ~VideoPlayer () | |
| virtual VideoStreamInterface * | firstStream (void) |
| Return the first open/loaded video stream. | |
| virtual void | closeAllStreams (void) |
| Close all open streams. | |
| virtual void | addVideo (Video *videoToAdd) |
| Add a video to the list of videos we can play. | |
| virtual void | removeVideo (Video *videoToRemove) |
| Remove a video to the list of videos we can play. | |
| virtual Int | getNumVideos (void) |
| Retrieve info about the number of videos currently listed. | |
| virtual const Video * | getVideo (AsciiString movieTitle) |
| Retrieve info about a movie based on internal name. | |
| virtual const Video * | getVideo (Int index) |
| Retrieve info about a movie based on index. | |
| virtual const FieldParse * | getFieldParse (void) const |
| Return the field parse info. | |
| void | remove (VideoStream *stream) |
| remove stream from active list | |
Public Member Functions inherited from VideoPlayerInterface | |
| virtual | ~VideoPlayerInterface () |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Protected Member Functions | |
| VideoStreamInterface * | createStream (HBINK handle) |
Additional Inherited Members | |
Protected Attributes inherited from VideoPlayer | |
| VecVideo | mVideosAvailableForPlay |
| VideoStream * | m_firstStream |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
Static Protected Attributes inherited from VideoPlayer | |
| static const FieldParse | m_videoFieldParseTable [] |
Bink video playback code.
Definition at line 106 of file BinkVideoPlayer.h.
| BinkVideoPlayer::BinkVideoPlayer | ( | ) |
Definition at line 110 of file BinkVideoPlayer.cpp.
| BinkVideoPlayer::~BinkVideoPlayer | ( | ) |
Definition at line 119 of file BinkVideoPlayer.cpp.
|
protected |
Definition at line 187 of file BinkVideoPlayer.cpp.
|
virtual |
Close down player.
Reimplemented from VideoPlayer.
Definition at line 140 of file BinkVideoPlayer.cpp.
|
virtual |
Initialize video playback code.
Reimplemented from VideoPlayer.
Definition at line 128 of file BinkVideoPlayer.cpp.
|
virtual |
Definition at line 283 of file BinkVideoPlayer.cpp.
|
virtual |
Load video file in to memory for playback.
Reimplemented from VideoPlayer.
Definition at line 264 of file BinkVideoPlayer.cpp.
|
virtual |
Should be called when application loses focus.
Reimplemented from VideoPlayer.
Definition at line 169 of file BinkVideoPlayer.cpp.
|
virtual |
Notify the video player that they can now ask for an audio handle, or they need to give theirs up.
Reimplemented from VideoPlayer.
Definition at line 271 of file BinkVideoPlayer.cpp.
|
virtual |
Open video file for playback.
Reimplemented from VideoPlayer.
Definition at line 221 of file BinkVideoPlayer.cpp.
|
virtual |
Should be called when application regains focus.
Reimplemented from VideoPlayer.
Definition at line 178 of file BinkVideoPlayer.cpp.
|
virtual |
Reset video playback.
Reimplemented from VideoPlayer.
Definition at line 150 of file BinkVideoPlayer.cpp.
|
virtual |
Services all audio tasks. Should be called frequently.
Reimplemented from VideoPlayer.
Definition at line 159 of file BinkVideoPlayer.cpp.