convert daPasserMng_c::mGroupTbl underlying data from bytes to daPasserMng_c::Group (#3129)

* daPasserMng_c::mGroupTbl underlying data to daPasserMng_c::Group

* move over to const groups

* templated solution that works on modern compilers + mwcc

---------

Co-authored-by: roeming <roeming@users.noreply.github.com>
This commit is contained in:
roeming
2026-03-15 21:06:16 -04:00
committed by GitHub
parent bc9bf9d062
commit ae0f8909a6
2 changed files with 29 additions and 21 deletions
+2 -1
View File
@@ -251,12 +251,13 @@ public:
return paramLow << 8;
}
// SizedGroup in d_a_passer_mng.cpp relies on this layout, any changes here should also be changed there
struct Group {
u8 field_0x00;
int field_0x04[0];
};
static Group* mGroupTbl[4];
static const Group* mGroupTbl[4];
private:
/* 0x568 */ fpc_ProcID* childProcIds;