KoopaBattleMap and co - #1969
Conversation
Report for RMGK01 (9a5ce20 - a35794f)📈 Matched code: 62.02% (+0.06%, +3176 bytes) ✅ 30 new matches
📈 1 improvement in an unmatched item
|
| .rodata start:0x80532A68 end:0x80532AA8 | ||
| .data start:0x80589638 end:0x80589EB8 | ||
| .sdata start:0x806B1BA8 end:0x806B1BC0 | ||
| .sdata start:0x806B1BA8 end:0x806B1BC8 |
There was a problem hiding this comment.
This split was correct before. The added data should go into FishGroup, not FileSelector.
| mDamagePlateGroup->initWithoutIter(); | ||
|
|
||
| for (s32 idx = 0; idx < 6; idx++) { | ||
| f32 angles[6][2] = {{0.0f, 0.0f}, {180.0f, 0.0f}, {90.0f, 0.0f}, {270.0f, 0.0f}, {0.0f, 90.0f}, {0.0f, 270.0f}}; |
There was a problem hiding this comment.
Converting this into an array of structs might help make usage more clear. Same goes for the next couple instances. Assuming doing so still matches.
There was a problem hiding this comment.
Not sure if that'll it more readable though. It'll still be a large group of floats. It might make it clear that its an array of x, y angles, but I'm not convinced.
There was a problem hiding this comment.
In terms of initialization, yes, the syntax will be the same. However, usage may make more sense. I won't hold you to adjusting that as it can always be addressed later.
Match
KoopaBattleMapPlanetMatch
KoopaBattleMapCoinPlanetMatch
KoopaBattleMapDamagePlate