summaryrefslogtreecommitdiff
path: root/include/common_structs.h
diff options
context:
space:
mode:
authorTyler McGavran <tyler.taggerung@gmail.com>2022-10-01 00:48:59 -0400
committerGitHub <noreply@github.com>2022-09-30 22:48:59 -0600
commitb7e7b34998c13eec3d61b8aa4afdacf9bc25edfc (patch)
treedd0c30fe170c0bec668b391e517b85f270f20446 /include/common_structs.h
parent82b53f59283621618b3adc27a21e9efe1c8d9eff (diff)
A bunch of unrelated, assorted changes (#263)
Couple matches functions, an update to a struct, a bunch of header files adjustments, and some mips_to_c regenerations Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Diffstat (limited to 'include/common_structs.h')
-rw-r--r--include/common_structs.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/common_structs.h b/include/common_structs.h
index e7c6b3dcc..c278d5967 100644
--- a/include/common_structs.h
+++ b/include/common_structs.h
@@ -191,9 +191,7 @@ typedef struct {
} mk64_surface_map_ram; // size = 0x2C
typedef struct {
- /* 0x00 */ f32 cornerX;
- /* 0x04 */ f32 cornerY;
- /* 0x08 */ f32 cornerZ;
+ /* 0x00 */ Vec3f cornerPos;
// Type of surface the corner is above
/* 0x0C */ u8 surfaceType;
// Close to being a copy of the top byte of the surface_map "flag" member
@@ -201,7 +199,7 @@ typedef struct {
// Don't know if "tile" is right the right term
// D_8015F580 is a pointer to an array of "tile" structs. This is an index to that array
/* 0x0E */ u16 surfaceMapIndex;
- // cornerX/Y/Z place the corner "in the air" as it were, this member indicates the Y position of the corner's "on the ground" sibling
+ // cornerPos places the corner "in the air" as it were, this member indicates the Y position of the corner's "on the ground" sibling
// On flat ground this value should be cornerY - gKartBoundingBoxTable[characterId]
/* 0x10 */ f32 cornerGroundY;
// Something lighting related. 1 when in a shaded region, 2 when in a tree's shadow
@@ -274,7 +272,14 @@ typedef struct {
/* 0x00C6 */ s16 unk_0C6;
/* 0x00C8 */ s16 unk_0C8;
/* 0x00CA */ s16 unk_0CA;
- /* 0x00CC */ char unk_0CC[0x10];
+ /* 0x00CC */ s16 unk_0CC;
+ /* 0x00CE */ s16 unk_0CE;
+ /* 0x00D0 */ s16 unk_0D0;
+ /* 0x00D2 */ s16 unk_0D2;
+ /* 0x00D4 */ s16 unk_0D4;
+ /* 0x00D6 */ s16 unk_0D6;
+ /* 0x00D8 */ s16 unk_0D8;
+ /* 0x00DA */ s16 unk_0DA;
/* 0x00DC */ s16 boostTimer;
/* 0x00DE */ u16 unk_0DE;
/* 0x00E0 */ s16 unk_0E0;