summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2026-01-08 16:53:40 +0200
committerGitHub <noreply@github.com>2026-01-08 07:53:40 -0700
commit2d4a8ee46a04ad49313f35c9062f8194de36deb2 (patch)
tree38ad1ae296aa9d245773e23de668ce2a7fa6d27b /include
parent0e7b42e9ea78e960647ce25528cf7b65a6ddfc9d (diff)
Work on d_debug_camera (#3024)
Diffstat (limited to 'include')
-rw-r--r--include/d/d_bg_s.h1
-rw-r--r--include/d/d_bg_w_base.h7
-rw-r--r--include/d/d_debug_camera.h2
3 files changed, 9 insertions, 1 deletions
diff --git a/include/d/d_bg_s.h b/include/d/d_bg_s.h
index 2ce6493260..c0804bd07c 100644
--- a/include/d/d_bg_s.h
+++ b/include/d/d_bg_s.h
@@ -151,6 +151,7 @@ public:
u32 GetMtrlSndId(const cBgS_PolyInfo& param_0) { return dKy_pol_sound_get(&param_0); }
void DebugDrawPoly(dBgW_Base *param_1) {}
void DebugDrawPoly(dBgW_Base const& param_1) {}
+ void DrawPoly(cBgS_PolyInfo const& param_0, GXColor const& param_1);
fopAc_ac_c* GetActorPointer(cBgS_PolyInfo const& param_0) const { return cBgS::GetActorPointer(param_0); }
bool LineCross(cBgS_LinChk* i_linChk) {
#if DEBUG
diff --git a/include/d/d_bg_w_base.h b/include/d/d_bg_w_base.h
index e593093960..0eb10e977e 100644
--- a/include/d/d_bg_w_base.h
+++ b/include/d/d_bg_w_base.h
@@ -4,6 +4,7 @@
#include "SSystem/SComponent/c_bg_s_poly_info.h"
#include "SSystem/SComponent/c_bg_w.h"
#include "SSystem/SComponent/c_m3d_g_pla.h"
+#include "dolphin/gx.h"
#include "f_pc/f_pc_base.h"
class cBgS_GndChk;
@@ -104,6 +105,12 @@ public:
virtual void CallRideCallBack(fopAc_ac_c*, fopAc_ac_c*);
virtual void CallArrowStickCallBack(fopAc_ac_c*, fopAc_ac_c*, cXyz&);
+ #if DEBUG
+ virtual void DebugDraw() {}
+ virtual void DrawPoly(cBgS_PolyInfo const& param_0, GXColor const& param_1) {}
+ virtual void DebugBox() {}
+ #endif
+
PushPull_CallBack GetPushPullCallback() const { return m_pushPull_Callback; }
s16 GetDiffShapeAngleY() { return m_diff_ShapeAngleY; }
int GetRoomId() { return m_roomId; }
diff --git a/include/d/d_debug_camera.h b/include/d/d_debug_camera.h
index 854cf0ecfa..600e1beb10 100644
--- a/include/d/d_debug_camera.h
+++ b/include/d/d_debug_camera.h
@@ -161,7 +161,7 @@ public:
public:
/* 0x000 */ int field_0x0;
/* 0x004 */ int field_0x4;
- /* 0x008 */ u8 field_0x8[0x010 - 0x008];
+ /* 0x008 */ int field_0x8[2];
/* 0x010 */ cXyz field_0x10[32];
/* 0x190 */ cXyz field_0x190[32];
} /* 0x704 */ field_0x704;