1#ifndef LEGOHIDEANIMPRESENTER_H
2#define LEGOHIDEANIMPRESENTER_H
16 MxBool operator()(
const char*
const& p_a,
const char*
const& p_b)
const {
return strcmp(p_a, p_b) < 0; }
56 return "LegoHideAnimPresenter";
[AI] Holds per-node animation data for a model's animation tree.
MxBool IsA(const char *p_name) const override
[AI] Checks if this or a parent class matches the given type name for RTTI.
[AI] Presenter class responsible for controlling animations that hide or show actors based on animati...
void StartingTickle() override
[AI] Called during the Starting state tick; if streaming state is reached, prepares boundary mappings...
~LegoHideAnimPresenter() override
[AI] Destructor. Destroys presenter and cleans up boundary mapping.
void ReadyTickle() override
[AI] Called when presenter is in the Ready state; maps boundaries to animation nodes and adds present...
static const char * HandlerClassName()
[AI] Returns the class name string for this presenter type.
void VTable0x8c() override
[AI] Virtual method, no-op in this class. [AI_SUGGESTED_NAME: OnCustomTick]
void EndAction() override
[AI] Called when the associated DSAction has ended, cleans up and removes presenter from the world.
void PutFrame() override
[AI] Advances the animation by one frame (no-op here; implemented in other presenter classes).
MxResult AddToManager() override
[AI] Adds the presenter to the tickle manager; delegates to base animation presenter registration.
void VTable0x90() override
[AI] Virtual method, no-op in this class. [AI_SUGGESTED_NAME: OnPostAnimationTick]
void Destroy() override
[AI] Destroys the presenter, optionally from destructor; cleans up resources and removes from world.
void FUN_1006db40(LegoTime p_time)
[AI] Traverses the animation node hierarchy starting at the root and synchronizes visibility flags fo...
MxBool IsA(const char *p_name) const override
[AI] Checks if object is of the given class or a parent class (runtime type checking).
const char * ClassName() const override
[AI] Returns the runtime class name of the object.
LegoHideAnimPresenter()
[AI] Constructor. Initializes boundary mapping.
[AI] Presenter for looping animated sequences in the LEGO Island engine.
[AI] Represents a path segment or boundary in the navigation network for actors (vehicles,...
[AI] Represents a node within a general, N-ary tree structure.
map< const char *, LegoHideAnimStruct, LegoHideAnimStructComparator > LegoHideAnimStructMap
[AI] Map associating string (name) keys to LegoHideAnimStruct, using custom comparator for C strings.
LegoS32 LegoTime
[AI] Time value, typically used for tick counts, durations, or timing; defined as a signed 32-bit int...
[AI] Comparator for string keys in map for use with LegoHideAnimStruct.
MxBool operator()(const char *const &p_a, const char *const &p_b) const
[AI] Operator comparison using strcmp for strict-weak ordering.
[AI] Structure associating a path boundary with an index.
LegoPathBoundary * m_boundary
[AI] Pointer to a LegoPathBoundary found by name from animation node
MxU32 m_index
[AI] Index assigned to this boundary in the map and used for node-to-boundary association