diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-09-12 03:14:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-12 03:14:40 -0700 |
| commit | 85b77c336ba7672a9ebb5bb276d78f06d9f25b00 (patch) | |
| tree | 0a39e1d78a2d7761ba91d97f6d62f5f941ec3466 /include/SSystem/SComponent | |
| parent | 06ec97aade63b6a358cd7c2985511aa633035256 (diff) | |
work on m_Do_audio and d_com_inf_game (#18)
* fix float issues and add decompctx.py tool
* work on m_Do_audio and d_com_inf_game
* fix build
Diffstat (limited to 'include/SSystem/SComponent')
| -rw-r--r-- | include/SSystem/SComponent/c_bg_s_chk.h | 5 | ||||
| -rw-r--r-- | include/SSystem/SComponent/c_bg_s_gnd_chk.h | 3 | ||||
| -rw-r--r-- | include/SSystem/SComponent/c_bg_s_poly_info.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/include/SSystem/SComponent/c_bg_s_chk.h b/include/SSystem/SComponent/c_bg_s_chk.h index 8367b50e..f78a86db 100644 --- a/include/SSystem/SComponent/c_bg_s_chk.h +++ b/include/SSystem/SComponent/c_bg_s_chk.h @@ -2,6 +2,7 @@ #define C_BG_S_CHK_H #include "dolphin/mtx/vec.h" +#include "global.h" struct cBgD_Vtx_t : public Vec {}; @@ -32,7 +33,9 @@ public: cBgS_PolyPassChk* GetPolyPassChk() const { return mPolyPassChk; } cBgS_GrpPassChk* GetGrpPassChk() const { return mGrpPassChk; } - virtual ~cBgS_Chk(void); + virtual ~cBgS_Chk(); }; // Size: 0x14 +STATIC_ASSERT(sizeof(cBgS_Chk) == 0x14); + #endif /* C_BG_S_CHK_H */ diff --git a/include/SSystem/SComponent/c_bg_s_gnd_chk.h b/include/SSystem/SComponent/c_bg_s_gnd_chk.h index 77e0a991..c669863d 100644 --- a/include/SSystem/SComponent/c_bg_s_gnd_chk.h +++ b/include/SSystem/SComponent/c_bg_s_gnd_chk.h @@ -24,6 +24,9 @@ private: /* 0x30 */ u32 mFlags; /* 0x34 */ f32 mNowY; /* 0x38 */ u32 mWallPrecheck; + /* 0x3C */ u32 mGndPrecheck; }; +STATIC_ASSERT(sizeof(cBgS_GndChk) == 0x40); + #endif /* C_BG_S_GND_CHK_H */ diff --git a/include/SSystem/SComponent/c_bg_s_poly_info.h b/include/SSystem/SComponent/c_bg_s_poly_info.h index 2ac1d58e..55c265b4 100644 --- a/include/SSystem/SComponent/c_bg_s_poly_info.h +++ b/include/SSystem/SComponent/c_bg_s_poly_info.h @@ -32,4 +32,6 @@ public: } }; // Size: 0x10 +STATIC_ASSERT(sizeof(cBgS_PolyInfo) == 0x10); + #endif /* C_BG_S_POLY_INFO_H */ |
