From 0202ecfc16429f613e40a02f54856f3184330f5b Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sun, 1 Mar 2026 15:14:23 +0100 Subject: [PATCH] Fix dBgS_CaptPoly forward declares --- include/d/d_bg_s_cap_poly.h | 2 +- include/d/d_bg_w.h | 2 +- include/d/d_bg_w_base.h | 2 +- include/d/d_bg_w_kcol.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/d/d_bg_s_cap_poly.h b/include/d/d_bg_s_cap_poly.h index ca4a38542c..0cda04c739 100644 --- a/include/d/d_bg_s_cap_poly.h +++ b/include/d/d_bg_s_cap_poly.h @@ -4,7 +4,7 @@ #include "d/d_bg_s_chk.h" #include "SSystem/SComponent/c_m3d_g_aab.h" -class dBgS_CaptPoly; +struct dBgS_CaptPoly; typedef void (*CaptPolyCallback)(dBgS_CaptPoly&, cBgD_Vtx_t*, u16, u16, u16, cM3dGPla*); diff --git a/include/d/d_bg_w.h b/include/d/d_bg_w.h index ed963c82be..94b3e5d93c 100644 --- a/include/d/d_bg_w.h +++ b/include/d/d_bg_w.h @@ -14,7 +14,7 @@ class cBgS_GrpPassChk; class cBgS_PolyPassChk; class fopAc_ac_c; struct cBgD_Vtx_t; -class dBgS_CaptPoly; +struct dBgS_CaptPoly; class cBgW_TriElm { public: diff --git a/include/d/d_bg_w_base.h b/include/d/d_bg_w_base.h index 089af244b8..0a05467820 100644 --- a/include/d/d_bg_w_base.h +++ b/include/d/d_bg_w_base.h @@ -11,7 +11,7 @@ class cBgS_GndChk; class cBgS_LinChk; class cBgS_ShdwDraw; class dBgS_Acch; -class dBgS_CaptPoly; +struct dBgS_CaptPoly; class dBgS_RoofChk; class dBgS_SphChk; class dBgS_SplGrpChk; diff --git a/include/d/d_bg_w_kcol.h b/include/d/d_bg_w_kcol.h index 7bb96ccbd4..ba7adec567 100644 --- a/include/d/d_bg_w_kcol.h +++ b/include/d/d_bg_w_kcol.h @@ -10,7 +10,7 @@ class cBgS_GrpPassChk; class cBgS_PolyPassChk; class dBgPc; -class dBgS_CaptPoly; +struct dBgS_CaptPoly; struct KC_PrismData { /* 0x0 */ f32 height;