1#ifndef MXSTILLPRESENTER_H
2#define MXSTILLPRESENTER_H
38 return "MxStillPresenter";
[AI] Presenter for single still image/bitmap media sources in the game.
void CreateBitmap() override
[AI] Allocates and constructs the bitmap from internal bitmap info, importing palette and image layou...
const char * ClassName() const override
[AI] Returns the class name of this presenter type.
MxBool IsA(const char *p_name) const override
[AI] Run-time type check against the provided type name.
void ParseExtra() override
[AI] Parses extra action data for bitmap configuration, such as visibility or image mapping,...
void LoadFrame(MxStreamChunk *p_chunk) override
[AI] Copies frame image data from chunk to presenter's bitmap and prepares for rendering,...
void LoadHeader(MxStreamChunk *p_chunk) override
[AI] Loads header chunk data into the presenter's bitmap info buffer (BITMAPINFO structure).
static const char * HandlerClassName()
[AI] Returns the handler class name string for this Presenter type ("MxStillPresenter").
void StartingTickle() override
[AI] Handles transition to the starting state of the presenter, processing palette realization if nee...
void RepeatingTickle() override
[AI] Repetition tickle logic—handles repeated action/time-based state changes.
virtual MxStillPresenter * Clone()
[AI] Clones the presenter, attempting to fully duplicate internal state and associated memory resourc...
MxStillPresenter()
[AI] Constructs an MxStillPresenter.
void Destroy() override
[AI] Destroys the presenter's resources, optionally called by the destructor for complete cleanup.
void RealizePalette() override
[AI] Realizes/updates the palette in the current video environment using the frame bitmap and notifie...
virtual void SetPosition(MxS32 p_x, MxS32 p_y)
[AI] Sets the pixel-based position of the presented image.
~MxStillPresenter() override
[AI] Destructor—ensures resource cleanup of bitmap information and other associated memory.
void StreamingTickle() override
[AI] Main frame advancing logic, loads the next frame if the elapsed time is appropriate.
void Enable(MxBool p_enable) override
[AI] Sets the enabled/disabled state of the presenter, updating the video manager's rendering as need...
void NextFrame() override
[AI] Loads the next single image frame from the stream and updates the presenter's display state.
[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.
#define NULL
[AI] Null pointer value (C/C++ semantics).
[AI] Represents a bitmap information header plus a 256-color palette, matching the layout for 8-bit D...