initial collision viewer

This commit is contained in:
TakaRikka
2026-03-17 05:17:43 -07:00
parent 266c4317d9
commit eaad85d618
12 changed files with 46 additions and 48 deletions
+1 -9
View File
@@ -67,7 +67,6 @@ u8 dKy_pol_sound_get(cBgS_PolyInfo const* param_0);
class dBgS_HIO : public JORReflexible {
public:
#if DEBUG
enum flags_e {
FLAG_ACCH_WALL_OFF_e = 0x2,
FLAG_CHECK_COUNTER_e = 0x4,
@@ -104,7 +103,7 @@ public:
}
virtual void genMessage(JORMContext*);
virtual ~dBgS_HIO();
virtual ~dBgS_HIO() {}
bool ChkLineOff() { return m_flags2 & FLAG2_LINE_OFF_e; }
bool ChkCheckCounter() { return m_flags & FLAG_CHECK_COUNTER_e; }
@@ -134,12 +133,10 @@ public:
/* 0x18 */ cXyz m_linecheck_end;
/* 0x24 */ cXyz m_gndcheck_pos;
/* 0x30 */ s32 m_errorCheck_actor_num;
#endif
};
class dBgS_InsideHIO : public JORReflexible {
public:
#if DEBUG
enum flags_e {
FLAG_DISP_POLY_e = 0x1,
FLAG_DISP_DP_AREA_e = 0x2,
@@ -184,7 +181,6 @@ public:
/* 0x08 */ f32 m_raise_amount;
/* 0x0C */ cXyz m_p0;
/* 0x18 */ cXyz m_p1;
#endif
};
class dBgS : public cBgS {
@@ -237,9 +233,7 @@ public:
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); }
#if DEBUG
void DebugDrawPoly(const dBgW_Base& param_1);
#endif
#if DEBUG
bool LineCross(cBgS_LinChk* i_linChk);
@@ -260,10 +254,8 @@ public:
void Draw();
void CaptPoly(dBgS_CaptPoly&);
#if DEBUG
/* 0x1404 */ u8 field_0x1404[0x1408 - 0x1404];
/* 0x1408 */ dBgS_HIO m_hio;
#endif
}; // Size: 0x1404
bool dBgS_CheckBGroundPoly(cBgS_PolyInfo const&);
-2
View File
@@ -337,11 +337,9 @@ public:
virtual bool ChkShdwDrawThrough(int, cBgS_PolyPassChk*);
virtual bool ChkGrpThrough(int, cBgS_GrpPassChk*, int);
#if DEBUG
void DrawBox() const;
void DebugDraw() const;
void DrawPoly(const cBgS_PolyInfo&, const GXColor&) const;
#endif
void SetCrrFunc(dBgW_CrrFunc func) { m_crr_func = func; }
void SetRideCallback(dBgW_RideCallback func) { m_ride_callback = func; }
-2
View File
@@ -105,11 +105,9 @@ 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() const {}
virtual void DrawPoly(cBgS_PolyInfo const& param_0, GXColor const& param_1) const {}
virtual void DrawBox() const {}
#endif
PushPull_CallBack GetPushPullCallback() const { return m_pushPull_Callback; }
s16 GetDiffShapeAngleY() { return m_diff_ShapeAngleY; }