Isle
Loading...
Searching...
No Matches
legophoneme.h
Go to the documentation of this file.
1#ifndef LEGOPHONEME_H
2#define LEGOPHONEME_H
3
4#include "decomp.h"
5#include "mxstring.h"
6
8
9// VTABLE: LEGO1 0x100d7c88
10// SIZE 0x20
11
20public:
26 LegoPhoneme(const char* p_name, undefined4 p_unk0x14)
27 {
28 m_name = p_name;
29 m_name.ToUpperCase();
30 Init();
31 m_unk0x14 = p_unk0x14;
32 }
33
38
43 virtual undefined4 VTable0x00(); // vtable+0x00
44
49 virtual void VTable0x04(undefined4 p_unk0x14); // vtable+0x04
50
55 virtual LegoTextureInfo* VTable0x08(); // vtable+0x08
56
61 virtual void VTable0x0c(LegoTextureInfo* p_unk0x18); // vtable+0x0c
62
67 virtual LegoTextureInfo* VTable0x10(); // vtable+0x10
68
73 virtual void VTable0x14(LegoTextureInfo* p_unk0x1c); // vtable+0x14
74
78 virtual void VTable0x18(); // vtable+0x18
79
83 virtual void Init(); // vtable+0x1c
84
89 virtual void VTable0x20(undefined4); // vtable+0x20
90
95 MxString& GetName() { return m_name; }
96
97private:
98 MxString m_name;
99 undefined4 m_unk0x14;
100 LegoTextureInfo* m_unk0x18;
101 LegoTextureInfo* m_unk0x1c;
102};
103
104#endif // LEGOPHONEME_H
[AI] Represents a single phoneme (mouth shape) used for character lip-sync and speech animation.
Definition: legophoneme.h:19
LegoPhoneme(const char *p_name, undefined4 p_unk0x14)
[AI] Constructs a LegoPhoneme object using the provided name and an unknown parameter.
Definition: legophoneme.h:26
virtual void VTable0x14(LegoTextureInfo *p_unk0x1c)
[AI] Sets the alternate texture info for this phoneme.
Definition: legophoneme.cpp:41
virtual LegoTextureInfo * VTable0x08()
[AI] Retrieves the primary texture info associated with this phoneme.
Definition: legophoneme.cpp:23
virtual void VTable0x0c(LegoTextureInfo *p_unk0x18)
[AI] Sets the primary texture info for this phoneme.
Definition: legophoneme.cpp:29
MxString & GetName()
[AI] Returns (mutable) reference to the phoneme's name.
Definition: legophoneme.h:95
virtual undefined4 VTable0x00()
[AI] Retrieves the value of the unknown property at offset 0x14.
Definition: legophoneme.cpp:11
virtual LegoTextureInfo * VTable0x10()
[AI] Retrieves an alternate texture info for this phoneme.
Definition: legophoneme.cpp:35
virtual void VTable0x20(undefined4)
[AI] Unclear purpose; accepts an unknown argument.
Definition: legophoneme.cpp:60
virtual void Init()
[AI] Initializes internal phoneme state (resets properties/textures).
Definition: legophoneme.cpp:52
virtual void VTable0x18()
[AI] Optional virtual hook—purpose unclear, likely overridden in derived classes or for cleanup/reset...
Definition: legophoneme.cpp:47
virtual void VTable0x04(undefined4 p_unk0x14)
[AI] Sets the value of the unknown property at offset 0x14.
Definition: legophoneme.cpp:17
~LegoPhoneme()
[AI] Destroys the LegoPhoneme object.
Definition: legophoneme.cpp:6
[AI] Contains DirectDraw and Direct3DRM handles and metadata for a texture used in the LEGO Island re...
Mindscape custom string class for managing dynamic C-strings within the game engine.
Definition: mxstring.h:14
void ToUpperCase()
Converts the string contents to uppercase in-place.
Definition: mxstring.cpp:90
unsigned int undefined4
Definition: decomp.h:28