#include <riven_video.h>
A video monitored by the VideoManager
◆ load()
void Mohawk::RivenVideo::load |
( |
uint16 |
id | ) |
|
Load the video from the archive
◆ close()
void Mohawk::RivenVideo::close |
( |
| ) |
|
Free resources allocated for the movie, but allow to load it again later
◆ play()
void Mohawk::RivenVideo::play |
( |
| ) |
|
◆ playBlocking()
void Mohawk::RivenVideo::playBlocking |
( |
int32 |
endTime = -1 | ) |
|
Play the video until it completes or reaches the specified timestamp
◆ endOfVideo()
bool Mohawk::RivenVideo::endOfVideo |
( |
| ) |
const |
Has the video reached its end?
◆ isLooping()
bool Mohawk::RivenVideo::isLooping |
( |
| ) |
const |
|
inline |
◆ isEnabled()
bool Mohawk::RivenVideo::isEnabled |
( |
| ) |
const |
|
inline |
Is the video enabled? (Drawing to the screen)
◆ getId()
uint16 Mohawk::RivenVideo::getId |
( |
| ) |
const |
|
inline |
◆ getSlot()
uint16 Mohawk::RivenVideo::getSlot |
( |
| ) |
const |
|
inline |
Get the slot used by the video in the video manager
◆ getCurFrame()
int Mohawk::RivenVideo::getCurFrame |
( |
| ) |
const |
Get the current frame of the video
◆ getFrameCount()
uint32 Mohawk::RivenVideo::getFrameCount |
( |
| ) |
const |
Get the frame count of the video
◆ getTime()
uint32 Mohawk::RivenVideo::getTime |
( |
| ) |
const |
Get the current time position of the video
◆ getDuration()
uint32 Mohawk::RivenVideo::getDuration |
( |
| ) |
const |
Get the duration of the video
◆ moveTo()
void Mohawk::RivenVideo::moveTo |
( |
uint16 |
x, |
|
|
uint16 |
y |
|
) |
| |
|
inline |
Move the video to the specified coordinates
◆ setLooping()
void Mohawk::RivenVideo::setLooping |
( |
bool |
loop | ) |
|
|
inline |
Set the video to loop (true) or not (false)
◆ enable()
void Mohawk::RivenVideo::enable |
( |
| ) |
|
◆ disable()
void Mohawk::RivenVideo::disable |
( |
| ) |
|
◆ seek()
void Mohawk::RivenVideo::seek |
( |
uint32 |
time | ) |
|
◆ pause()
void Mohawk::RivenVideo::pause |
( |
bool |
isPaused | ) |
|
◆ stop()
void Mohawk::RivenVideo::stop |
( |
| ) |
|
◆ isPlaying()
bool Mohawk::RivenVideo::isPlaying |
( |
| ) |
const |
◆ setVolume()
void Mohawk::RivenVideo::setVolume |
( |
int |
volume | ) |
|
Set the volume of the video
◆ needsUpdate()
bool Mohawk::RivenVideo::needsUpdate |
( |
| ) |
const |
Checks if a video is playing and is waiting to display the next frame
◆ drawNextFrame()
void Mohawk::RivenVideo::drawNextFrame |
( |
| ) |
|
Draw the next frame to the system screen
The documentation for this class was generated from the following file: