Isle
Loading...
Searching...
No Matches
legophonemepresenter.h
Go to the documentation of this file.
1#ifndef LEGOPHONEMEPRESENTER_H
2#define LEGOPHONEMEPRESENTER_H
3
4#include "decomp.h"
5#include "mxflcpresenter.h"
6#include "mxstring.h"
7#include "mxtypes.h"
8
10
11// VTABLE: LEGO1 0x100d8040
12// SIZE 0x88
21public:
26
30 ~LegoPhonemePresenter() override; // vtable+0x00
31
37 static const char* HandlerClassName();
38
44 const char* ClassName() const override; // vtable+0x0c
45
51 void StartingTickle() override; // vtable+0x1c
52
58 void EndAction() override; // vtable+0x40
59
67 void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68
68
74 void PutFrame() override; // vtable+0x6c
75
76 // SYNTHETIC: LEGO1 0x1004e320
77 // LegoPhonemePresenter::`scalar deleting destructor'
78
79private:
83 void Init();
84
85 MxS32 m_rectCount;
86 LegoTextureInfo* m_textureInfo;
87 MxBool m_unk0x70;
88 MxString m_roiName;
89 MxBool m_unk0x84;
90};
91
92// TEMPLATE: LEGO1 0x1004eb20
93// MxListEntry<LegoPhoneme *>::MxListEntry<LegoPhoneme *>
94
95#endif // LEGOPHONEMEPRESENTER_H
Class responsible for presenting lip-synced ("phoneme") mouth animations on LEGO character head textu...
void EndAction() override
Called when the associated action concludes.
void PutFrame() override
Applies the loaded frame data to the cached texture, updating the target ROI's mouth/phoneme region.
const char * ClassName() const override
Returns the class name string for this presenter instance.
~LegoPhonemePresenter() override
Destructor.
static const char * HandlerClassName()
Returns the static handler class name string for presenter dispatch.
void StartingTickle() override
Called on media/actor action start.
void LoadFrame(MxStreamChunk *p_chunk) override
Loads FLC frame data describing mouth region updates and decodes frame information for use in texture...
LegoPhonemePresenter()
Constructor.
[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
Mindscape custom string class for managing dynamic C-strings within the game engine.
Definition: mxstring.h:14
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
signed int MxS32
[AI]
Definition: mxtypes.h:38