File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ class BoundingShape0x2c {
1515public:
1616 // SIZE: 0x20
1717 struct StructField0x08 {
18- undefined2 m_type;
18+ enum {
19+ e_type0 = 0 ,
20+ e_type1 = 1 ,
21+ };
22+
23+ LegoU16 m_type;
1924 LegoS16 m_unk0x02;
2025 union {
2126 struct {
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ void BoundingShape0x2c::FUN_1001b010(GolFileParser& p_parser)
9696 GolFileParser::ParserTokenType type = p_parser.GetNextToken ();
9797 StructField0x08* obj = &m_unk0x08[i];
9898 if (type == GolFileParser::e_unknown0x28) {
99- obj->m_type = 0 ;
99+ obj->m_type = StructField0x08::e_type0 ;
100100 obj->m_unk0x04 .t0 .m_unk0x10 = 0 ;
101101 obj->m_unk0x04 .t0 .m_unk0x14 = 0 ;
102102 if (p_parser.ReadInteger () < 0 ) {
@@ -127,7 +127,7 @@ void BoundingShape0x2c::FUN_1001b010(GolFileParser& p_parser)
127127 obj->m_unk0x04 .t0 .m_unk0x0c = p_parser.ReadFloat ();
128128 }
129129 else if (type == GolFileParser::e_unknown0x29) {
130- obj->m_type = 1 ;
130+ obj->m_type = StructField0x08::e_type1 ;
131131 if (p_parser.ReadInteger () < 0 ) {
132132 obj->m_unk0x02 = -1 ;
133133 m_unk0x0c = obj;
You can’t perform that action at this time.
0 commit comments