Public Member Functions | |
| VisualSmacker (Gfx::Driver *gfx) | |
| void | loadSmacker (Common::SeekableReadStream *stream) |
| void | loadBink (Common::SeekableReadStream *stream) |
| void | update () |
| void | render (const Common::Point &position) |
| bool | isDone () |
| void | rewind () |
| bool | isPointSolid (const Common::Point &point) const |
| void | readOriginalSize (Common::SeekableReadStream *stream) |
| int | getWidth () const |
| int | getHeight () const |
| int | getFrameNumber () const |
| Common::Point | getPosition () const |
| void | setPosition (const Common::Point &pos) |
| uint32 | getDuration () const |
| uint32 | getCurrentTime () const |
| void | overrideFrameRate (int32 framerate) |
| void | pause (bool pause) |
Public Member Functions inherited from Stark::Visual | |
| Visual (VisualType type) | |
| template<class T > | |
| T * | get () |
Static Public Attributes | |
| static const VisualType | TYPE = Visual::kSmackerStream |
Additional Inherited Members | |
Public Types inherited from Stark::Visual | |
| enum | VisualType { kImageXMG = 2, kRendered = 3, kImageText = 4, kSmackerStream = 5, kActor = 6, kSmackerFMV = 7, kEffectFish = 8, kEffectBubbles = 9, kEffectFirefly = 10, kExplodingImage = 100, kFlashingImage = 101 } |
| void Stark::VisualSmacker::rewind | ( | ) |
Reset the video to resume playing from the beginning
| bool Stark::VisualSmacker::isPointSolid | ( | const Common::Point & | point | ) | const |
Perform a transparency hit test on a point
| void Stark::VisualSmacker::readOriginalSize | ( | Common::SeekableReadStream * | stream | ) |
Load the size from a Smacker video
| uint32 Stark::VisualSmacker::getDuration | ( | ) | const |
Get the total duration in milliseconds for the video
| uint32 Stark::VisualSmacker::getCurrentTime | ( | ) | const |
Get the current time in the video since the beginning
| void Stark::VisualSmacker::pause | ( | bool | pause | ) |
Pause or resume the video