Conversation
Report for GZ2E01 (58a6d8d - aca0d94)📈 Matched code: 77.05% (+0.10%, +11776 bytes) ✅ 44 new matches
...and 14 more new matches 📈 18 improvements in unmatched functions
|
include/d/actor/d_a_npc_coach.h
Outdated
| /* 0x0F0 */ cXyz field_0xf0[10]; | ||
| /* 0x168 */ f32 field_0x168; | ||
| /* 0x16C */ s8 field_0x16c; | ||
| /* 0x16D */ u8 field_0x16d[0x170 - 0x16d]; |
There was a problem hiding this comment.
field_0x16d can be removed
include/d/actor/d_a_npc_coach.h
Outdated
| /* 0x1C */ s16 field_0x1c; | ||
| /* 0x1E */ s16 field_0x1e; | ||
| /* 0x20 */ s16 field_0x20; | ||
| /* 0x22 */ u8 field_0x22[0x24 - 0x22]; |
There was a problem hiding this comment.
I don't think field_0x22 is needed. not sure though
include/d/actor/d_a_npc_coach.h
Outdated
| /* 0x798 */ s16 mCoachRot; | ||
| /* 0x79A */ csXyz field_0x79a; | ||
| /* 0x7A0 */ csXyz field_0x7a0; | ||
| /* 0x7A6 */ u8 field_0x7a6[0x7a8 - 0x7a6]; |
src/d/actor/d_a_npc_coach.cpp
Outdated
| 16.0f, | ||
| 62.0f, | ||
| -58.837898f, | ||
| 67.626999f, |
There was a problem hiding this comment.
This might be a quirk with beautify_anm_data. @carter-ktb21 , please confirm.
There was a problem hiding this comment.
nope that was my bad!
src/d/actor/d_a_npc_coach.cpp
Outdated
|
|
||
| if (field_0x24c0 < 5) { | ||
| for (int i = 0; i < 5; i++) { | ||
| if (field_0x247c[i] == 0xFFFFFFFF) { |
src/d/actor/d_a_npc_coach.cpp
Outdated
| sVar2 = -0x1194; | ||
| } | ||
|
|
||
| if (sVar1 > 0x1194) { |
There was a problem hiding this comment.
That's 4500 in decimal - seems prettier
There was a problem hiding this comment.
💯. @carter-ktb21 , if you're using objdiff 3+, you can right click hex values to see their decimal values. If the number looks prettier as decimal, then use decimal.
include/d/actor/d_a_e_kr.h
Outdated
| inline s32 getId() { return field_0xf00; } | ||
| inline s32 checkBombDrop() { return field_0xf04; } |
There was a problem hiding this comment.
inline keyword shouldnt be needed here since its declared in-class
include/d/actor/d_a_npc_coach.h
Outdated
|
|
||
| struct daNpcChPath_c { | ||
| inline BOOL setPath(int, int, cXyz*, bool); | ||
| inline BOOL isClose() { return dPath_ChkClose(mpPath); } |
There was a problem hiding this comment.
same thing with the in-class inlines here
include/d/actor/d_a_npc_coach.h
Outdated
| /* 0x9C */ s32 deceleration_time; // 減速時間 - Deceleration Time | ||
| }; | ||
|
|
||
| struct daNpcChReins_c { |
There was a problem hiding this comment.
structs that end with _c are presumed to be classes originally
include/d/actor/d_a_npc_theB.h
Outdated
| inline void setTRMtx(MtxP mtx) { mpMorf->getModel()->setBaseTRMtx(mtx); } | ||
| inline void setGameOver() { mGameOver = 1; } |
There was a problem hiding this comment.
same thing about inlines here
src/d/actor/d_a_npc_coach.cpp
Outdated
| param_1 = 0; | ||
| uVar2 = 0; | ||
| attention_info.flags = 0; | ||
| } else { |
There was a problem hiding this comment.
can these else nested be condensed?
src/d/actor/d_a_npc_coach.cpp
Outdated
| attention_info.flags = 0; | ||
| } else { | ||
| if (mCoachBlazing) { | ||
| // uVar2 = param_1; |
No description provided.