Switch to Aurora headers for GX/VI

Replace GXSetArray() with GXSETARRAY() taking in size everywhere

Fix a ton of structs/enums being referred to with underscore name.
This commit is contained in:
PJB3005
2026-03-02 01:21:54 +01:00
parent 860e29b265
commit 3a0b45c508
74 changed files with 176 additions and 190 deletions
+2 -2
View File
@@ -548,8 +548,8 @@ public:
class mDoExt_3DlineMat0_c : public mDoExt_3DlineMat_c {
public:
int init(u16, u16, int);
void update(int, f32, _GXColor&, u16, dKy_tevstr_c*);
void update(int, _GXColor&, dKy_tevstr_c*);
void update(int, f32, GXColor&, u16, dKy_tevstr_c*);
void update(int, GXColor&, dKy_tevstr_c*);
virtual int getMaterialID() { return 0; }
virtual void setMaterial();
+4 -4
View File
@@ -76,11 +76,11 @@ public:
static void create();
static void beginRender();
static void fadeOut(f32);
static void fadeOut(f32, _GXColor&);
static void fadeIn(f32 fadeSpeed, _GXColor& fadeColor) {
static void fadeOut(f32, GXColor&);
static void fadeIn(f32 fadeSpeed, GXColor& fadeColor) {
fadeOut(-fadeSpeed, fadeColor);
}
static void fadeOut_f(f32, _GXColor&);
static void fadeOut_f(f32, GXColor&);
static void onBlure(const Mtx);
static void onBlure();
static void calcFade();
@@ -106,7 +106,7 @@ public:
static void endFrame() { JFWDisplay::getManager()->endFrame(); }
static void offFade() { mFade = 0; }
static u8 isFade() { return mFade; }
static void fadeIn_f(f32 i_fadeSpeed, _GXColor& i_fadeColor) { fadeOut_f(-i_fadeSpeed, i_fadeColor); }
static void fadeIn_f(f32 i_fadeSpeed, GXColor& i_fadeColor) { fadeOut_f(-i_fadeSpeed, i_fadeColor); }
static void offBlure() { mBlureFlag = false; }
static u8 isBlure() { return mBlureFlag; }
static void setBlureRate(u8 i_rate) { mBlureRate = i_rate; }
+1 -2
View File
@@ -2,9 +2,8 @@
#define M_DO_M_DO_LIB_H
#include "JSystem/J3DU/J3DUClipper.h"
#include <dolphin/gx/GXStruct.h>
typedef struct _GXTexObj GXTexObj;
typedef struct _GXTlutObj GXTlutObj;
typedef struct Vec Vec;
struct ResTIMG;