d_drawlist work

This commit is contained in:
Jasper St. Pierre
2023-10-15 16:41:19 -07:00
parent bc7835f6cf
commit c4aef79f3f
12 changed files with 399 additions and 290 deletions
+4 -2
View File
@@ -31,6 +31,7 @@ public:
};
J3DDrawBuffer() { initialize(); }
J3DDrawBuffer(u32 size) { initialize(); allocBuffer(size); }
~J3DDrawBuffer();
void initialize();
J3DError allocBuffer(u32);
@@ -49,8 +50,9 @@ public:
u32 getEntryTableSize() { return mBufSize; }
inline void calcZRatio();
void setNonSort() { mSortType = 5; }
void setZSort() { mSortType = 2; }
void setNonSort() { mSortType = (u32)SORT_NON; }
void setZSort() { mSortType = (u32)SORT_Z; }
void setInvalidSort() { mSortType = (u32)SORT_INVALID; }
void setZMtx(MtxP mtx) { mpZMtx = mtx; }
void setCallBackPacket(J3DCallBackPacket* pPacket);
+2
View File
@@ -221,6 +221,8 @@ public:
class J3DCallBackPacket : public J3DPacket {
public:
J3DCallBackPacket()
: mpCallBack(NULL) {}
virtual ~J3DCallBackPacket() {}
virtual void draw();