d_gfx mostly OK

This commit is contained in:
robojumper
2025-07-27 16:45:04 +02:00
parent 4ec5128eb4
commit e4e4be4fce
24 changed files with 339 additions and 69 deletions
+3
View File
@@ -156,6 +156,9 @@ public:
static void DrawDL16(const nw4r::math::MTX34 &mtx, GXColor clr) {
DrawDL(DL_16, mtx, clr);
}
static void DrawDL17(const nw4r::math::MTX34 &mtx, GXColor clr) {
DrawDL(DL_17, mtx, clr);
}
// TODO MORE
static void SetTevColor(GXTevRegID regId, GXColor tevClr, GXTevKColorID colorId, GXColor tevkClr) {
+3
View File
@@ -94,6 +94,9 @@ public:
const Screen *GetParent() const {
return mParent;
}
static Screen *GetRoot() {
return spRoot;
}
void SetParent(const Screen *parent);
void SetUnkFlag8();
+1 -1
View File
@@ -34,10 +34,10 @@ public:
void alloc(u32 size);
static TextureBuffer *alloc(u16 w, u16 h, GXTexFmt fmt);
void free();
static void setIncludesHeader(bool);
private:
static bool includesHeader();
static void setIncludesHeader(bool);
u32 mSize; // at 0x2C
EBufferState mState; // at 0x30