m_Do debug (#3017)

* m_Do debug

* d_particle fix
This commit is contained in:
Jcw87
2026-01-05 02:19:14 -08:00
committed by GitHub
parent deb7bead20
commit b897ed3ec9
23 changed files with 663 additions and 245 deletions
+7
View File
@@ -4198,6 +4198,13 @@ inline void dComIfGd_drawListItem3d() {
g_dComIfG_gameInfo.drawlist.drawXluListItem3d();
}
# if VERSION > VERSION_GCN_JPN
inline void dComIfGd_drawListCursor() {
g_dComIfG_gameInfo.drawlist.drawOpaListCursor();
g_dComIfG_gameInfo.drawlist.drawXluListCursor();
}
#endif
inline void dComIfGd_reset() {
g_dComIfG_gameInfo.drawlist.reset();
}
+4
View File
@@ -483,6 +483,10 @@ public:
void drawOpaList3Dlast() { drawOpaDrawList(mDrawBuffers[DB_LIST_3D_LAST]); }
void drawOpaListFilter() { drawOpaDrawList(mDrawBuffers[DB_LIST_FILTER]); }
void drawOpaListP0() { drawOpaDrawList(mDrawBuffers[DB_LIST_P0]); }
#if VERSION > VERSION_GCN_JPN
void drawOpaListCursor() { drawOpaDrawList(mDrawBuffers[DB_LIST_CURSOR]); }
void drawXluListCursor() { drawXluDrawList(mDrawBuffers[DB_LIST_CURSOR]); }
#endif
void draw2DOpa() { draw(mp2DOpaDrawLists, mp2DOpaStart); }
void draw2DOpaTop() { draw(mp2DOpaTopDrawLists, mp2DOpaTopStart); }
void draw2DXlu() { draw(mp2DXluDrawLists, mp2DXluStart); }
+38
View File
@@ -0,0 +1,38 @@
#ifndef D_JCAM_EDITOR_H
#define D_JCAM_EDITOR_H
#include "dolphin/mtx.h"
namespace JStage {
class TSystem;
}
namespace JStudioCameraEditor {
class TControl;
}
class JKRExpHeap;
class JUTGamePad;
class JUTResFont;
class dJcame_c {
public:
dJcame_c(const JStage::TSystem*, f32, JUTGamePad&);
void show3D(Mtx);
void show2D();
static void create(const JStage::TSystem*, f32, JUTGamePad&);
static dJcame_c* m_myObj;
static dJcame_c* get() { return m_myObj; }
/* 0x00 */ JStage::TSystem* field_0x0;
/* 0x04 */ JUTResFont* field_0x4;
/* 0x08 */ JKRExpHeap* mHeap;
/* 0x0C */ JStudioCameraEditor::TControl* mControl;
/* 0x10 */ int field_0x10;
/* 0x14 */ u8 field_0x14;
};
#endif /* D_JCAM_EDITOR_H */
+40
View File
@@ -0,0 +1,40 @@
#ifndef D_JPREVIEWER_H
#define D_JPREVIEWER_H
#include "dolphin/mtx.h"
namespace JStudio {
class TControl;
}
class J2DOrthoGraph;
class JKRExpHeap;
class JUTGamePad;
class JUTResFont;
class tParse_;
class dJprevCtrl_c /* : public JStudioPreviewer::TControl */ {
public:
};
class dJprev_c {
public:
dJprev_c(JStudio::TControl*, const JUTGamePad&);
void show3D(Mtx);
void show2D();
static dJprev_c* get() { return m_myObj; }
static dJprev_c* m_myObj;
/* 0x00 */ J2DOrthoGraph* mOrthoGraph;
/* 0x04 */ JUTResFont* mFont;
/* 0x08 */ JKRExpHeap* mHeap;
/* 0x0C */ tParse_* m_parse;
/* 0x10 */ dJprevCtrl_c* mControl;
/* 0x14 */ u8 field_0x14;
};
#endif /* D_JPREVIEWER_H */
-1
View File
@@ -211,7 +211,6 @@ public:
UNUSED(i_emitter);
dPa_cleanupGX();
}
virtual void execute(JPABaseEmitter*);
virtual void setup(JPABaseEmitter*, cXyz const*, csXyz const*, s8);
};