Isle
|
[AI] Describes the state, configuration, and world placement of a single LEGO building entity, including its animation, sound, mood, and boundary location properties. More...
#include <legobuildingmanager.h>
Public Types | |
enum | { c_hasVariants = 0x01 , c_hasSounds = 0x02 , c_hasMoves = 0x04 , c_hasMoods = 0x08 } |
Public Attributes | |
LegoEntity * | m_entity |
[AI] Associated entity in the world for this building [AI] More... | |
const char * | m_variant |
[AI] Name of the building's current variant (model name/ID) [AI] More... | |
MxU32 | m_sound |
[AI] Index or ID of current sound selection [AI] More... | |
MxU32 | m_move |
[AI] Index or ID of current animation state [AI] More... | |
MxU8 | m_mood |
[AI] Current mood index (0-3) [AI] More... | |
MxS8 | m_unk0x11 |
[AI] Counter or state value for construction/demolition progress [AI] More... | |
MxS8 | m_initialUnk0x11 |
[AI] Initial value for m_unk0x11, used for state resets or persistence [AI] More... | |
MxU8 | m_flags |
[AI] Bitfield of building properties (see enum above) [AI] More... | |
float | m_unk0x14 |
[AI] World height or vertical offset for this building [AI] More... | |
const char * | m_boundaryName |
[AI] Name label of the boundary zone for this building (used to find LegoPathBoundary) [AI] More... | |
float | m_x |
[AI] World X coordinate for the building's ground placement [AI] More... | |
float | m_y |
[AI] World Y coordinate for the building's ground placement [AI] More... | |
float | m_z |
[AI] World Z coordinate for the building's ground placement [AI] More... | |
LegoPathBoundary * | m_boundary |
[AI] Pointer to the world boundary (collision/trigger volume) [AI] More... | |
[AI] Describes the state, configuration, and world placement of a single LEGO building entity, including its animation, sound, mood, and boundary location properties.
[AI] This structure is used by LegoBuildingManager to store and manage information for each building in the world. It contains various fields relating to each building's current variant, position, boundary, and behavioral state. [AI]
Definition at line 18 of file legobuildingmanager.h.
anonymous enum |
Definition at line 19 of file legobuildingmanager.h.
LegoPathBoundary* LegoBuildingInfo::m_boundary |
[AI] Pointer to the world boundary (collision/trigger volume) [AI]
Definition at line 39 of file legobuildingmanager.h.
const char* LegoBuildingInfo::m_boundaryName |
[AI] Name label of the boundary zone for this building (used to find LegoPathBoundary) [AI]
Definition at line 35 of file legobuildingmanager.h.
LegoEntity* LegoBuildingInfo::m_entity |
[AI] Associated entity in the world for this building [AI]
Definition at line 26 of file legobuildingmanager.h.
MxU8 LegoBuildingInfo::m_flags |
[AI] Bitfield of building properties (see enum above) [AI]
Definition at line 33 of file legobuildingmanager.h.
MxS8 LegoBuildingInfo::m_initialUnk0x11 |
[AI] Initial value for m_unk0x11, used for state resets or persistence [AI]
Definition at line 32 of file legobuildingmanager.h.
MxU8 LegoBuildingInfo::m_mood |
[AI] Current mood index (0-3) [AI]
Definition at line 30 of file legobuildingmanager.h.
MxU32 LegoBuildingInfo::m_move |
[AI] Index or ID of current animation state [AI]
Definition at line 29 of file legobuildingmanager.h.
MxU32 LegoBuildingInfo::m_sound |
[AI] Index or ID of current sound selection [AI]
Definition at line 28 of file legobuildingmanager.h.
MxS8 LegoBuildingInfo::m_unk0x11 |
[AI] Counter or state value for construction/demolition progress [AI]
Definition at line 31 of file legobuildingmanager.h.
float LegoBuildingInfo::m_unk0x14 |
[AI] World height or vertical offset for this building [AI]
Definition at line 34 of file legobuildingmanager.h.
const char* LegoBuildingInfo::m_variant |
[AI] Name of the building's current variant (model name/ID) [AI]
Definition at line 27 of file legobuildingmanager.h.
float LegoBuildingInfo::m_x |
[AI] World X coordinate for the building's ground placement [AI]
Definition at line 36 of file legobuildingmanager.h.
float LegoBuildingInfo::m_y |
[AI] World Y coordinate for the building's ground placement [AI]
Definition at line 37 of file legobuildingmanager.h.
float LegoBuildingInfo::m_z |
[AI] World Z coordinate for the building's ground placement [AI]
Definition at line 38 of file legobuildingmanager.h.