Decompile room0f15e85c

This commit is contained in:
Ryan Dwyer
2022-04-27 21:17:20 +10:00
parent aad2fc47d9
commit 23f8ddd5d1
4 changed files with 88 additions and 199 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ void roomUnload(s32 room);
void bgUnloadAllRooms(void);
void bgGarbageCollectRooms(s32 bytesneeded, bool desparate);
void bgTickRooms(void);
Gfx *func0f15e85c(Gfx *gdl, s32 roomnum, struct roomgfxdata18 *arg2, bool arg3);
Gfx *room0f15e85c(Gfx *gdl, s32 roomnum, struct roomgfxdata18 *arg2, bool arg3);
Gfx *bgRenderRoomOpaque(Gfx *gdl, s32 roomnum);
Gfx *bgRenderRoomAlpha(Gfx *gdl, s32 roomnum);
s32 func0f15ecd8(s32 roomnum, void *allocation, Gfx *gdl, s32 arg3, struct gfxvtx *vtx, s32 arg5);
+1 -1
View File
@@ -9,7 +9,7 @@ u32 func0f13b754(void);
u32 func0f13b7bc(void);
u32 func0f13b8a0(void);
u32 func0f13bb5c(void);
u32 func0f13bc48(void);
void func0f13bc48(s32 roomnum, struct gfxvtx *vertices);
void func0f13c07c(s32 arg0);
void func0f13c2e8(s16 arg0);
void func0f13c370(s16 roomnum);
+8 -3
View File
@@ -3655,10 +3655,15 @@ struct roomgfxdata18 {
u8 type;
struct roomgfxdata18 *next;
union {
Gfx *gdl; // type 0
struct roomgfxdata18 *child; // type 1
struct { // type 0
Gfx *gdl;
struct gfxvtx *vertices;
};
struct { // type 1
struct roomgfxdata18 *child;
struct coord *unk0c; // pointer to 2 coords at least
};
};
struct gfxvtx *vertices;
u32 *colours;
};