summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-11-25 11:39:11 -0500
committerGitHub <noreply@github.com>2025-11-25 18:39:11 +0200
commit9943a52a79d8cd9b8abfcb4a70e783bcb464f42f (patch)
treeddfcba77713d9c518b08929310d1544924949d94 /include
parentf5e3e89512c40b3736b6628c96531779389f8b73 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/SSystem/SComponent/c_bg_s_chk.h9
-rw-r--r--include/SSystem/SComponent/c_bg_s_grp_pass_chk.h9
-rw-r--r--include/SSystem/SComponent/c_bg_s_poly_pass_chk.h9
-rw-r--r--include/d/d_bg_s_poly_pass_chk.h5
-rw-r--r--include/d/d_bg_w_kcol.h1
-rw-r--r--include/d/dolzel_base.pch11
6 files changed, 30 insertions, 14 deletions
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 */
diff --git a/include/d/d_bg_s_poly_pass_chk.h b/include/d/d_bg_s_poly_pass_chk.h
index 0e9ac6cd54..6f7778189a 100644
--- a/include/d/d_bg_s_poly_pass_chk.h
+++ b/include/d/d_bg_s_poly_pass_chk.h
@@ -1,11 +1,8 @@
#ifndef D_BG_D_BG_S_POLY_PASS_CHK_H
#define D_BG_D_BG_S_POLY_PASS_CHK_H
+#include "SSystem/SComponent/c_bg_s_poly_pass_chk.h"
-class cBgS_PolyPassChk {
-public:
- virtual ~cBgS_PolyPassChk() {}
-};
class dBgS_PolyPassChk : public cBgS_PolyPassChk {
public:
diff --git a/include/d/d_bg_w_kcol.h b/include/d/d_bg_w_kcol.h
index be26509a29..d443cf7d99 100644
--- a/include/d/d_bg_w_kcol.h
+++ b/include/d/d_bg_w_kcol.h
@@ -4,6 +4,7 @@
#include "JSystem/JUtility/JUTAssert.h"
#include "SSystem/SComponent/c_m3d_g_aab.h"
#include "d/d_bg_plc.h"
+#include "d/d_bg_s_sph_chk.h"
#include "d/d_bg_w_base.h"
class cBgS_GrpPassChk;
diff --git a/include/d/dolzel_base.pch b/include/d/dolzel_base.pch
index fc901a4363..1871c1bf3d 100644
--- a/include/d/dolzel_base.pch
+++ b/include/d/dolzel_base.pch
@@ -12,16 +12,21 @@
// Fixes weak function ordering
#include "cmath.h" // IWYU pragma: export
#include "string.h" // IWYU pragma: export
-#include "d/d_com_inf_game.h" // IWYU pragma: export
-#include "d/d_bg_s_sph_chk.h" // IWYU pragma: export
+#include "JSystem/JUtility/JUTGamePad.h" // IWYU pragma: export
+#include "JSystem/J3DGraphAnimator/J3DMaterialAnm.h" // IWYU pragma: export
+#include "SSystem/SComponent/c_m3d_g_pla.h" // IWYU pragma: export
+#include "SSystem/SComponent/c_bg_s_chk.h" // IWYU pragma: export
+#include "f_op/f_op_actor.h" // IWYU pragma: export
+#include "d/d_bg_s_poly_pass_chk.h" // IWYU pragma: export
+#include "d/d_bg_s_chk.h" // IWYU pragma: export
#include "d/d_bg_w.h" // IWYU pragma: export
+#include "d/d_com_inf_game.h" // IWYU pragma: export
#include "m_Do/m_Do_graphic.h" // IWYU pragma: export
#include "JSystem/J2DGraph/J2DOrthoGraph.h" // IWYU pragma: export
#include "JSystem/J2DGraph/J2DPane.h" // IWYU pragma: export
#include "JSystem/J2DGraph/J2DPictureEx.h" // IWYU pragma: export
#include "JSystem/J2DGraph/J2DScreen.h" // IWYU pragma: export
#include "JSystem/J2DGraph/J2DTextBoxEx.h" // IWYU pragma: export
-#include "JSystem/J3DGraphAnimator/J3DMaterialAnm.h" // IWYU pragma: export
#include "JSystem/JUtility/JUTFont.h" // IWYU pragma: export
#include "JSystem/JUtility/JUTReport.h" // IWYU pragma: export