82 static MxLong g_lastHitActorTime;
[AI] Represents a special 'brick' object in the LEGO Island "Act 2" sequence, derived from LegoPathAc...
MxResult Create(MxS32 p_index)
[AI] Instantiates and initializes the brick actor in the world with a specified index/type,...
MxBool IsA(const char *p_name) const override
[AI] Checks if the current object is of type Act2Brick or any of its parent classes.
~Act2Brick() override
[AI] Destructor. Unregisters from the tickle manager and clears up resources.
MxResult HitActor(LegoPathActor *p_actor, MxBool) override
[AI] Called when another actor (typically Pepper) intersects or "hits" this brick.
void FUN_1007a670(MxMatrix &p_param1, MxMatrix &p_param2, LegoPathBoundary *p_boundary)
[AI] Starts the brick motion and animation parameters, registers the object for tickling and places t...
MxResult Tickle() override
[AI] Called periodically when registered with the TickleManager to animate the movement and state cha...
void PlayWhistleSound()
[AI] Begins playback of the looping whistle sound associated with this brick, if not already playing.
void StopWhistleSound()
[AI] Stops the playback of the whistle sound if it is currently playing.
const char * ClassName() const override
[AI] Returns the class name of this object ("Act2Brick").
void Mute(MxBool p_muted)
[AI] Mutes or unmutes the whistle sound according to the argument given.
void Remove()
[AI] Removes this brick from the world, releases associated resources, and notifies the character man...
Act2Brick()
[AI] Constructs an Act2Brick. Initializes internal state, including whistle sound and tracking state ...
MxLong Notify(MxParam &p_param) override
[AI] Handles notifications.
Sound cache object managing DirectSound buffers and 3D positioning for preloaded sound data.
MxBool IsA(const char *p_name) const override
[AI] Polymorphic type check for this entity given a string.
[AI] An actor that moves along a predefined path, supporting boundary transitions,...
[AI] Represents a path segment or boundary in the navigation network for actors (vehicles,...
[AI] Represents a 3D point with floating-point precision, inheriting from Vector3.
[AI] Represents a 4x4 transformation matrix, specialized for the LEGO Island engine and derived from ...
[AI] MxParam serves as a polymorphic base class for parameter passing in event and notification syste...
char LegoChar
[AI] Alias for char, for use in character/byte data and string handling.