Isle
Loading...
Searching...
No Matches
mxflcpresenter.h
Go to the documentation of this file.
1#ifndef MXFLCPRESENTER_H
2#define MXFLCPRESENTER_H
3
4#include "decomp.h"
5#include "mxvideopresenter.h"
6
7#include <flic.h>
8
9// VTABLE: LEGO1 0x100dc2c0
10// VTABLE: BETA10 0x101c1eb0
11// SIZE 0x68
12
20public:
25
29 ~MxFlcPresenter() override;
30
36 MxBool IsA(const char* p_name) const override // vtable+0x10
37 {
38 return !strcmp(p_name, MxFlcPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
39 }
40
45 static const char* HandlerClassName()
46 {
47 // STRING: LEGO1 0x100f43c8
48 return "MxFlcPresenter";
49 }
50
55 const char* ClassName() const override // vtable+0x0c
56 {
57 return HandlerClassName();
58 }
59
65 void LoadHeader(MxStreamChunk* p_chunk) override; // vtable+0x5c
66
71 void CreateBitmap() override; // vtable+0x60
72
80 void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68
81
87 void RealizePalette() override; // vtable+0x70
88
89 // SYNTHETIC: LEGO1 0x100b3400
90 // MxFlcPresenter::`scalar deleting destructor'
91
92protected:
98};
99
100#endif // MXFLCPRESENTER_H
Implements playback and presentation of Autodesk FLIC (FLC) video streams.
FLIC_HEADER * m_flcHeader
[AI] Internal cached FLIC header for video decoding and playback.
const char * ClassName() const override
[AI] Returns the runtime class name string for this presenter.
MxBool IsA(const char *p_name) const override
[AI] Runtime type check; determines if this is a MxFlcPresenter or a base.
~MxFlcPresenter() override
Cleans up FLIC presenter and associated resources (including FLIC header memory).
static const char * HandlerClassName()
[AI] Provides the class handler string for presenter registration/dispatch.
void LoadFrame(MxStreamChunk *p_chunk) override
[AI] Decodes a FLIC frame from the stream chunk, applies it to the bitmap, and triggers any palette/r...
void RealizePalette() override
[AI] Realizes the palette for the current frame by creating a palette object (MxPalette) and updating...
void CreateBitmap() override
[AI] Creates a bitmap sized from FLIC header for decoded frame output.
MxFlcPresenter()
Constructs a FLIC presenter and initializes state.
void LoadHeader(MxStreamChunk *p_chunk) override
[AI] Loads FLIC header data from a stream chunk into memory for subsequent decoding.
[AI] Represents a streamable chunk of data, typically sourced from a media buffer and designed for no...
Definition: mxstreamchunk.h:19
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 override
Definition: compat.h:21
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
[AI] Structure for the main header of a FLIC animation file.
Definition: flic.h:42