Rework ingame hud struct (#442)

* name some camera things

* yea there

* lots of audio

* match a func

* better

* x

* egg

* all but one func in audio.c nopw

* audio looks good for now

* Update audio.c

* correct taj thing

* fix warnings

* Update audiosfx.h

* Update README.md

* preliminary names

* fix warnings

* fix an oopsie

* checkpoint

* oh my god

* Update README.md

* run clang tidy

* initial hud asset ids
This commit is contained in:
Fazana
2024-04-10 19:53:55 +01:00
committed by GitHub
parent b70c0aaf04
commit 173f919d74
25 changed files with 1191 additions and 1327 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ typedef struct LevelObjectEntry_AudioLine {
/* 0x08 */ u8 unk8;
/* 0x09 */ u8 unk9;
/* 0x0A */ u16 soundID;
/* 0x0C */ u8 unkC;
/* 0x0C */ u8 lineID;
/* 0x0D */ u8 unkD;
/* 0x0E */ u16 unkE;
/* 0x10 */ u8 unk10;
@@ -214,7 +214,7 @@ typedef struct LevelObjectEntry_SkyControl {
typedef struct LevelObjectEntry_AudioReverb {
/* 0x00 */ LevelObjectEntryCommon common;
/* 0x08 */ u8 unk8;
/* 0x09 */ u8 unk9;
/* 0x09 */ u8 lineID;
/* 0x0A */ u8 unkA;
} LevelObjectEntry_AudioReverb;
+3 -3
View File
@@ -1129,7 +1129,7 @@ typedef struct Object_AudioLine {
} unk_struct;
s32 unk8_word;
} unk_union;
/* 0x0C */ u8 unkC;
/* 0x0C */ u8 lineID;
/* 0x0D */ u8 unkD;
/* 0x0E */ u8 unkE;
/* 0x0F */ u8 unkF;
@@ -1141,7 +1141,7 @@ typedef struct Object_AudioLine {
typedef struct Object_AudioReverb {
/* 0x0 */ u16 pad0;
/* 0x2 */ s16 unk2;
/* 0x4 */ u8 unk4;
/* 0x4 */ u8 lineID;
/* 0x5 */ u8 unk5;
} Object_AudioReverb;
@@ -1216,7 +1216,7 @@ typedef struct Object_Racer {
/* 0x02A */ u16 unk2A;
/* 0x02C */ f32 velocity;
/* 0x030 */ f32 lateral_velocity;
/* 0x034 */ s32 unk34; // I think this is the engine pitch for the hovercraft and plane, but I cannot yet confirm.
/* 0x034 */ f32 unk34; // Vehicle pitch.
/* 0x038 */ f32 ox1;
/* 0x03C */ f32 oy1;
/* 0x040 */ f32 oz1;