Isle
Loading...
Searching...
No Matches
LegoPathStructBase Struct Reference

[AI] Abstract base describing named, flag-based elements of the LEGO world path system. More...

#include <legopathstruct.h>

Inheritance diagram for LegoPathStructBase:

Public Types

enum  {
  c_bit1 = 0x01 << 24 , c_bit2 = 0x02 << 24 , c_bit3 = 0x04 << 24 , c_bit4 = 0x08 << 24 ,
  c_bit5 = 0x10 << 24 , c_bit6 = 0x20 << 24 , c_bit7 = 0x40 << 24
}
 [AI] Bitmask constants for path struct matching and triggering logic. More...
 

Public Member Functions

 LegoPathStructBase ()
 [AI] Default constructor. Initializes name pointer to NULL and flags to 0. More...
 
virtual ~LegoPathStructBase ()
 [AI] Virtual destructor. Frees the name buffer if allocated. More...
 

Public Attributes

char * m_name
 [AI] Dynamically allocated name for this path struct instance (e.g., a label or trigger identifier). More...
 
MxU32 m_flags
 [AI] Bitfield of state and trigger flags for fast matching in trigger logic. More...
 

Detailed Description

[AI] Abstract base describing named, flag-based elements of the LEGO world path system.

[AI] Used as the base class for path triggers and control points; stores the path struct's name and bitfield flags, including mask bits for various signal and direction properties.

Definition at line 63 of file legopathstruct.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

[AI] Bitmask constants for path struct matching and triggering logic.

Enumerator
c_bit1 

[AI] Bitmask for camera flag/actor trigger logic.

c_bit2 

[AI] Bitmask for actor direction/state.

c_bit3 

[AI] Bitmask for direction filter/type.

c_bit4 

[AI] Bitmask for extra control/state.

c_bit5 

[AI] Bitmask for direction or branch 'true' (see HandleTrigger) [AI].

c_bit6 

[AI] Bitmask for direction or branch 'false' (see HandleTrigger) [AI].

c_bit7 

[AI] Extra bit, typically used for advanced logic/filtering [AI].

Definition at line 66 of file legopathstruct.h.

Constructor & Destructor Documentation

◆ LegoPathStructBase()

LegoPathStructBase::LegoPathStructBase ( )
inline

[AI] Default constructor. Initializes name pointer to NULL and flags to 0.

Definition at line 77 of file legopathstruct.h.

◆ ~LegoPathStructBase()

virtual LegoPathStructBase::~LegoPathStructBase ( )
inlinevirtual

[AI] Virtual destructor. Frees the name buffer if allocated.

Definition at line 81 of file legopathstruct.h.

Member Data Documentation

◆ m_flags

MxU32 LegoPathStructBase::m_flags

[AI] Bitfield of state and trigger flags for fast matching in trigger logic.

Definition at line 89 of file legopathstruct.h.

◆ m_name

char* LegoPathStructBase::m_name

[AI] Dynamically allocated name for this path struct instance (e.g., a label or trigger identifier).

Definition at line 88 of file legopathstruct.h.


The documentation for this struct was generated from the following file: