Decompile func0f0037ac

This commit is contained in:
Ryan Dwyer
2022-06-12 18:14:28 +10:00
parent 4ddbe78731
commit 2fd2b77d0d
6 changed files with 305 additions and 1675 deletions
+1
View File
@@ -3463,6 +3463,7 @@
#define ROOMFLAG_RENDERALWAYS 0x0080
#define ROOMFLAG_DIRTY 0x0100
#define ROOMFLAG_0200 0x0200
#define ROOMFLAG_0400 0x0400
#define ROOMFLAG_0800 0x0800
#define ROOMFLAG_1000 0x1000
#define ROOMFLAG_LIGHTSOFF 0x2000
+1 -1
View File
@@ -18,6 +18,6 @@ bool func0f17776c(struct coord *a, struct coord *b, f32 mult, struct coord *out)
void utilsReset(void);
s32 func0f177a54(void *arg0, s32 arg1, void *arg2, s32 arg3);
u32 func0f177bb4(void);
s32 func0f177c8c(u8 *arg0, s32 *arg1, s32 *arg2);
s32 func0f177c8c(u8 *arg0, s32 *arg1, s32 *roomnum);
#endif
+6 -10
View File
@@ -3517,11 +3517,6 @@ struct spark {
s32 ttl; // time to live (number of ticks remaining)
};
struct roombitfield {
u8 prevop : 4;
u8 b : 4;
};
struct screenbox {
union {
struct {
@@ -3599,10 +3594,11 @@ struct room {
/*0x4b*/ u8 unk4b;
/*0x4c*/ u8 unk4c;
/*0x4d*/ u8 unk4d;
/*0x4e*/ struct roombitfield bitfield;
/*0x4e*/ u8 lightop : 4;
/*0x4e*/ u8 unk4e_04 : 4;
/*0x50*/ s16 brightness;
/*0x52*/ s16 unk52;
/*0x54*/ u16 unk54;
/*0x54*/ s16 unk54;
/*0x56*/ u16 unk56;
/*0x58*/ struct colour *colours;
/*0x5c*/ f32 unk5c;
@@ -3611,9 +3607,9 @@ struct room {
/*0x68*/ f32 unk68;
/*0x6c*/ f32 unk6c;
/*0x70*/ f32 unk70;
/*0x74*/ u32 unk74;
/*0x78*/ u32 unk78;
/*0x7c*/ u32 unk7c;
/*0x74*/ f32 unk74;
/*0x78*/ f32 unk78;
/*0x7c*/ f32 unk7c;
/*0x80*/ s32 gfxdatalen; // when inflated
/*0x84*/ struct wallhit *wallhits1;
/*0x88*/ struct wallhit *wallhits2;