Isle
Loading...
Searching...
No Matches
legoflctexturepresenter.h
Go to the documentation of this file.
1#ifndef LEGOFLCTEXTUREPRESENTER_H
2#define LEGOFLCTEXTUREPRESENTER_H
3
4#include "decomp.h"
5#include "mxflcpresenter.h"
6
8
27public:
30
33 static const char* HandlerClassName()
34 {
35 // STRING: LEGO1 0x100f0634
36 return "LegoFlcTexturePresenter";
37 }
38
40 const char* ClassName() const override // vtable+0x0c
41 {
42 return HandlerClassName();
43 }
44
51 void StartingTickle() override;
52
60 void LoadFrame(MxStreamChunk* p_chunk) override;
61
66 void PutFrame() override;
67
68 // SYNTHETIC: LEGO1 0x1005df00
69 // LegoFlcTexturePresenter::`scalar deleting destructor'
70
71private:
73 void Init();
74
75 MxS32 m_rectCount;
76 LegoTextureInfo* m_texture;
77};
78
79#endif // LEGOFLCTEXTUREPRESENTER_H
[AI] Presenter for rendering FLC animation frames as textures in the LEGO engine.
void LoadFrame(MxStreamChunk *p_chunk) override
[AI] Decodes an FLC animation frame from a chunk, extracting both dirty rects and animation data.
void StartingTickle() override
[AI] Called on transition to 'Starting' tickle state.
LegoFlcTexturePresenter()
[AI] Constructs a LegoFlcTexturePresenter and resets state for first run. [AI]
static const char * HandlerClassName()
[AI] Returns the static handler class name for this presenter type ("LegoFlcTexturePresenter").
const char * ClassName() const override
[AI] Returns the class name of this instance. Used for runtime type information and serialization....
void PutFrame() override
[AI] Uploads the newly decoded FLC frame to the associated LegoTextureInfo, updating the active textu...
[AI] Contains DirectDraw and Direct3DRM handles and metadata for a texture used in the LEGO Island re...
Implements playback and presentation of Autodesk FLIC (FLC) video streams.
[AI] Represents a streamable chunk of data, typically sourced from a media buffer and designed for no...
Definition: mxstreamchunk.h:19
#define override
Definition: compat.h:21
signed int MxS32
[AI]
Definition: mxtypes.h:38