Decompile platformGetRidingProps

This commit is contained in:
Ryan Dwyer
2021-05-15 14:11:10 +10:00
parent ec868a3e8c
commit f13283dd87
3 changed files with 80 additions and 215 deletions
+2 -2
View File
@@ -33,13 +33,13 @@ void tileGetFloorCol(struct tile *tile, u16 *floorcol);
void tileGetFloorType(struct tile *tile, u8 *floortype);
u32 func00025c74(void);
u32 func00025f90(void);
u32 func000260cc(void);
f32 cdFindGroundInTileType1(struct tiletype1 *tile, f32 x, f32 z);
bool cdIs2dPointInTileType0(struct tiletype0 *tile, f32 x, f32 z);
bool cdIs2dPointInTileType1(struct tiletype1 *tile, f32 x, f32 z);
bool cdIs2dPointInTileType2(struct tiletype2 *tile, f32 x, f32 z);
u32 func00026654(void);
u32 func000266a4(void);
void platformGetRidingProps(struct prop *platform, s16 *propnums, u32 len);
void platformGetRidingProps(struct prop *platform, s16 *propnums, s32 len);
bool func00026a04(struct coord *pos, u8 *start, u8 *end, bool arg3, s32 room, struct tile **tile, s32 *arg6, f32 *arg7, bool arg8);
void func00026e7c(struct coord *pos, s16 *rooms, u16 arg2, struct tile **tileptr, s16 *arg4, f32 *arg5, struct prop **arg6, s32 arg7);
bool func0002709c(struct tiletype0 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
+2 -2
View File
@@ -963,7 +963,7 @@ struct tiletype0 {
/*0x0a*/ u8 ymax;
/*0x0b*/ u8 zmax;
/*0x0c*/ u16 floorcol;
/*0x0e*/ s16 vertices[1][3];
/*0x0e*/ s16 vertices[64][3];
};
struct tiletype1 {
@@ -976,7 +976,7 @@ struct tiletype1 {
/*0x0a*/ u8 ymax;
/*0x0b*/ u8 zmax;
/*0x0c*/ u16 floorcol;
/*0x10*/ struct coord vertices[1];
/*0x10*/ struct coord vertices[64];
};
struct tiletype2 {