This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
kirby64_the_crystal_shards:level_settings_blocks [2020/09/15 11:26] jesusyoshi54 [Destructable Geometry Groups] |
kirby64_the_crystal_shards:level_settings_blocks [2021/04/09 18:11] someone2639 [Normal Groups] edit struct definition since it's the only resource on the topic |
||
---|---|---|---|
Line 119: | Line 119: | ||
struct Norm_Group | struct Norm_Group | ||
{ | { | ||
- | /*0x0*/ u16 Normal_Index; | + | /*0x0*/ u8 Normal_Index; |
- | /*0x2*/ u16 Left_Child; | + | /*0x1*/ u8 Left_Child; |
- | /*0x4*/ u16 Right_Child; | + | /*0x2*/ u8 Right_Child; |
- | /*0x6*/ u16 Tri_Cell_Index | + | /*0x3*/ u8 Tri_Cell_Index |
}; | }; | ||
</code> | </code> | ||
Line 206: | Line 206: | ||
/*0x20*/ u16 (*Triangle_Norm_Cells)[][2]; | /*0x20*/ u16 (*Triangle_Norm_Cells)[][2]; | ||
/*0x24*/ u32 Len_Triangle_Norm_Cells; | /*0x24*/ u32 Len_Triangle_Norm_Cells; | ||
- | /*0x28*/ u32 Num_Floor_Norms; //Should be tri norm cells minus 1 | + | /*0x28*/ u32 Norm_Cell_BSP_Root; //Always last member |
/*0x2C*/ struct DynGeo_List (*Destructable_Groups)[]; | /*0x2C*/ struct DynGeo_List (*Destructable_Groups)[]; | ||
/*0x30*/ u16 (*Destructable Indices)[]; | /*0x30*/ u16 (*Destructable Indices)[]; |