Decompile func0f1632d4

This commit is contained in:
Ryan Dwyer
2020-09-01 17:08:42 +10:00
parent 2e35b9285b
commit a30aa790dc
5 changed files with 98 additions and 1680 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ bool portalGetNthValueFromEnd(s32 offset);
struct portalcmd *portalCommandsExecute(struct portalcmd *cmd, bool s2);
struct portalcmd *portalCommandsExecuteForCurrentPlayer(struct portalcmd *cmd);
u32 func0f162d9c(void);
void func0f1632d4(s16 arg0, s16 arg1, s32 arg2, struct screenbox *box);
void func0f1632d4(s16 roomnum1, s16 roomnum2, s16 arg2, struct screenbox *box);
u32 func0f163528(void);
u32 func0f163904(void);
u32 func0f16397c(void);
-1
View File
@@ -737,7 +737,6 @@ extern s16 var800a4ce4[2];
extern struct var800a4ce8 *var800a4ce8;
extern struct portalthing *g_PortalThings;
extern struct var800a4cf0 var800a4cf0;
extern u32 var800a4d00;
extern u32 var800a6470;
extern u32 var800a647c;
extern u32 var800a6538;
+24 -14
View File
@@ -3367,17 +3367,24 @@ struct roombitfield {
u8 b : 4;
};
struct screenbox {
s16 xmin;
s16 ymin;
s16 xmax;
s16 ymax;
};
struct room {
/*0x00*/ u16 flags;
/*0x02*/ s16 unk02;
/*0x04*/ u8 unk04;
/*0x05*/ u8 unk05;
/*0x04*/ u8 portalrecursioncount;
/*0x05*/ s8 unk05;
/*0x06*/ u8 unk06;
/*0x07*/ u8 unk07;
/*0x08*/ u32 unk08;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;
/*0x0c*/ u16 unk0c;
/*0x0e*/ s16 unk0e;
/*0x10*/ struct screenbox screenbox;
/*0x18*/ struct coord unk18;
/*0x24*/ struct coord unk24;
/*0x30*/ u32 unk30;
@@ -5911,13 +5918,6 @@ struct portalcmd {
s32 param;
};
struct screenbox {
s16 xmin;
s16 ymin;
s16 xmax;
s16 ymax;
};
struct var800a4640_00 {
u32 unk00;
u32 unk04;
@@ -5937,11 +5937,21 @@ struct zrange {
f32 far;
};
struct var800a4d00 {
/*0x00*/ s16 roomnum;
/*0x02*/ s16 unk02[5]; // also roomnums
/*0x0c*/ s8 unk0c;
/*0x0d*/ s8 unk0d;
/*0x0e*/ s16 unk0e;
/*0x10*/ struct screenbox screenbox;
};
struct var800a4cf0 {
u16 unk00;
u16 unk02;
u16 unk04;
s16 index; // index into unk10
s16 unk04; // also an index into unk10
struct zrange zrange;
struct var800a4d00 unk10[250];
};
struct menuthing {