26 lines
977 B
Plaintext
26 lines
977 B
Plaintext
|
|
type gfxlightgrid [display="GFX Light Grid"]
|
||
|
|
{
|
||
|
|
// PC version: 56 bytes (mins/maxs are uint16_t[3], not float[3])
|
||
|
|
u8 has_light_regions [ui, readonly, display="Has Light Regions"];
|
||
|
|
skip(3); // padding
|
||
|
|
|
||
|
|
u32 sun_primary_light_index [ui, readonly, display="Sun Primary Light Index"];
|
||
|
|
|
||
|
|
// Bounds are uint16_t[3] on PC (6 bytes each)
|
||
|
|
mins = read(6) [ui, readonly, display="Mins"];
|
||
|
|
maxs = read(6) [ui, readonly, display="Maxs"];
|
||
|
|
|
||
|
|
u32 row_axis [ui, readonly, display="Row Axis"];
|
||
|
|
u32 col_axis [ui, readonly, display="Col Axis"];
|
||
|
|
|
||
|
|
i32 row_data_start_ptr [ui, readonly, display="Row Data Start Ptr"];
|
||
|
|
u32 raw_row_data_size [ui, readonly, display="Raw Row Data Size"];
|
||
|
|
i32 raw_row_data_ptr [ui, readonly, display="Raw Row Data Ptr"];
|
||
|
|
|
||
|
|
u32 entry_count [ui, readonly, display="Entry Count"];
|
||
|
|
i32 entries_ptr [ui, readonly, display="Entries Ptr"];
|
||
|
|
|
||
|
|
u32 color_count [ui, readonly, display="Color Count"];
|
||
|
|
i32 colors_ptr [ui, readonly, display="Colors Ptr"];
|
||
|
|
}
|