Isle
|
[AI] Represents a single phoneme (mouth shape) used for character lip-sync and speech animation. More...
#include <legophoneme.h>
Public Member Functions | |
LegoPhoneme (const char *p_name, undefined4 p_unk0x14) | |
[AI] Constructs a LegoPhoneme object using the provided name and an unknown parameter. More... | |
~LegoPhoneme () | |
[AI] Destroys the LegoPhoneme object. More... | |
virtual undefined4 | VTable0x00 () |
[AI] Retrieves the value of the unknown property at offset 0x14. More... | |
virtual void | VTable0x04 (undefined4 p_unk0x14) |
[AI] Sets the value of the unknown property at offset 0x14. More... | |
virtual LegoTextureInfo * | VTable0x08 () |
[AI] Retrieves the primary texture info associated with this phoneme. More... | |
virtual void | VTable0x0c (LegoTextureInfo *p_unk0x18) |
[AI] Sets the primary texture info for this phoneme. More... | |
virtual LegoTextureInfo * | VTable0x10 () |
[AI] Retrieves an alternate texture info for this phoneme. More... | |
virtual void | VTable0x14 (LegoTextureInfo *p_unk0x1c) |
[AI] Sets the alternate texture info for this phoneme. More... | |
virtual void | VTable0x18 () |
[AI] Optional virtual hook—purpose unclear, likely overridden in derived classes or for cleanup/reset. More... | |
virtual void | Init () |
[AI] Initializes internal phoneme state (resets properties/textures). More... | |
virtual void | VTable0x20 (undefined4) |
[AI] Unclear purpose; accepts an unknown argument. More... | |
MxString & | GetName () |
[AI] Returns (mutable) reference to the phoneme's name. More... | |
[AI] Represents a single phoneme (mouth shape) used for character lip-sync and speech animation.
Contains a name and up to two possible texture associations. Typically, this class is used to manage the mapping between phoneme names and their visual representations/textures.
[AI] The class encapsulates the phoneme's string identifier, configuration (unknown property 0x14), and links to two LegoTextureInfo instances that describe the phoneme's in-game visual representation.
Definition at line 19 of file legophoneme.h.
|
inline |
[AI] Constructs a LegoPhoneme object using the provided name and an unknown parameter.
p_name | [AI] String identifier for the phoneme (e.g., "EH", "OO", etc). Will be uppercased for consistency. |
p_unk0x14 | [AI] Unknown property/configuration value affecting the phoneme (purpose unknown). |
Definition at line 26 of file legophoneme.h.
LegoPhoneme::~LegoPhoneme | ( | ) |
[AI] Destroys the LegoPhoneme object.
Releases any owned resources.
Definition at line 6 of file legophoneme.cpp.
|
inline |
[AI] Returns (mutable) reference to the phoneme's name.
Definition at line 95 of file legophoneme.h.
|
virtual |
[AI] Initializes internal phoneme state (resets properties/textures).
Definition at line 52 of file legophoneme.cpp.
|
virtual |
[AI] Retrieves the value of the unknown property at offset 0x14.
Definition at line 11 of file legophoneme.cpp.
|
virtual |
[AI] Sets the value of the unknown property at offset 0x14.
p_unk0x14 | [AI] The new value for m_unk0x14. |
Definition at line 17 of file legophoneme.cpp.
|
virtual |
[AI] Retrieves the primary texture info associated with this phoneme.
Definition at line 23 of file legophoneme.cpp.
|
virtual |
[AI] Sets the primary texture info for this phoneme.
p_unk0x18 | [AI] Pointer to the texture information representing this phoneme's default face/mouth. |
Definition at line 29 of file legophoneme.cpp.
|
virtual |
[AI] Retrieves an alternate texture info for this phoneme.
Definition at line 35 of file legophoneme.cpp.
|
virtual |
[AI] Sets the alternate texture info for this phoneme.
p_unk0x1c | [AI] Pointer to the alternate texture information (if used). |
Definition at line 41 of file legophoneme.cpp.
|
virtual |
[AI] Optional virtual hook—purpose unclear, likely overridden in derived classes or for cleanup/reset.
Definition at line 47 of file legophoneme.cpp.
|
virtual |
[AI] Unclear purpose; accepts an unknown argument.
No implementation provided in the base class.
[unnamed] | [AI] Unknown/unused. |
Definition at line 60 of file legophoneme.cpp.