First CreateDisplayList attempt

This commit is contained in:
robojumper
2025-03-16 22:14:05 +01:00
parent 540abd8cd1
commit fd19da8ac8
4 changed files with 200 additions and 4 deletions
+3 -2
View File
@@ -14,7 +14,7 @@ class DrawGX {
public:
// made up
struct DLData {
void *mpList;
u8 *mpList;
u32 mLen;
};
@@ -83,6 +83,7 @@ public:
static GXTexMapID GetTexMapDefault();
static void LoadTexture(const EGG::ResTIMG *, GXTexMapID);
static void BeginDrawScreen(bool, bool, bool);
static void CreateDisplayList(EGG::Heap*);
static void DrawDL(enum DL, const nw4r::math::MTX34 &, GXColor);
static void SetVtxState(enum VtxType);
static void SetBlendMode(enum Blend);
@@ -93,7 +94,7 @@ public:
static Matrix34f s_cameraMtx;
/* static ?? s_flag */
static u32 s_flag;
static GXColor BLACK;
static GXColor WHITE;
+1 -1
View File
@@ -10,7 +10,7 @@ extern "C" {
#define OS_GQR_TYPE_S8 6
#define OS_GQR_TYPE_S16 7
static void OSInitFastCast(void) {
static inline void OSInitFastCast(void) {
// clang-format off
asm {
li r3, 4