100% match and link d_a_windmill (#783)

* 98% matching d_a_windmill

* Match CreateInit

* Match hane_move

* Fully match and link TU
This commit is contained in:
Ammar Askar
2025-06-03 15:43:15 -04:00
committed by GitHub
parent 4bf91cbfea
commit 20a252e254
4 changed files with 313 additions and 16 deletions
+6 -2
View File
@@ -15,8 +15,12 @@ namespace daWindTag {
class daWindTag_c : public fopAc_ac_c {
public:
void getCurLength() const {}
void getMaxLength() const {}
f32 getCurLength() const {
return mOffsY;
}
f32 getMaxLength() const {
return field_0x49c * mData[mType * 2 + 1];
}
bool _delete();
BOOL CreateHeap();
+10 -2
View File
@@ -11,7 +11,9 @@ class daWindMill_c : public fopAc_ac_c {
public:
void getMaxRotSpeed() const {}
void getRotSpeed() const {}
void getType() const {}
u8 getType() const {
return mType;
}
bool _delete();
BOOL CreateHeap();
@@ -27,6 +29,10 @@ public:
static const s16 m_max_rot_speed[];
static const char* m_arcname[];
static const s16 m_bmdidx[];
static const s16 m_dzbidx[];
static const s16 m_heapsize[];
static const Vec m_cull_size[][2];
public:
/* 0x0290 */ request_of_phase_process_class mPhs;
@@ -34,7 +40,7 @@ public:
/* 0x029C */ dCcD_Stts mStts;
/* 0x02D8 */ dCcD_Sph mSph[9];
/* 0x06D4 */ dCcD_Cps mCps[4];
/* 0x1244 */ f32 m1244[28];
/* 0x1244 */ cM3dGCpsS m1244[4];
/* 0x12B4 */ dBgW* mpBgW;
/* 0x12B8 */ Mtx mMtx;
/* 0x12E8 */ dCcD_Cyl mCyl;
@@ -43,4 +49,6 @@ public:
/* 0x1420 */ u32 mWindTagId;
};
STATIC_ASSERT(sizeof(daWindMill_c) == 0x1424);
#endif /* D_A_WINDMILL_H */