summaryrefslogtreecommitdiff
path: root/include/egg/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'include/egg/gfx')
-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