mDoGph_Painter fixed

This commit is contained in:
LagoLunatic
2024-01-07 03:29:50 -05:00
parent 6ec8c70295
commit f683c2bfc4
4 changed files with 50 additions and 47 deletions
+8 -4
View File
@@ -46,15 +46,19 @@ public:
void draw() const;
void drawHead() const;
void drawTail() const;
void setCallBackPacket(J3DCallBackPacket* pPacket);
u32 getEntryTableSize() { return mBufSize; }
inline void calcZRatio();
J3DPacket* getEntryPacket(u16 i) { return mpBuf[i]; }
u32 getEntryTableSize() { return mBufSize; } // Unused in TWW, but exists in TP
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);
void calcZRatio() {
mZRatio = (mZFar - mZNear) / (f32)mBufSize;
}
void getSortMode() {}
public:
/* 0x00 */ J3DPacket** mpBuf;
+14 -3
View File
@@ -14,14 +14,13 @@ public:
static void* alloc(u32, int);
static void free();
static void fadeOut(f32, GXColor&);
static void onBlure();
static void onBlure(const Mtx);
static void onBlure(); // weak?
static void onBlure(const Mtx); // weak?
static void fadeOut(f32);
static void calcFade();
static void onMonotone();
static void offMonotone();
static void calcMonotone();
static void setFrameRate(u16);
static void getFrameRate();
static void setFader(JUTFader* fader) {
@@ -54,10 +53,22 @@ public:
static f32 getFadeRate() { return mFadeRate; }
static GXColor& getFadeColor() { return mFadeColor; }
static GXColor& getBackColor() { return mBackColor; }
static void beginRender() { JFWDisplay::getManager()->beginRender(); }
static void endRender() { JFWDisplay::getManager()->endRender(); }
static GXTexObj* getZbufferTexObj() { return &mZbufferTexObj; }
static GXTexObj* getFrameBufferTexObj() { return &mFrameBufferTexObj; }
static void alloc32(u32) {}
static void fadeIn(f32, _GXColor&) {}
static void getFrameBufferMemory() {}
static void getFrameBufferSize() {}
static void getMonotoneRate() {}
static void setBlureMtx(const Mtx) {}
static void setBlureRate(u8) {}
static void setFrameRate(u16) {}
static void setMonotoneRate(s16) {}
static void setMonotoneRateSpeed(s16) {}
static GXTexObj mFrameBufferTexObj;
static GXTexObj mZbufferTexObj;
static Mtx mBlureMtx;