diff options
| author | Ryan Myers <ryan.p.myers@gmail.com> | 2024-01-05 10:53:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-05 09:53:32 -0600 |
| commit | ec3bc32c5cc3d36b242f42ffb8514c32a87d153b (patch) | |
| tree | 531ab9dda2f11e417897c6c2619ebe7f97997332 /include | |
| parent | fb7cf7ce657df62e3bf83dd3fbfd2f8a04556ba9 (diff) | |
sf_77e40 - Match 30 more funcs (#69)
* Match func_8007C9E0
* Match func_8007CAF0
* Match func_8007CC00
* Match func_8007CCBC
* Match func_8007CD7C
* Match func_8007CEBC
* Match func_8007CF30
* Match 4 more funcs
* Match 5 more funcs
* Match func_8007D2F4
* Match func_8007D55C
* func_8007D748
* Match several more
* Match func_8007DB70
* Match func_8007DED4
* Match func_8007E014
* Match another handful
* obj2F4->unk_0E8 -> obj2F4->vel
* Object_8C.unk_54 -> Object_8C.vel
* obj80->unk_64 -> obj80->vel
* obj408->unk_06C -> obj408->vel
* Name gravity
* obj8C names
* Run make format
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.h | 11 | ||||
| -rw-r--r-- | include/hud.h | 2 | ||||
| -rw-r--r-- | include/sf64math.h | 2 | ||||
| -rw-r--r-- | include/sf64object.h | 12 | ||||
| -rw-r--r-- | include/variables.h | 5 |
5 files changed, 19 insertions, 13 deletions
diff --git a/include/functions.h b/include/functions.h index 03285825..3d2dbeb3 100644 --- a/include/functions.h +++ b/include/functions.h @@ -377,12 +377,13 @@ void func_8007C8C4(Object_8C*); void func_8007C85C(f32 posX, f32 posY, f32 posZ, f32 arg3); void func_8007C9E0(Object_8C*); void func_8007CAF0(Object_8C*); -void func_8007D074(f32, f32, f32, f32); -void func_8007D0E0(f32, f32, f32, f32); -void func_8007D10C(f32, f32, f32, f32); -void func_8007D1E0(f32, f32, f32, f32); +void func_8007CF30(f32 posX, f32 posY, f32 posZ, f32 scale2); +void func_8007D074(f32 posX, f32 posY, f32 posZ, f32 scale2); +void func_8007D0E0(f32 posX, f32 posY, f32 posZ, f32 scale2); +void func_8007D10C(f32 posX, f32 posY, f32 posZ, f32 scale2); +void func_8007D1E0(f32 posX, f32 posY, f32 posZ, f32 scale2); +void func_8007D24C(f32 posX, f32 posY, f32 posZ, f32 scale2); void func_8007D2C8(f32, f32, f32, f32); -void func_8007D24C(f32, f32, f32, f32); void func_8007D2F4(Object_8C*); void func_8007D55C(Object_8C*); void func_8007D748(Object_8C*); diff --git a/include/hud.h b/include/hud.h index 0a42a869..852b39f4 100644 --- a/include/hud.h +++ b/include/hud.h @@ -54,7 +54,7 @@ extern s32 D_1011D90[]; extern s32 D_1011E60[]; extern s32 D_1013580[]; extern s32 D_1013700[]; -extern s32 D_20031B0[]; +extern Gfx D_20031B0[]; extern Gfx D_2010A30[]; extern u16 D_3000B20[]; extern u16 D_30013E0[]; diff --git a/include/sf64math.h b/include/sf64math.h index 3e0babeb..be59d173 100644 --- a/include/sf64math.h +++ b/include/sf64math.h @@ -63,7 +63,7 @@ void Matrix_Push(Matrix** mtxStack); void Matrix_Pop(Matrix** mtxStack); void Matrix_Mult(Matrix*, Matrix*, u8); void Matrix_Translate(Matrix*, f32, f32, f32, u8); -void Matrix_Scale(Matrix*, f32, f32, f32, u8); +void Matrix_Scale(Matrix* mtx, f32 xScale, f32 yScale, f32 zScale, u8 mode); void Matrix_RotateX(Matrix*, f32, u8); void Matrix_RotateY(Matrix*, f32, u8); void Matrix_RotateZ(Matrix*, f32, u8); diff --git a/include/sf64object.h b/include/sf64object.h index cd868813..c3e5a8f7 100644 --- a/include/sf64object.h +++ b/include/sf64object.h @@ -148,7 +148,7 @@ typedef struct { /* 0x54 */ s32 unk_54; /* 0x58 */ char pad58[8]; /* 0x60 */ f32 unk_60; - /* 0x64 */ Vec3f unk_64; + /* 0x64 */ Vec3f vel; /* 0x70 */ Vec3f sfxPos; /* 0x7C */ char pad7C[4]; } Object_80; // size = 0x80 @@ -192,7 +192,7 @@ typedef struct { /* 0x4E */ s16 unk_4E; /* 0x50 */ u16 timer_50; /* 0x52 */ char pad52[0x2]; - /* 0x54 */ Vec3f unk_54; + /* 0x54 */ Vec3f vel; /* 0x60 */ Vec3f unk_60; /* 0x6C */ f32 scale1; /* 0x70 */ f32 scale2; @@ -223,9 +223,9 @@ typedef struct { /* 0x064 */ s16 unk_064; /* 0x066 */ s16 unk_066; /* 0x068 */ f32 unk_068; - /* 0x06C */ Vec3f unk_06C; + /* 0x06C */ Vec3f vel; /* 0x078 */ char pad78[0xC]; - /* 0x084 */ f32 unk_084; + /* 0x084 */ f32 gravity; /* 0x088 */ s16 unk_088; /* 0x08A */ s16 unk_08A; /* 0x08C */ char pad8C[6]; @@ -320,10 +320,10 @@ typedef struct { /* 0x0D8 */ Vec3f unk_0D8; /* 0x0E4 */ s16 unk_0E4; /* 0x0E6 */ s16 unk_0E6; - /* 0x0E8 */ Vec3f unk_0E8; + /* 0x0E8 */ Vec3f vel; /* 0x0F4 */ Vec3f unk_0F4; /* 0x100 */ Vec3f sfxPos; - /* 0x10C */ f32 unk_10C; + /* 0x10C */ f32 gravity; /* 0x110 */ f32 scale; /* 0x114 */ f32 unk_114; /* 0x118 */ f32 unk_118; diff --git a/include/variables.h b/include/variables.h index 795b8302..b3e3c7f7 100644 --- a/include/variables.h +++ b/include/variables.h @@ -216,6 +216,11 @@ extern s32 D_800D173C[]; extern Gfx* D_800D178C[6]; extern s32 D_800D18F0[]; //[6][4]? extern s32 D_800D1950[]; +extern Gfx* D_800D17A4[]; +extern f32 D_800D17F8[]; +extern u8 D_800D184C[][4]; +extern Gfx* D_800D18A0[]; +extern Gfx D_6004900[]; // sf_hud extern s16 D_800D1970; |
