Isle
Loading...
Searching...
No Matches
legolocations.h
Go to the documentation of this file.
1#ifndef LEGOLOCATIONS_H
2#define LEGOLOCATIONS_H
3
4#include "decomp.h"
5#include "mxtypes.h"
6
7// SIZE 0x60
8
17 // SIZE 0x18
18
24 struct Boundary {
25 const char* m_name;
27 float m_srcScale;
31 };
32
34 const char* m_name;
35 float m_position[3];
36 float m_direction[3];
37 float m_up[3];
42};
43
49extern LegoLocation g_locations[70];
50
51#endif // LEGOLOCATIONS_H
LegoLocation g_locations[70]
Global table of all defined LEGO Island scene/camera/world locations.
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
unsigned char MxU8
[AI]
Definition: mxtypes.h:8
signed int MxS32
[AI]
Definition: mxtypes.h:38
unsigned int MxU32
[AI]
Definition: mxtypes.h:32
Defines a logical boundary associated with a location for things such as triggers,...
Definition: legolocations.h:24
MxS32 m_dest
Destination zone or tile index for this boundary. [AI].
Definition: legolocations.h:28
MxS32 m_src
Source zone or tile index for this boundary. [AI].
Definition: legolocations.h:26
MxBool m_unk0x10
Unknown flag. Presumed to control boundary activation/enabling or directionality. [AI].
Definition: legolocations.h:30
const char * m_name
Name of the boundary, typically referencing a map edge or connection. [AI].
Definition: legolocations.h:25
float m_destScale
Destination scaling factor. [AI].
Definition: legolocations.h:29
float m_srcScale
Source scaling factor, modifies transition logic or geometric mapping. [AI].
Definition: legolocations.h:27
Data structure representing a named spatial location and orientation in the LEGO Island world,...
Definition: legolocations.h:16
Boundary m_boundaryA
First logical boundary associated with this location, for zone transitions or triggers....
Definition: legolocations.h:38
float m_position[3]
Cartesian position of the location (x, y, z). [AI].
Definition: legolocations.h:35
const char * m_name
Name of the location (camera preset, landmark, or spawn zone). [AI].
Definition: legolocations.h:34
Boundary m_boundaryB
Second logical boundary, enables junctions or asymmetric transitions. [AI].
Definition: legolocations.h:39
MxU8 m_frequency
Frequency or priority, may control how often this location is used/appears in algorithms....
Definition: legolocations.h:41
float m_direction[3]
Direction vector, describes primary view or travel direction. [AI].
Definition: legolocations.h:36
float m_up[3]
Up vector, for orientation (used in look-at or camera frames). [AI].
Definition: legolocations.h:37
MxBool m_unk0x5c
Unknown flag, seems to mark special locations or enable/disable associated logic. [AI].
Definition: legolocations.h:40
MxU32 m_index
Index or ID of this location in the global locations array. [AI].
Definition: legolocations.h:33