ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <smacker.h>

Inheritance diagram for Stark::VisualSmacker:
Collaboration diagram for Stark::VisualSmacker:

List of all members.

Public Member Functions

 VisualSmacker (Gfx::Driver *gfx)
virtual ~VisualSmacker ()
void loadSmacker (Common::SeekableReadStream *stream)
void loadBink (Common::SeekableReadStream *stream)
void update ()
void render (const Common::Point &position)
bool isDone ()
void rewind ()
 Reset the video to resume playing from the beginning.
bool isPointSolid (const Common::Point &point) const
 Perform a transparency hit test on a point.
void readOriginalSize (Common::SeekableReadStream *stream)
 Load the size from a Smacker video.
int getWidth () const
int getHeight () const
int getFrameNumber () const
Common::Point getPosition () const
void setPosition (const Common::Point &pos)
uint32 getDuration () const
 Get the total duration in milliseconds for the video.
uint32 getCurrentTime () const
 Get the current time in the video since the beginning.
void overrideFrameRate (int32 framerate)
void pause (bool pause)
 Pause or resume the video.

Static Public Attributes

static const VisualType TYPE = Visual::kSmackerStream

Private Member Functions

void init ()

Private Attributes

Video::VideoDecoder_decoder
const Graphics::Surface_surface
Common::Point _position
int32 _originalWidth
int32 _originalHeight
Gfx::Driver_gfx
Gfx::SurfaceRenderer_surfaceRenderer
Gfx::Texture_texture
int32 _overridenFramerate

Detailed Description

Definition at line 47 of file smacker.h.


Constructor & Destructor Documentation

Stark::VisualSmacker::VisualSmacker ( Gfx::Driver gfx  ) 

Definition at line 40 of file smacker.cpp.

Stark::VisualSmacker::~VisualSmacker (  )  [virtual]

Definition at line 53 of file smacker.cpp.


Member Function Documentation

uint32 Stark::VisualSmacker::getCurrentTime (  )  const

Get the current time in the video since the beginning.

Definition at line 225 of file smacker.cpp.

uint32 Stark::VisualSmacker::getDuration (  )  const

Get the total duration in milliseconds for the video.

Definition at line 199 of file smacker.cpp.

int Stark::VisualSmacker::getFrameNumber (  )  const

Definition at line 180 of file smacker.cpp.

int Stark::VisualSmacker::getHeight (  )  const

Definition at line 195 of file smacker.cpp.

Common::Point Stark::VisualSmacker::getPosition (  )  const [inline]

Definition at line 75 of file smacker.h.

int Stark::VisualSmacker::getWidth (  )  const

Definition at line 191 of file smacker.cpp.

void Stark::VisualSmacker::init (  )  [private]

Definition at line 82 of file smacker.cpp.

bool Stark::VisualSmacker::isDone (  ) 

Definition at line 187 of file smacker.cpp.

bool Stark::VisualSmacker::isPointSolid ( const Common::Point point  )  const

Perform a transparency hit test on a point.

Definition at line 154 of file smacker.cpp.

void Stark::VisualSmacker::loadBink ( Common::SeekableReadStream stream  ) 

Definition at line 70 of file smacker.cpp.

void Stark::VisualSmacker::loadSmacker ( Common::SeekableReadStream stream  ) 

Definition at line 59 of file smacker.cpp.

void Stark::VisualSmacker::overrideFrameRate ( int32  framerate  ) 

Definition at line 229 of file smacker.cpp.

void Stark::VisualSmacker::pause ( bool  pause  ) 

Pause or resume the video.

Definition at line 233 of file smacker.cpp.

void Stark::VisualSmacker::readOriginalSize ( Common::SeekableReadStream stream  ) 

Load the size from a Smacker video.

Definition at line 94 of file smacker.cpp.

void Stark::VisualSmacker::render ( const Common::Point position  ) 

Definition at line 102 of file smacker.cpp.

void Stark::VisualSmacker::rewind (  ) 

Reset the video to resume playing from the beginning.

Definition at line 203 of file smacker.cpp.

void Stark::VisualSmacker::setPosition ( const Common::Point pos  )  [inline]

Definition at line 76 of file smacker.h.

void Stark::VisualSmacker::update (  ) 

Definition at line 109 of file smacker.cpp.


Member Data Documentation

Definition at line 92 of file smacker.h.

Definition at line 99 of file smacker.h.

Definition at line 97 of file smacker.h.

Definition at line 96 of file smacker.h.

Definition at line 102 of file smacker.h.

Definition at line 95 of file smacker.h.

Definition at line 93 of file smacker.h.

Definition at line 101 of file smacker.h.

const VisualType Stark::VisualSmacker::TYPE = Visual::kSmackerStream [static]

Definition at line 49 of file smacker.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 21 2019 05:04:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge