Decompile mtx00016140

This commit is contained in:
Ryan Dwyer
2021-11-05 23:17:11 +10:00
parent 19862734c7
commit 2d542c2eb0
9 changed files with 57 additions and 79 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ u32 *setupGetPtrToCommandByIndex(s32 cmdindex);
s32 tagGetCommandIndex(struct tag *tag);
u32 setupGetCommandIndexByProp(struct prop *prop);
bool modelLoad(s32 propnum);
bool func0f09220c(struct defaultobj *obj, struct coord *pos, f32 *realrot, struct coord *arg3, struct coord *arg4);
bool func0f09220c(struct defaultobj *obj, struct coord *pos, f32 realrot[3][3], struct coord *arg3, struct coord *arg4);
bool func0f092304(struct defaultobj *obj, struct coord *arg1, struct coord *arg2);
void func0f09233c(struct defaultobj *obj, struct coord *pos, f32 *realrot, s16 *rooms);
void func0f09233c(struct defaultobj *obj, struct coord *pos, f32 realrot[3][3], s16 *rooms);
void func0f0923d4(struct defaultobj *obj);
struct defaultobj *setupCommandGetObject(u32 cmdindex);
u32 func0f092484(void);
+8 -8
View File
@@ -43,12 +43,12 @@ u32 func0f06683c(void);
u32 func0f06686c(void);
u32 func0f06689c(void);
f32 func0f0668cc(struct modelrodata_bbox *bbox, Mtxf *matrix);
f32 func0f0668fc(struct modelrodata_bbox *bbox, f32 *realrot);
f32 func0f06692c(struct modelrodata_bbox *bbox, f32 *realrot);
f32 func0f06695c(struct modelrodata_bbox *bbox, f32 *realrot);
f32 func0f06698c(struct modelrodata_bbox *bbox, f32 *realrot);
f32 func0f0669bc(struct modelrodata_bbox *bbox, f32 *realrot);
f32 func0f0669ec(struct modelrodata_bbox *bbox, f32 *realrot);
f32 func0f0668fc(struct modelrodata_bbox *bbox, f32 realrot[3][3]);
f32 func0f06692c(struct modelrodata_bbox *bbox, f32 realrot[3][3]);
f32 func0f06695c(struct modelrodata_bbox *bbox, f32 realrot[3][3]);
f32 func0f06698c(struct modelrodata_bbox *bbox, f32 realrot[3][3]);
f32 func0f0669bc(struct modelrodata_bbox *bbox, f32 realrot[3][3]);
f32 func0f0669ec(struct modelrodata_bbox *bbox, f32 realrot[3][3]);
f32 func0f066a1c(struct modelrodata_bbox *bbox, f32 arg1, f32 arg2, f32 arg3);
f32 func0f066abc(struct modelrodata_bbox *bbox, f32 arg1, f32 arg2, f32 arg3);
u32 func0f066b5c(void);
@@ -90,7 +90,7 @@ void func0f069144(struct prop *prop, u8 *nextcol, u16 floorcol);
void func0f069630(struct prop *prop, u8 *nextcol, u16 floorcol);
void colourTween(u8 *col, u8 *nextcol);
void func0f069750(s32 *arg0, s32 arg1, f32 *arg2);
void func0f069850(struct defaultobj *obj, struct coord *pos, f32 *realrot, struct tiletype3 *geo);
void func0f069850(struct defaultobj *obj, struct coord *pos, f32 realrot[3][3], struct tiletype3 *geo);
void func0f069b4c(struct defaultobj *obj);
void func0f069c1c(struct defaultobj *obj);
void func0f069c70(struct defaultobj *obj, bool arg1, bool arg2);
@@ -145,7 +145,7 @@ f32 liftGetY(struct liftobj *lift);
void func0f070f08(struct liftobj *lift, bool arg0);
void liftGoToStop(struct liftobj *lift, s32 stopnum);
f32 objGetHov04(struct defaultobj *obj);
void hovUpdateGround(struct defaultobj *obj, struct hov *hov, struct coord *pos, s16 *rooms, f32 *matrix);
void hovUpdateGround(struct defaultobj *obj, struct hov *hov, struct coord *pos, s16 *rooms, f32 matrix[3][3]);
void func0f0714b8(struct defaultobj *obj, struct hov *hov);
s32 objIsHoverpropOrBike(struct defaultobj *obj);
f32 hoverpropGetTurnAngle(struct defaultobj *obj);
+7 -7
View File
@@ -13,10 +13,10 @@ void mtx00015b64(Mtxf *arg0, struct coord *coord);
void mtx00015b68(Mtxf *matrix, struct coord *arg1, struct coord *arg2);
void mtx00015be0(Mtxf *matrix1, Mtxf *matrix2);
void mtx00015be4(Mtxf *arg0, Mtxf *arg1, Mtxf *arg2);
void mtx00015cd8(f32 *arg0, f32 *realrot);
void mtx00015cd8(f32 arg0[3][3], f32 arg1[3][3]);
void mtx00015d18(Mtxf *matrix, Mtxf *arg1);
void mtx00015d54(f32 *realrot, Mtxf *matrix);
void mtx00015da0(Mtxf *arg0, f32 *arg1);
void mtx00015d54(f32 realrot[3][3], Mtxf *matrix);
void mtx00015da0(Mtxf *arg0, f32 arg1[3][3]);
void mtx00015dd4(struct coord *pos, Mtxf *matrix);
void mtx00015df0(f32 arg0, Mtxf *matrix);
void mtx00015e24(f32 mult, f32 *matrix);
@@ -29,10 +29,10 @@ void mtx00015f4c(f32 scale, Mtxf *arg1);
void mtx00015f88(f32 arg0, Mtxf *arg1);
u32 mtxGetObfuscatedRomBase(void);
void mtx00016054(Mtxf *matrix, Mtxf *arg1);
void mtx00016110(f32 *matrix1, f32 *matrix2);
void mtx00016140(f32 *realrot, f32 *arg1, f32 *arg2);
void mtx000161b0(f32 *matrix, f32 src[3], f32 dest[3]);
void mtx00016208(f32 *matrix, struct coord *coord);
void mtx00016110(f32 mtx1[3][3], f32 mtx2[3][3]);
void mtx00016140(f32 mtx1[3][3], f32 mtx2[3][3], f32 dst[3][3]);
void mtx000161b0(f32 arg0[3][3], f32 src[3], f32 dest[3]);
void mtx00016208(f32 mtx[3][3], struct coord *coord);
void mtx00016248(struct coord *coord, f32 angle, Mtxf *matrix);
void mtx000162e8(f32 angle, Mtxf *matrix);
void mtx00016374(f32 angle, Mtxf *matrix);
+1 -1
View File
@@ -1616,7 +1616,7 @@ struct defaultobj {
/*0x10*/ u32 flags3;
/*0x14*/ struct prop *prop;
/*0x18*/ struct model *model;
/*0x1c*/ f32 realrot[9];
/*0x1c*/ f32 realrot[3][3];
/*0x40*/ u32 hidden;
union {
/*0x44*/ struct tiletype1 *geo1;