mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
@@ -3,7 +3,7 @@
|
||||
|
||||
/* Size: 8 bytes. Shared across every entry. */
|
||||
typedef struct LevelObjectEntryCommon {
|
||||
u8 object_id; // 9-bit object ID to load (uses size's MSB).
|
||||
u8 objectID; // 9-bit object ID to load (uses size's MSB).
|
||||
u8 size; // 7-bit total entry length (MSB is used in object_id).
|
||||
s16 x, y, z; // Position in level
|
||||
} LevelObjectEntryCommon;
|
||||
|
||||
+3
-3
@@ -312,7 +312,7 @@ enum SoundID {
|
||||
SOUND_VOICE_TT_DRAGON_FOREST,
|
||||
SOUND_VOICE_TT_FUTURE_FUN_LAND,
|
||||
SOUND_VOICE_TT_ICICLE_PYRAMID,
|
||||
SOUND_VOICE_TT_SHIVER_ISLAND,
|
||||
SOUND_VOICE_TT_SHERBET_ISLAND,
|
||||
SOUND_VOICE_TT_SNOWFLAKE_MOUNTAIN,
|
||||
SOUND_VOICE_TT_SMOKEY_CASTLE,
|
||||
SOUND_VOICE_TT_TROPHY_RACE,
|
||||
@@ -331,7 +331,7 @@ enum SoundID {
|
||||
SOUND_TWANG,
|
||||
SOUND_UNK317, // Unsure
|
||||
SOUND_VOICE_TT_POWERUP,
|
||||
SOUND_SPLOINK,
|
||||
SOUND_SPLAT,
|
||||
SOUND_PLOP2,
|
||||
SOUND_VOICE_TT_INTRO, // "Hi there, I'm T.T!"
|
||||
SOUND_VOICE_TT_SEE_YOU, // "See you there"
|
||||
@@ -552,7 +552,7 @@ enum SoundID {
|
||||
SOUND_VOICE_CONKER_NEGATIVE8,
|
||||
SOUND_VOICE_TIMBER_NEGATIVE8,
|
||||
SOUND_VOICE_BANJO_NEGATIVE8,
|
||||
SOUND_VOICE_DRUMSTICK_NEGATIVE8,
|
||||
SOUND_VOICE_DRUMSTICK_NEGATIVE8, // Sounds kind of profane ngl
|
||||
SOUND_VOICE_PIPSY_NEGATIVE8,
|
||||
SOUND_VOICE_TT_NEGATIVE8,
|
||||
SOUND_VOICE_DIDDY_NEGATIVE8,
|
||||
|
||||
+29
-37
@@ -237,7 +237,7 @@ typedef struct LevelHeader {
|
||||
/* 0x44 */ u8 unk44[0x5];
|
||||
|
||||
/* 0x49 */ s8 unk49;
|
||||
/* 0x4A */ u8 unk4A;
|
||||
/* 0x4A */ s8 playerIndex;
|
||||
/* 0x4B */ s8 laps;
|
||||
/* 0x4C */ s8 race_type;
|
||||
/* 0x4D */ s8 vehicle;
|
||||
@@ -808,7 +808,7 @@ typedef struct Object_Racer {
|
||||
/* 0x002 */ u8 unk2;
|
||||
/* 0x003 */ s8 characterId; // Affects minimap color, horn, voice, etc.
|
||||
/* 0x004 */ s32 unk4;
|
||||
/* 0x008 */ f32 unk8;
|
||||
/* 0x008 */ f32 forwardVel;
|
||||
/* 0x00C */ s32 unkC;
|
||||
/* 0x010 */ f32 unk10;
|
||||
/* 0x014 */ f32 unk14;
|
||||
@@ -820,7 +820,7 @@ typedef struct Object_Racer {
|
||||
/* 0x02A */ u16 unk2A;
|
||||
/* 0x02C */ f32 velocity;
|
||||
/* 0x030 */ f32 lateral_velocity;
|
||||
/* 0x034 */ s32 unk34;
|
||||
/* 0x034 */ s32 unk34; // I think this is the engine pitch for the hovercraft and plane, but I cannot yet confirm.
|
||||
/* 0x038 */ f32 ox1;
|
||||
/* 0x03C */ f32 oy1;
|
||||
/* 0x040 */ f32 oz1;
|
||||
@@ -837,25 +837,25 @@ typedef struct Object_Racer {
|
||||
/* 0x06C */ s32 unk6C;
|
||||
/* 0x070 */ s32 unk70;
|
||||
/* 0x074 */ f32 unk74;
|
||||
/* 0x078 */ f32 unk78;
|
||||
/* 0x07C */ f32 unk7C;
|
||||
/* 0x080 */ f32 unk80;
|
||||
/* 0x078 */ f32 carBobX;
|
||||
/* 0x07C */ f32 carBobY;
|
||||
/* 0x080 */ f32 carBobZ;
|
||||
/* 0x084 */ f32 unk84;
|
||||
/* 0x088 */ f32 unk88;
|
||||
/* 0x08C */ f32 stretch_height;
|
||||
/* 0x090 */ f32 stretch_height_cap;
|
||||
/* 0x094 */ f32 camera_zoom;
|
||||
/* 0x098 */ f32 unk98;
|
||||
/* 0x098 */ f32 unk98; // Can only guess this is yaw.
|
||||
/* 0x09C */ f32 pitch;
|
||||
/* 0x0A0 */ f32 unkA0;
|
||||
/* 0x0A4 */ s32 unkA4;
|
||||
/* 0x0A0 */ f32 unkA0; // might be roll
|
||||
/* 0x0A4 */ f32 unkA4;
|
||||
/* 0x0A8 */ f32 checkpoint_distance;
|
||||
/* 0x0AC */ f32 unkAC;
|
||||
/* 0x0B0 */ f32 unkB0;
|
||||
/* 0x0B4 */ f32 throttle;
|
||||
/* 0x0B8 */ f32 brake;
|
||||
/* 0x0BC */ f32 unkBC;
|
||||
/* 0x0C0 */ f32 unkC0;
|
||||
/* 0x0C0 */ f32 buoyancy;
|
||||
/* 0x0C4 */ f32 unkC4;
|
||||
/* 0x0C8 */ f32 unkC8;
|
||||
/* 0x0CC */ f32 unkCC;
|
||||
@@ -873,7 +873,7 @@ typedef struct Object_Racer {
|
||||
/* 0x11C */ f32 unk11C;
|
||||
/* 0x120 */ f32 unk120;
|
||||
/* 0x124 */ f32 unk124;
|
||||
/* 0x128 */ u32 lap_times[3];
|
||||
/* 0x128 */ s32 lap_times[3];
|
||||
/* 0x134 */ s32 unk134;
|
||||
/* 0x138 */ s32 unk138;
|
||||
/* 0x13C */ s32 unk13C;
|
||||
@@ -883,8 +883,8 @@ typedef struct Object_Racer {
|
||||
/* 0x14C */ struct Object *unk14C;
|
||||
/* 0x150 */ struct Object *unk150;
|
||||
/* 0x154 */ struct Object *unk154;
|
||||
/* 0x158 */ s32 unk158;
|
||||
/* 0x15C */ s32 unk15C;
|
||||
/* 0x158 */ struct Object *unk158;
|
||||
/* 0x15C */ struct Object *unk15C;
|
||||
/* 0x160 */ s16 y_rotation_offset;
|
||||
/* 0x162 */ s16 x_rotation_offset;
|
||||
/* 0x164 */ s16 z_rotation_offset;
|
||||
@@ -900,18 +900,17 @@ typedef struct Object_Racer {
|
||||
/* 0x175 */ s8 unk175;
|
||||
/* 0x176 */ s16 unk176;
|
||||
/* 0x178 */ s32 unk178;
|
||||
/* 0x17C */ s32 unk17C;
|
||||
/* 0x180 */ s32 unk180;
|
||||
/* 0x17C */ s32 shieldSoundMask;
|
||||
/* 0x180 */ s32 unk180; // Soundmask for banana pickup, whether that's the only use I do not yet know.
|
||||
/* 0x184 */ s8 unk184;
|
||||
/* 0x185 */ s8 bananas;
|
||||
/* 0x186 */ u8 unk186;
|
||||
/* 0x187 */ s8 unk187;
|
||||
/* 0x187 */ s8 attackType;
|
||||
/* 0x188 */ s8 unk188;
|
||||
/* 0x189 */ s8 unk189;
|
||||
/* 0x18A */ s8 unk18A;
|
||||
/* 0x18B */ s8 unk18B;
|
||||
/* 0x189 */ s8 shieldType;
|
||||
/* 0x18A */ s16 unk18A;
|
||||
/* 0x18C */ s16 unk18C;
|
||||
/* 0x18E */ s16 unk18E;
|
||||
/* 0x18E */ s16 shieldTimer;
|
||||
/* 0x190 */ s16 unk190;
|
||||
/* 0x192 */ s8 unk192;
|
||||
/* 0x193 */ s8 unk193;
|
||||
@@ -930,10 +929,11 @@ typedef struct Object_Racer {
|
||||
/* 0x1AC */ u8 unk1AC;
|
||||
/* 0x1AD */ u8 unk1AD;
|
||||
/* 0x1AE */ s16 unk1AE;
|
||||
/* 0x1B0 */ s32 unk1B0;
|
||||
/* 0x1B0 */ s16 unk1B0;
|
||||
/* 0x1B2 */ s16 unk1B2;
|
||||
/* 0x1B4 */ s32 unk1B4;
|
||||
/* 0x1B8 */ s16 unk1B8;
|
||||
/* 0x1BA */ u16 unk1BA;
|
||||
/* 0x1BA */ s16 unk1BA;
|
||||
/* 0x1BC */ s32 unk1BC;
|
||||
/* 0x1C0 */ s32 unk1C0;
|
||||
/* 0x1C4 */ s16 unk1C4;
|
||||
@@ -947,7 +947,7 @@ typedef struct Object_Racer {
|
||||
/* 0x1CE */ u8 unk1CE;
|
||||
/* 0x1CF */ s8 unk1CF;
|
||||
/* 0x1D0 */ s8 spectateCamID;
|
||||
/* 0x1D1 */ u8 unk1D1;
|
||||
/* 0x1D1 */ s8 unk1D1;
|
||||
/* 0x1D2 */ s8 unk1D2;
|
||||
/* 0x1D3 */ s8 boostTimer;
|
||||
/* 0x1D4 */ u8 unk1D4;
|
||||
@@ -955,7 +955,7 @@ typedef struct Object_Racer {
|
||||
/* 0x1D6 */ s8 unk1D6;
|
||||
/* 0x1D7 */ s8 unk1D7;
|
||||
/* 0x1D8 */ s8 raceStatus;
|
||||
/* 0x1D9 */ u8 unk1D9;
|
||||
/* 0x1D9 */ s8 unk1D9;
|
||||
/* 0x1DA */ u8 unk1DA;
|
||||
/* 0x1DB */ s8 spinout_timer;
|
||||
/* 0x1DC */ u8 wheel_surfaces[4];
|
||||
@@ -981,7 +981,7 @@ typedef struct Object_Racer {
|
||||
/* 0x1F3 */ u8 unk1F3;
|
||||
/* 0x1F4 */ u8 startInput;
|
||||
/* 0x1F5 */ u8 unk1F5;
|
||||
/* 0x1F6 */ u8 unk1F6;
|
||||
/* 0x1F6 */ s8 unk1F6;
|
||||
/* 0x1F7 */ u8 transparency;
|
||||
/* 0x290 */ u8 indicator_type;
|
||||
/* 0x291 */ s8 indicator_timer;
|
||||
@@ -989,8 +989,8 @@ typedef struct Object_Racer {
|
||||
/* 0x1FB */ s8 unk1FB;
|
||||
/* 0x1FC */ s8 unk1FC;
|
||||
/* 0x1FD */ u8 unk1FD;
|
||||
/* 0x1FE */ s8 unk1FE;
|
||||
/* 0x1FF */ s8 unk1FF;
|
||||
/* 0x1FE */ u8 unk1FE;
|
||||
/* 0x1FF */ u8 unk1FF;
|
||||
/* 0x200 */ s8 unk200;
|
||||
/* 0x201 */ s8 unk201;
|
||||
/* 0x202 */ s8 unk202;
|
||||
@@ -1002,8 +1002,8 @@ typedef struct Object_Racer {
|
||||
/* 0x20B */ s8 unk20B;
|
||||
/* 0x20C */ u8 throttleReleased;
|
||||
/* 0x20D */ u8 unk20D;
|
||||
/* 0x20E */ s16 unk20E;
|
||||
/* 0x210 */ s8 unk210;
|
||||
/* 0x20E */ u16 unk20E;
|
||||
/* 0x210 */ u8 unk210;
|
||||
/* 0x211 */ s8 unk211;
|
||||
/* 0x212 */ u8 unk212;
|
||||
/* 0x213 */ s8 unk213;
|
||||
@@ -1394,14 +1394,6 @@ typedef struct Object {
|
||||
u32 unk378[174]; // Not an array. Unknown values.
|
||||
} Object;
|
||||
|
||||
typedef struct unk80027FC4 {
|
||||
u8 unk0;
|
||||
u8 unk1;
|
||||
s16 unk2;
|
||||
s16 unk4;
|
||||
s16 unk6;
|
||||
} unk80027FC4;
|
||||
|
||||
// Unused
|
||||
typedef struct GhostHeaderChecksum {
|
||||
u8 levelID;
|
||||
|
||||
Reference in New Issue
Block a user