ovl_Eff_Dust OK (#136)

* some easy functions

Signed-off-by: Angie <angheloalf95@gmail.com>

* init is cursed

Signed-off-by: Angie <angheloalf95@gmail.com>

* func_80919230 is weird

Signed-off-by: Angie <angheloalf95@gmail.com>

* I'm dumb

Signed-off-by: Angie <angheloalf95@gmail.com>

* func_80919768 nonmatching

Signed-off-by: Angie <angheloalf95@gmail.com>

* everything is wrong

Signed-off-by: Angie <angheloalf95@gmail.com>

* This thing still doesn't want to match

Signed-off-by: Angie <angheloalf95@gmail.com>

* improved a bit

Signed-off-by: Angie <angheloalf95@gmail.com>

* a bit of renaming, but it still doesn't work

Signed-off-by: Angie <angheloalf95@gmail.com>

* almost matching

* func_80919768 ok

* func_809199FC ok

* init was dumb

* add enum and other minor changes

* run format
This commit is contained in:
Anghelo Carvajal
2021-05-18 23:01:48 -04:00
committed by GitHub
parent 4d6d9c27a4
commit f3dc829456
8 changed files with 385 additions and 21 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ typedef long int Mtx_t[4][4];
typedef union {
Mtx_t m;
long long int forc_structure_alignment;
} Mtx;
} Mtx; // size = 0x40
typedef float MtxF_t[4][4];
typedef union {
@@ -38,6 +38,6 @@ typedef union {
zx, zy, zz, zw,
wx, wy, wz, ww;
};
} MtxF;
} MtxF; // size = 0x40
#endif
+1
View File
@@ -3391,6 +3391,7 @@ void SysMatrix_RotateAndTranslateState(Vec3f* translation, Vec3s* rotation);
void SysMatrix_SetStateRotationAndTranslation(f32 x, f32 y, f32 z, Vec3s* rotation);
RSPMatrix* SysMatrix_ToRSPMatrix(MtxF* src, RSPMatrix* dst);
RSPMatrix* SysMatrix_GetStateAsRSPMatrix(RSPMatrix* matrix);
Mtx* Matrix_NewMtx(GraphicsContext* gfxCtx);
RSPMatrix* SysMatrix_AppendStateToPolyOpaDisp(GraphicsContext* gCtxt);
void SysMatrix_AppendToPolyOpaDisp(MtxF* ctxt, GraphicsContext* gCtxt);
void SysMatrix_MultiplyVector3fByState(Vec3f* src, Vec3f* dst);
+5 -3
View File
@@ -258,7 +258,9 @@ typedef struct {
/* 0xAE3 */ s8 unkAE3;
/* 0xAE4 */ UNK_TYPE1 padAE4[0x3];
/* 0xAE7 */ s8 unkAE7;
/* 0xAE8 */ UNK_TYPE1 padAE8[0x40];
/* 0xAE8 */ UNK_TYPE1 padAE8[0x20];
/* 0xB08 */ f32 unkB08;
/* 0xB0C */ UNK_TYPE1 padB0C[0x1C];
/* 0xB28 */ s16 unkB28;
/* 0xB2A */ UNK_TYPE1 padB2A[0x56];
/* 0xB80 */ f32 unk_B80;
@@ -267,9 +269,9 @@ typedef struct {
/* 0xB9C */ Vec3f unkB9C;
/* 0xBA8 */ UNK_TYPE1 padBA8[0x44];
/* 0xBEC */ Vec3f bodyPartsPos[18];
/* 0xCC4 */ UNK_TYPE1 padCC4[0x40];
/* 0xCC4 */ MtxF mf_CC4;
/* 0xD04 */ MtxF unkD04;
/* 0xD44 */ UNK_TYPE1 padD08[0x34];
/* 0xD44 */ UNK_TYPE1 padD44[0x34];
} ActorPlayer; // size = 0xD78
typedef enum {