[Driver] Implement DriverManager - #72
Conversation
Report for MarioClub_us (da86f76 - 6434874)📈 Matched code: 46.61% (+0.11%, +3492 bytes) ✅ 17 new matches
📈 2 improvements in unmatched items
|
joakim-d
left a comment
There was a problem hiding this comment.
Not 100% sure but all these members in the class looks weird no?
Why not using an array instead?
| u8 _34; | ||
| u8 _35; | ||
| u8 _36; | ||
| u8 _37; | ||
| u8 _38; | ||
| u8 _39; | ||
| u8 _3a; | ||
| u8 _3b; | ||
| u8 _3c; | ||
| u8 _3d; | ||
| u8 _3e; | ||
| u8 _3f; | ||
| u8 _40; | ||
| u8 _41; | ||
| u8 _42; | ||
| u8 _43; | ||
| u8 _44; | ||
| u8 _45; | ||
| u8 _46; | ||
| u8 _47; | ||
| u8 _48; | ||
| u8 _49; | ||
| u8 _4a; | ||
| u8 _4b; | ||
| u8 _4c; | ||
| u8 _4d; | ||
| u8 _4e; | ||
| u8 _4f; | ||
| u8 _50; | ||
| u8 _51; | ||
| u8 _52; | ||
| u8 _53; | ||
| u8 _54; | ||
| u8 _55; | ||
| u8 _56; | ||
| u8 _57; | ||
| u8 _58; | ||
| u8 _59; | ||
| u8 _5a; | ||
| u8 _5b; | ||
| u8 _5c; | ||
| u8 _5d; | ||
| u8 _5e; | ||
| u8 _5f; |
There was a problem hiding this comment.
| u8 _34; | |
| u8 _35; | |
| u8 _36; | |
| u8 _37; | |
| u8 _38; | |
| u8 _39; | |
| u8 _3a; | |
| u8 _3b; | |
| u8 _3c; | |
| u8 _3d; | |
| u8 _3e; | |
| u8 _3f; | |
| u8 _40; | |
| u8 _41; | |
| u8 _42; | |
| u8 _43; | |
| u8 _44; | |
| u8 _45; | |
| u8 _46; | |
| u8 _47; | |
| u8 _48; | |
| u8 _49; | |
| u8 _4a; | |
| u8 _4b; | |
| u8 _4c; | |
| u8 _4d; | |
| u8 _4e; | |
| u8 _4f; | |
| u8 _50; | |
| u8 _51; | |
| u8 _52; | |
| u8 _53; | |
| u8 _54; | |
| u8 _55; | |
| u8 _56; | |
| u8 _57; | |
| u8 _58; | |
| u8 _59; | |
| u8 _5a; | |
| u8 _5b; | |
| u8 _5c; | |
| u8 _5d; | |
| u8 _5e; | |
| u8 _5f; | |
| u8 _34[0x2c]; |
Why not using an array here?
There was a problem hiding this comment.
Because I only use arrays when it gets accessed as an array(like in a loop)
There was a problem hiding this comment.
They seem to get referenced by DriverModel::updateSetBlendWeight_GetBlendTime(StateEnum)
So I guess those are all related(_3c to _5a)
There was a problem hiding this comment.
Yeah okay, I might indeed make it an array, however not the entire range you suggested
Low quality attempt, missing a lot of information about members at the moment