Attempt to decompile bgChooseXrayVtxColour

This commit is contained in:
Ryan Dwyer
2022-07-13 23:17:15 +10:00
parent eb2cabc146
commit 2ed2324b63
3 changed files with 123 additions and 53 deletions
+3 -3
View File
@@ -8,10 +8,10 @@ void roomUnpauseProps(u32 roomnum, bool tintedglassonly);
void roomSetOnscreen(s32 room, s32 draworder, struct screenbox *arg2);
void func0f158108(s32 roomnum, u8 *arg1, u8 *arg2);
struct var800a4640_00 *func0f158140(s32 roomnum);
Gfx *bg0f158184(Gfx *gdl, struct bgthing *arg1);
Gfx *bg0f158184(Gfx *gdl, struct xraydata *xraydata);
u32 func0f158400(void);
void func0f158884(s32 *arg0, s16 arg1[3], s32 *arg2, struct bgthing *arg3);
Gfx *func0f158d9c(Gfx *gdl, struct bgthing *arg1, s16 arg2[3], s16 arg3[3], s16 arg4[3], s32 arg5, s32 arg6, s32 arg7, s32 arg8, s32 arg9, s32 arg10);
void bgChooseXrayVtxColour(bool *inrange, s16 vertex[3], u32 *colour, struct xraydata *xraydata);
Gfx *func0f158d9c(Gfx *gdl, struct xraydata *xraydata, s16 arg2[3], s16 arg3[3], s16 arg4[3], s32 arg5, s32 arg6, s32 arg7, s32 arg8, s32 arg9, s32 arg10);
Gfx *bg0f1598b4(Gfx *gdl, Gfx *gdl2, struct gfxvtx *vertices, s16 arg3[3]);
Gfx *bgRenderRoomXrayPass(Gfx *gdl, s32 roomnum, struct roomgfxdata18 *arg2, bool recurse, s16 arg4[3]);
Gfx *bgRenderRoomInXray(Gfx *gdl, s32 roomnum);
+1 -1
View File
@@ -6350,7 +6350,7 @@ struct var800a6538 {
f32 unk04;
};
struct bgthing {
struct xraydata {
/*0x000*/ s32 unk000;
/*0x004*/ s32 unk004;
/*0x008*/ s32 unk008;