Isle
Loading...
Searching...
No Matches
legoactors.h File Reference
#include "decomp.h"
#include "mxtypes.h"
Include dependency graph for legoactors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LegoActorInfo
 [AI] Contains information about a single LEGO actor/character, including its name, head/part types, color/texture indices, and runtime pointers to objects. More...
 
struct  LegoActorInfo::Part
 [AI] Describes a part/slot of a LEGO actor (e.g. More...
 
struct  LegoActorLOD
 [AI] Describes a single Level-of-Detail (LOD) variant for an actor part, including bounds and orientation info. More...
 

Enumerations

enum  LegoActorLODs {
  c_topLOD , c_bodyLOD , c_infohatLOD , c_infogronLOD ,
  c_headLOD , c_armlftLOD , c_armrtLOD , c_clawlftLOD ,
  c_clawrtLOD , c_leglftLOD , c_legrtLOD
}
 [AI] Indices of the various actor LODs for lookup or iteration purposes. More...
 
enum  LegoActorParts {
  c_bodyPart , c_infohatPart , c_infogronPart , c_headPart ,
  c_armlftPart , c_armrtPart , c_clawlftPart , c_clawrtPart ,
  c_leglftPart , c_legrtPart
}
 [AI] Indices of main LEGO actor parts (used for parts table lookup and assignment in LegoActorInfo). More...
 

Variables

LegoActorInfo g_actorInfoInit [66]
 [AI] Global initialization table for the 66 actor types in the game, each entry describing all key aspects of that actor. [AI] More...
 
LegoActorLOD g_actorLODs [11]
 [AI] Array of 11 LOD definitions which describe the conventions for actor part hierarchy and bounding data. [AI] More...
 

Enumeration Type Documentation

◆ LegoActorLODs

[AI] Indices of the various actor LODs for lookup or iteration purposes.

[AI]

[AI] Used as indices into the g_actorLODs array, as well as other routines dealing with actor LODs. [AI]

Enumerator
c_topLOD 

[AI] Top/root of the actor LOD hierarchy (usually main body root). [AI]

c_bodyLOD 

[AI] Body LOD node (core component of models). [AI]

c_infohatLOD 

[AI] Information hat or top-accessory. [AI]

c_infogronLOD 

[AI] Another torso region/LOD, details contextual. [AI]

c_headLOD 
c_armlftLOD 
c_armrtLOD 
c_clawlftLOD 
c_clawrtLOD 
c_leglftLOD 
c_legrtLOD 

Definition at line 56 of file legoactors.h.

◆ LegoActorParts

[AI] Indices of main LEGO actor parts (used for parts table lookup and assignment in LegoActorInfo).

[AI]

[AI] Used as slot indices for the m_parts array. [AI]

Enumerator
c_bodyPart 

[AI] Index for the main body slot in m_parts. [AI]

c_infohatPart 

[AI] Info hat or top accessory slot. [AI]

c_infogronPart 

[AI] Info/torso accent part. [AI]

c_headPart 

[AI] Head slot. [AI]

c_armlftPart 

[AI] Left arm. [AI]

c_armrtPart 

[AI] Right arm. [AI]

c_clawlftPart 

[AI] Left hand or claw accessory. [AI]

c_clawrtPart 

[AI] Right hand or claw accessory. [AI]

c_leglftPart 

[AI] Left leg. [AI]

c_legrtPart 

[AI] Right leg. [AI]

Definition at line 72 of file legoactors.h.

Variable Documentation

◆ g_actorInfoInit

LegoActorInfo g_actorInfoInit[66]
extern

[AI] Global initialization table for the 66 actor types in the game, each entry describing all key aspects of that actor. [AI]

Definition at line 175 of file legoactors.cpp.

◆ g_actorLODs

LegoActorLOD g_actorLODs[11]
extern

[AI] Array of 11 LOD definitions which describe the conventions for actor part hierarchy and bounding data. [AI]

Definition at line 10 of file legoactors.cpp.