d_drawlist work

This commit is contained in:
Jasper St. Pierre
2023-10-15 17:05:20 -07:00
parent c4aef79f3f
commit 4df69b4151
4 changed files with 58 additions and 10 deletions
+1
View File
@@ -67,6 +67,7 @@ public:
JSUTree<J2DPane>* getEndChild() { return mPaneTree.getEndChild(); }
const JSUTree<J2DPane>* getPaneTree() { return &mPaneTree; }
u8 getAlpha() const { return mAlpha; }
void setAlpha(u8 alpha) { mAlpha = alpha; }
bool isConnectParent() const { return mIsConnectParent; }
public:
+5
View File
@@ -2,6 +2,7 @@
#define J2DPICTURE_H
#include "JSystem/J2DGraph/J2DPane.h"
#include "JSystem/JUtility/JUTTexture.h"
#include "JSystem/JUtility/TColor.h"
#include "dolphin/gx/GX.h"
@@ -38,6 +39,10 @@ public:
int changeTexture(const char*, u8);
void drawFullSet(f32, f32, f32, f32, J2DBinding, J2DMirror, bool, Mtx*);
void draw(f32, f32, f32, f32, bool, bool, bool);
void draw(f32 x, f32 y, bool, bool, bool) {
if (mNumTexture > 0)
draw(x, y, mpTexture[0]->getWidth(), mpTexture[0]->getHeight(), false, false, false);
}
void drawOut(const JGeometry::TBox2<f32>&, const JGeometry::TBox2<f32>&);
void drawTexCoord(f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, Mtx*);
void setTevMode();