Decompile portal0f15d10c

This commit is contained in:
Ryan Dwyer
2022-05-07 16:47:32 +10:00
parent 5b22c7c483
commit ca08c2c96a
4 changed files with 129 additions and 270 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ Gfx *currentPlayerScissorWithinViewport(Gfx *gdl, s32 viewleft, s32 viewtop, s32
void func0f15cd28(void);
bool func0f15cd90(u32 room, struct screenbox *arg1);
bool func0f15d08c(struct coord *a, struct coord *b);
bool func0f15d10c(s32 portal, struct screenbox *arg1);
bool portal0f15d10c(s32 portal, struct screenbox *arg1);
Gfx *boxRenderBorder(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2);
bool boxGetIntersection(struct screenbox *a, struct screenbox *b);
void boxExpand(struct screenbox *a, struct screenbox *b);
+1 -1
View File
@@ -4,6 +4,6 @@
#include "data.h"
#include "types.h"
u32 func0f165360(void);
s32 func0f165360(s32 portalnum, s32 *start, struct portalthing2 *things);
#endif
+18 -6
View File
@@ -3645,10 +3645,15 @@ struct roombitfield {
};
struct screenbox {
s16 xmin;
s16 ymin;
s16 xmax;
s16 ymax;
union {
struct {
s16 xmin;
s16 ymin;
s16 xmax;
s16 ymax;
};
s16 array[2][2];
};
};
struct roomgfxdata18 {
@@ -4560,8 +4565,10 @@ struct portalthing {
s16 unk02;
u16 unk04;
s16 unk06;
u32 unk08;
u32 unk0c;
s16 xmin;
s16 ymin;
s16 xmax;
s16 ymax;
};
struct var800a4ccc { // related to portals
@@ -6821,4 +6828,9 @@ struct var8009dd10 {
void *rwdata;
};
struct portalthing2 {
struct coord coord;
u32 unk0c;
};
#endif