[AI] Represents an actor (character) entity in the LEGO Island 3D world, providing specific actor log...
virtual MxFloat GetSoundFrequencyFactor()
[AI] Returns the current frequency factor for the actor's sound.
virtual void SetSoundFrequencyFactor(MxFloat p_frequencyFactor)
[AI] Sets the frequency factor for the actor's sound playback (e.g., to alter pitch).
LegoCacheSound * m_sound
[AI] Pointer to a currently active sound instance played by the actor, if any.
@ c_brickster
The Brickster ([AI])
@ c_pepper
Pepper Roni ([AI])
MxFloat m_unk0x70
[AI] Unknown float property, likely used for advanced audio/animation control. [AI_SUGGESTED_NAME: m_...
LegoActor()
[AI] Constructs new LegoActor, initializes members.
static const char * GetActorName(MxU8 p_id)
[AI] Gets the static display name of an actor by ID.
MxFloat m_frequencyFactor
[AI] The frequency/pitch scaling factor for the actor's sound (default 0 == normal).
MxBool IsA(const char *p_name) const override
[AI] Determines if the class is or derives from the given name.
MxU8 m_actorId
[AI] Unique identifier for this actor, corresponding to enum above.
void Mute(MxBool p_muted)
[AI] Mutes or unmutes the actor's current sound.
const char * ClassName() const override
[AI] Gets the class name of this object.
virtual MxFloat VTable0x5c()
[AI] Gets the unknown floating point property set by VTable0x58. [AI] [AI_SUGGESTED_NAME: GetVoicePit...
virtual void SetActorId(MxU8 p_actorId)
[AI] Sets the actor's numeric ID.
void SetROI(LegoROI *p_roi, MxBool p_bool1, MxBool p_bool2) override
[AI] Sets the Region of Interest (ROI, i.e.
virtual MxU8 GetActorId()
[AI] Gets this actor's numeric ID, corresponding to a known enumeration/actor.
virtual void VTable0x58(MxFloat p_unk0x70)
[AI] Sets a floating point property, unknown usage (possibly animation or audio parameter).
void ParseAction(char *p_extra) override
[AI] Parses an action string and applies parsed behaviors to the actor.
~LegoActor() override
[AI] Cleans up LegoActor; stops sound if active.
Sound cache object managing DirectSound buffers and 3D positioning for preloaded sound data.
[AI] Represents an entity that can be placed and managed in the LEGO Island world.
MxBool IsA(const char *p_name) const override
[AI] Polymorphic type check for this entity given a string.
[AI] Represents a Real-time Object Instance enriched with LEGO-specific functionality.