diff options
| author | roeming <brother64youyou@gmail.com> | 2026-03-15 21:06:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-15 18:06:16 -0700 |
| commit | ae0f8909a6ad9d1df2cf247a2538ff658d6e49c0 (patch) | |
| tree | a7e3efe8f8230158d77ccebf2b635995b54138e5 /include/d | |
| parent | bc9bf9d06227a2db4dd18e880dd00209b62a59de (diff) | |
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>
Diffstat (limited to 'include/d')
| -rw-r--r-- | include/d/actor/d_a_passer_mng.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/d/actor/d_a_passer_mng.h b/include/d/actor/d_a_passer_mng.h index aa2a55c00f..981eff33b9 100644 --- a/include/d/actor/d_a_passer_mng.h +++ b/include/d/actor/d_a_passer_mng.h @@ -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; |
