summaryrefslogtreecommitdiff
path: root/include/egg
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-07-27 16:45:04 +0200
committerrobojumper <robojumper@gmail.com>2025-07-27 16:45:04 +0200
commite4e4be4fceb93720fd99d604759cf0e362cc2f12 (patch)
tree30572ef1df20e5521845ce1b2dc6e84e8a6b9518 /include/egg
parent4ec5128eb4f6cdc8985f83f4c8b540115daf47fb (diff)
d_gfx mostly OK
Diffstat (limited to 'include/egg')
-rw-r--r--include/egg/gfx/eggDrawGX.h3
-rw-r--r--include/egg/gfx/eggScreen.h3
-rw-r--r--include/egg/gfx/eggTextureBuffer.h2
3 files changed, 7 insertions, 1 deletions
diff --git a/include/egg/gfx/eggDrawGX.h b/include/egg/gfx/eggDrawGX.h
index 33d5e37a..e7e944af 100644
--- a/include/egg/gfx/eggDrawGX.h
+++ b/include/egg/gfx/eggDrawGX.h
@@ -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) {
diff --git a/include/egg/gfx/eggScreen.h b/include/egg/gfx/eggScreen.h
index e78ba7bf..ec0e8007 100644
--- a/include/egg/gfx/eggScreen.h
+++ b/include/egg/gfx/eggScreen.h
@@ -94,6 +94,9 @@ public:
const Screen *GetParent() const {
return mParent;
}
+ static Screen *GetRoot() {
+ return spRoot;
+ }
void SetParent(const Screen *parent);
void SetUnkFlag8();
diff --git a/include/egg/gfx/eggTextureBuffer.h b/include/egg/gfx/eggTextureBuffer.h
index 3328a4ad..f14ecaf8 100644
--- a/include/egg/gfx/eggTextureBuffer.h
+++ b/include/egg/gfx/eggTextureBuffer.h
@@ -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