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

Stark::VisualSmacker Class Reference

#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 load (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.
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 Attributes

Video::SmackerDecoder_smacker
const Graphics::Surface_surface
Common::Point _position
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 38 of file smacker.cpp.

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

Definition at line 49 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 174 of file smacker.cpp.

uint32 Stark::VisualSmacker::getDuration (  )  const

Get the total duration in milliseconds for the video.

Definition at line 159 of file smacker.cpp.

int Stark::VisualSmacker::getFrameNumber (  )  const

Definition at line 140 of file smacker.cpp.

int Stark::VisualSmacker::getHeight (  )  const

Definition at line 155 of file smacker.cpp.

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

Definition at line 69 of file smacker.h.

int Stark::VisualSmacker::getWidth (  )  const

Definition at line 151 of file smacker.cpp.

bool Stark::VisualSmacker::isDone (  ) 

Definition at line 147 of file smacker.cpp.

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

Perform a transparency hit test on a point.

Definition at line 124 of file smacker.cpp.

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

Definition at line 55 of file smacker.cpp.

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

Definition at line 178 of file smacker.cpp.

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

Pause or resume the video.

Definition at line 182 of file smacker.cpp.

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

Definition at line 70 of file smacker.cpp.

void Stark::VisualSmacker::rewind (  ) 

Reset the video to resume playing from the beginning.

Definition at line 163 of file smacker.cpp.

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

Definition at line 70 of file smacker.h.

void Stark::VisualSmacker::update (  ) 

Definition at line 82 of file smacker.cpp.


Member Data Documentation

Definition at line 88 of file smacker.h.

Definition at line 91 of file smacker.h.

Definition at line 87 of file smacker.h.

Definition at line 84 of file smacker.h.

Definition at line 85 of file smacker.h.

Definition at line 90 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 Jan 12 2019 05:05:14 for ResidualVM by doxygen 1.7.1
curved edge   curved edge