|
| OSMovie (const CResourceKey &name, CVideoSurface *surface) |
|
void | play (uint flags, CGameObject *obj) override |
|
void | play (uint startFrame, uint endFrame, uint flags, CGameObject *obj) override |
|
void | play (uint startFrame, uint endFrame, uint initialFrame, uint flags, CGameObject *obj) override |
|
bool | playCutscene (const Rect &drawRect, uint startFrame, uint endFrame) override |
|
void | pause () override |
|
void | stop () override |
|
void | addEvent (int eventId, CGameObject *obj) override |
|
void | setFrame (uint frameNumber) override |
|
bool | handleEvents (CMovieEventList &events) override |
|
int | getFrame () const override |
|
const CMovieRangeInfoList * | getMovieRangeInfo () const override |
|
void | setSoundManager (CSoundManager *soundManager) override |
|
void | setFrameRate (double rate) override |
|
void | setPlaying (bool playingFlag) override |
|
Graphics::ManagedSurface * | duplicateTransparency () const override |
|
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) |
|
◆ play() [1/3]
void Titanic::OSMovie::play |
( |
uint |
flags, |
|
|
CGameObject * |
obj |
|
) |
| |
|
overridevirtual |
◆ play() [2/3]
void Titanic::OSMovie::play |
( |
uint |
startFrame, |
|
|
uint |
endFrame, |
|
|
uint |
flags, |
|
|
CGameObject * |
obj |
|
) |
| |
|
overridevirtual |
◆ play() [3/3]
void Titanic::OSMovie::play |
( |
uint |
startFrame, |
|
|
uint |
endFrame, |
|
|
uint |
initialFrame, |
|
|
uint |
flags, |
|
|
CGameObject * |
obj |
|
) |
| |
|
overridevirtual |
◆ playCutscene()
bool Titanic::OSMovie::playCutscene |
( |
const Rect & |
drawRect, |
|
|
uint |
startFrame, |
|
|
uint |
endFrame |
|
) |
| |
|
overridevirtual |
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
Implements Titanic::CMovie.
◆ pause()
void Titanic::OSMovie::pause |
( |
| ) |
|
|
overridevirtual |
◆ stop()
void Titanic::OSMovie::stop |
( |
| ) |
|
|
overridevirtual |
◆ addEvent()
void Titanic::OSMovie::addEvent |
( |
int |
eventId, |
|
|
CGameObject * |
obj |
|
) |
| |
|
overridevirtual |
◆ setFrame()
void Titanic::OSMovie::setFrame |
( |
uint |
frameNumber | ) |
|
|
overridevirtual |
◆ handleEvents()
◆ getFrame()
int Titanic::OSMovie::getFrame |
( |
| ) |
const |
|
overridevirtual |
◆ getMovieRangeInfo()
Return any movie range info associated with the movie
Implements Titanic::CMovie.
◆ setSoundManager()
void Titanic::OSMovie::setSoundManager |
( |
CSoundManager * |
soundManager | ) |
|
|
overridevirtual |
◆ setFrameRate()
void Titanic::OSMovie::setFrameRate |
( |
double |
rate | ) |
|
|
overridevirtual |
◆ setPlaying()
void Titanic::OSMovie::setPlaying |
( |
bool |
playingFlag | ) |
|
|
overridevirtual |
Sets whether the video is playing (versus paused)
Implements Titanic::CMovie.
◆ duplicateTransparency()
Creates a duplicate of the transparency surface
Implements Titanic::CMovie.
The documentation for this class was generated from the following file: