diff options
| author | Tyler McGavran <tyler.taggerung@gmail.com> | 2022-08-25 20:57:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-25 17:57:58 -0700 |
| commit | 1897d232a632e379caeeee5c651281617980ab8b (patch) | |
| tree | 754a698004d816aba55a2f5885a28f15c8ad407b /include/common_structs.h | |
| parent | dfd54d9a102b971e027058ce163e0f9cd84f5b44 (diff) | |
Add lots of headers (#252)
* Add a lot of header files
Did my best to move all relevant function prototypes and external
variable declarations into the header files too.
Matched a few functions in the process
* Updated progress.py
Some of the listed files/folders have been deleted/renamed,
so I reflected those changes in progress.py
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Diffstat (limited to 'include/common_structs.h')
| -rw-r--r-- | include/common_structs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/common_structs.h b/include/common_structs.h index 3c8354983..af1d023e2 100644 --- a/include/common_structs.h +++ b/include/common_structs.h @@ -9,6 +9,9 @@ typedef s16 Vec3s[3]; typedef u16 Vec3su[3]; typedef s16 Vec4s[4]; +typedef f32 Mat3[3][3]; +typedef f32 Mat4[4][4]; + #define COURSE_NULL 0xFF typedef enum { @@ -293,7 +296,7 @@ typedef struct { /* 0x010E */ char unk_10E[0x2]; /* 0x0110 */ UnkActorInner unk_110; /* 0x0150 */ f32 unk_150[9]; - /* 0x0174 */ f32 unk_174[9]; + /* 0x0174 */ Mat3 unk_174; /* 0x0198 */ KartBoundingBoxCorner boundingBoxCorners[4]; /* 0x01F8 */ f32 unk_1F8; /* 0x01FC */ f32 unk_1FC; |
