(wip) some doc on room draw2

This commit is contained in:
Dragorn421
2022-06-16 10:19:15 +02:00
parent 030594a457
commit 72c31f9bcd
3 changed files with 56 additions and 48 deletions
+4
View File
@@ -101,6 +101,10 @@
#define R_MAGIC_FILL_X XREG(51)
#define R_ENV_LIGHT1_DIR(i) cREG(3 + i)
#define R_ENV_LIGHT2_DIR(i) cREG(6 + i)
#define R_MESH2_DEBUG_MODE iREG(86)
#define R_MESH2_NUM_ALL_ENTRIES iREG(87)
#define R_MESH2_NUM_DRAWN_ENTRIES iREG(88)
#define R_MESH2_DEBUG_DRAW_TARGET iREG(89)
#define R_B_LABEL_DD WREG(0)
#define R_OW_MINIMAP_X WREG(29)
#define R_OW_MINIMAP_Y WREG(30)
+3 -1
View File
@@ -129,11 +129,13 @@ typedef struct {
typedef struct {
/* 0x00 */ Vec3s pos;
/* 0x06 */ s16 unk_06;
/* 0x06 */ s16 radius;
/* 0x08 */ Gfx* opa;
/* 0x0C */ Gfx* xlu;
} MeshHeader2Entry; // size = 0x10
#define MESH_HEADER2_MAX_ENTRIES 64
typedef struct {
/* 0x00 */ MeshHeaderBase base;
/* 0x01 */ u8 numEntries;