|
virtual void | play (uint flags, CGameObject *obj)=0 |
|
virtual void | play (uint startFrame, uint endFrame, uint flags, CGameObject *obj)=0 |
|
virtual void | play (uint startFrame, uint endFrame, uint initialFrame, uint flags, CGameObject *obj)=0 |
|
virtual bool | playCutscene (const Rect &drawRect, uint startFrame, uint endFrame)=0 |
|
virtual void | pause ()=0 |
|
virtual void | stop ()=0 |
|
virtual void | addEvent (int frameNumber, CGameObject *obj)=0 |
|
virtual void | setFrame (uint frameNumber)=0 |
|
virtual bool | handleEvents (CMovieEventList &events)=0 |
|
virtual const CMovieRangeInfoList * | getMovieRangeInfo () const =0 |
|
virtual void | setSoundManager (CSoundManager *soundManager)=0 |
|
virtual int | getFrame () const =0 |
|
virtual void | setFrameRate (double rate)=0 |
|
virtual void | setPlaying (bool playingFlag)=0 |
|
virtual Graphics::ManagedSurface * | duplicateTransparency () const =0 |
|
void | removeFromPlayingMovies () |
|
bool | isActive () const |
|
bool | hasVideoFrame () |
|
void | save (SimpleFile *file, int indent) override |
|
void | load (SimpleFile *file) override |
|
virtual ClassDef * | getType () const |
|
bool | isInstanceOf (const ClassDef *classDef) const |
|
virtual void | saveHeader (SimpleFile *file, int indent) |
|
virtual void | saveFooter (SimpleFile *file, int indent) |
|
|
bool | _handled |
|
bool | _hasVideoFrame |
|
| CLASSDEF |
|
◆ addToPlayingMovies()
void Titanic::CMovie::addToPlayingMovies |
( |
| ) |
|
|
protected |
Adds the movie to the list of currently playing movies
◆ init()
static void Titanic::CMovie::init |
( |
| ) |
|
|
static |
◆ deinit()
static void Titanic::CMovie::deinit |
( |
| ) |
|
|
static |
◆ play() [1/3]
virtual void Titanic::CMovie::play |
( |
uint |
flags, |
|
|
CGameObject * |
obj |
|
) |
| |
|
pure virtual |
◆ play() [2/3]
virtual void Titanic::CMovie::play |
( |
uint |
startFrame, |
|
|
uint |
endFrame, |
|
|
uint |
flags, |
|
|
CGameObject * |
obj |
|
) |
| |
|
pure virtual |
◆ play() [3/3]
virtual void Titanic::CMovie::play |
( |
uint |
startFrame, |
|
|
uint |
endFrame, |
|
|
uint |
initialFrame, |
|
|
uint |
flags, |
|
|
CGameObject * |
obj |
|
) |
| |
|
pure virtual |
◆ playCutscene()
virtual bool Titanic::CMovie::playCutscene |
( |
const Rect & |
drawRect, |
|
|
uint |
startFrame, |
|
|
uint |
endFrame |
|
) |
| |
|
pure virtual |
Plays a sub-section of a movie, and doesn't return until either the playback ends or a key has been pressed
- Returns
- True if the cutscene was not interrupted
Implemented in Titanic::OSMovie.
◆ pause()
virtual void Titanic::CMovie::pause |
( |
| ) |
|
|
pure virtual |
◆ stop()
virtual void Titanic::CMovie::stop |
( |
| ) |
|
|
pure virtual |
◆ addEvent()
virtual void Titanic::CMovie::addEvent |
( |
int |
frameNumber, |
|
|
CGameObject * |
obj |
|
) |
| |
|
pure virtual |
◆ setFrame()
virtual void Titanic::CMovie::setFrame |
( |
uint |
frameNumber | ) |
|
|
pure virtual |
◆ handleEvents()
◆ getMovieRangeInfo()
Return any movie range info associated with the movie
Implemented in Titanic::OSMovie.
◆ setSoundManager()
virtual void Titanic::CMovie::setSoundManager |
( |
CSoundManager * |
soundManager | ) |
|
|
pure virtual |
◆ getFrame()
virtual int Titanic::CMovie::getFrame |
( |
| ) |
const |
|
pure virtual |
◆ setFrameRate()
virtual void Titanic::CMovie::setFrameRate |
( |
double |
rate | ) |
|
|
pure virtual |
◆ setPlaying()
virtual void Titanic::CMovie::setPlaying |
( |
bool |
playingFlag | ) |
|
|
pure virtual |
Sets whether the video is playing (versus paused)
Implemented in Titanic::OSMovie.
◆ duplicateTransparency()
Creates a duplicate of the transparency surface
Implemented in Titanic::OSMovie.
◆ removeFromPlayingMovies()
void Titanic::CMovie::removeFromPlayingMovies |
( |
| ) |
|
Removes the movie from the list of currently playing movies
◆ isActive()
bool Titanic::CMovie::isActive |
( |
| ) |
const |
Returns true if the movie is currently active
◆ hasVideoFrame()
bool Titanic::CMovie::hasVideoFrame |
( |
| ) |
|
Returns true if there's a video frame
The documentation for this class was generated from the following file: