From 9943a52a79d8cd9b8abfcb4a70e783bcb464f42f Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Tue, 25 Nov 2025 11:39:11 -0500 Subject: Move cBgS_GrpPassChk and cBgS_PolyPassChk to separate headers (#2861) This is supported by RTTI ordering which only makes sense if these classes are in separate headers from the dBgS_* classes. --- include/SSystem/SComponent/c_bg_s_chk.h | 9 ++------- include/SSystem/SComponent/c_bg_s_grp_pass_chk.h | 9 +++++++++ include/SSystem/SComponent/c_bg_s_poly_pass_chk.h | 9 +++++++++ 3 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 include/SSystem/SComponent/c_bg_s_grp_pass_chk.h create mode 100644 include/SSystem/SComponent/c_bg_s_poly_pass_chk.h (limited to 'include/SSystem/SComponent') diff --git a/include/SSystem/SComponent/c_bg_s_chk.h b/include/SSystem/SComponent/c_bg_s_chk.h index 9475fe8d42..4d6a6cef3f 100644 --- a/include/SSystem/SComponent/c_bg_s_chk.h +++ b/include/SSystem/SComponent/c_bg_s_chk.h @@ -3,16 +3,11 @@ #include "dolphin/mtx.h" #include "f_pc/f_pc_base.h" +#include "SSystem/SComponent/c_bg_s_grp_pass_chk.h" +#include "SSystem/SComponent/c_bg_s_poly_pass_chk.h" struct cBgD_Vtx_t : public Vec {}; -class cBgS_GrpPassChk { -public: - virtual ~cBgS_GrpPassChk() {} -}; - -class cBgS_PolyPassChk; - class cBgS_Chk { public: /* 0x0 */ cBgS_PolyPassChk* mPolyPassChk; diff --git a/include/SSystem/SComponent/c_bg_s_grp_pass_chk.h b/include/SSystem/SComponent/c_bg_s_grp_pass_chk.h new file mode 100644 index 0000000000..3fcbd9f255 --- /dev/null +++ b/include/SSystem/SComponent/c_bg_s_grp_pass_chk.h @@ -0,0 +1,9 @@ +#ifndef C_BG_S_GRP_PASS_CHK_H +#define C_BG_S_GRP_PASS_CHK_H + +class cBgS_GrpPassChk { +public: + virtual ~cBgS_GrpPassChk() {} +}; + +#endif /* C_BG_S_GRP_PASS_CHK_H */ diff --git a/include/SSystem/SComponent/c_bg_s_poly_pass_chk.h b/include/SSystem/SComponent/c_bg_s_poly_pass_chk.h new file mode 100644 index 0000000000..276099d628 --- /dev/null +++ b/include/SSystem/SComponent/c_bg_s_poly_pass_chk.h @@ -0,0 +1,9 @@ +#ifndef C_BG_S_POLY_PASS_CHK_H +#define C_BG_S_POLY_PASS_CHK_H + +class cBgS_PolyPassChk { +public: + virtual ~cBgS_PolyPassChk() {} +}; + +#endif /* C_BG_S_POLY_PASS_CHK_H */ -- cgit v1.2.3