summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-08-30 14:22:17 -0700
committerGitHub <noreply@github.com>2022-08-30 15:22:17 -0600
commitf8979749e3ef8e8cacf2ea8f474c7f23fc5cb6b3 (patch)
tree69659df2105266e9b26a4d50b9a2d610b3e437a2 /include/JSystem/J3DGraphBase
parentbc30d007e11458a198c5725626a10bb06a5da536 (diff)
j2d / map_path work, d_drawlist / d_attention cleanup (#208)
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
Diffstat (limited to 'include/JSystem/J3DGraphBase')
-rw-r--r--include/JSystem/J3DGraphBase/J3DDrawBuffer.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DDrawBuffer.h b/include/JSystem/J3DGraphBase/J3DDrawBuffer.h
index 86d0af9720..38cc0e08c2 100644
--- a/include/JSystem/J3DGraphBase/J3DDrawBuffer.h
+++ b/include/JSystem/J3DGraphBase/J3DDrawBuffer.h
@@ -32,17 +32,19 @@ public:
void drawTail() const;
inline void calcZRatio();
+ void setNonSort() { mSortType = 5; }
+ void setZSort() { mSortType = 2; }
public:
- J3DPacket** mpBuf;
- u32 mBufSize;
- u32 mDrawType;
- u32 mSortType;
- float mZNear;
- float mZFar;
- float mZRatio;
- Mtx* mpZMtx;
- J3DPacket* mpCallBackPacket;
+ /* 0x00 */ J3DPacket** mpBuf;
+ /* 0x04 */ u32 mBufSize;
+ /* 0x08 */ u32 mDrawType;
+ /* 0x0C */ u32 mSortType;
+ /* 0x10 */ f32 mZNear;
+ /* 0x14 */ f32 mZFar;
+ /* 0x18 */ f32 mZRatio;
+ /* 0x1C */ Mtx* mpZMtx;
+ /* 0x20 */ J3DPacket* mpCallBackPacket;
static u8 sortFuncTable[72];
static u8 drawFuncTable[24];