1#ifndef MXSMKPRESENTER_H
2#define MXSMKPRESENTER_H
41 return "MxSmkPresenter";
[AI] Presenter for rendering .SMK (Smacker) video media within the game engine.
~MxSmkPresenter() override
[AI] Destructor.
MxSmk m_mxSmk
[AI] Smacker file decoding context holding header, palette, frame types, and decode buffers.
MxSmkPresenter()
[AI] Constructs an MxSmkPresenter and initializes member variables.
void LoadFrame(MxStreamChunk *p_chunk) override
[AI] Loads and renders a Smacker video frame from a stream chunk.
void CreateBitmap() override
[AI] Allocates and prepares the bitmap for a Smacker video frame.
const char * ClassName() const override
[AI] Returns the class name for this object.
void LoadHeader(MxStreamChunk *p_chunk) override
[AI] Loads the Smacker header information from a stream chunk.
MxBool IsA(const char *p_name) const override
[AI] Run-time type check.
MxResult AddToManager() override
[AI] Registers this presenter instance with the video presentation manager.
static const char * HandlerClassName()
[AI] Returns the human-readable handler class name for this presenter type.
virtual void VTable0x88()
[AI] Virtual function for custom frame or looping logic for Smacker video playback.
void RealizePalette() override
[AI] Realizes (uploads) the color palette for the current frame bitmap.
void Destroy() override
[AI] Cleans up and destroys the resources used by this presenter.
MxU32 m_currentFrame
[AI] Current frame index within the Smacker stream.
[AI] Represents a streamable chunk of data, typically sourced from a media buffer and designed for no...
Derived video presenter responsible for displaying video frames using DirectDraw surfaces.
MxBool IsA(const char *p_name) const override
Determines if this object is or derives from a class with the given name.
[AI] The MxSmk struct encapsulates all data required to decode and display a Smacker (SMK) video stre...