mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
We are collecting silver coins in Crescent Island. (0/8 silver coins) (#413)
* Match menu_results_loop * Match menu_options_loop * func_80059BF0 matched * Various small changes * Match func_8002125C * func_80021104 matched * Match func_800A0BD4 and _itoa * Match func_800A47A0 * Match func_800A7A60 * Match func_8000418C * Update README score * Match func_8001F23C * Rename gParticlePtrList_addObject to despawn_object * Rename it again * Apply suggestions from code review Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com> --------- Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
This commit is contained in:
@@ -673,6 +673,34 @@ typedef struct LevelObjectEntry_WavePower {
|
||||
u16 unkC;
|
||||
} LevelObjectEntry_WavePower;
|
||||
|
||||
typedef struct LevelObjectEntry_CharacterSelect {
|
||||
LevelObjectEntryCommon common;
|
||||
u8 pad8[0xA];
|
||||
s8 unk12;
|
||||
s8 unk13;
|
||||
s8 unk14;
|
||||
s8 unk15;
|
||||
u8 unk16;
|
||||
s8 unk17;
|
||||
u8 unk18;
|
||||
s8 pad19[5];
|
||||
u8 unk1E;
|
||||
s8 unk1F;
|
||||
s8 pad20[4];
|
||||
s16 unk24;
|
||||
s8 unk26;
|
||||
u8 unk27;
|
||||
s8 unk28;
|
||||
s8 unk29;
|
||||
s8 unk2A;
|
||||
s8 unk2B;
|
||||
s8 unk2C;
|
||||
s8 unk2D;
|
||||
s8 unk2E;
|
||||
s8 unk2F;
|
||||
s8 unk30;
|
||||
} LevelObjectEntry_CharacterSelect;
|
||||
|
||||
typedef struct LevelObjectEntry {
|
||||
union {
|
||||
LevelObjectEntry_Racer racer;
|
||||
@@ -765,6 +793,7 @@ typedef struct LevelObjectEntry {
|
||||
LevelObjectEntry8003FC44 unk8003FC44;
|
||||
LevelObjectEntry800BF524 unk800BF524;
|
||||
LevelObjectEntry_WavePower wavePower;
|
||||
LevelObjectEntry_CharacterSelect characterSelect;
|
||||
};
|
||||
} LevelObjectEntry;
|
||||
|
||||
|
||||
+36
-7
@@ -197,11 +197,11 @@ typedef struct Racer {
|
||||
|
||||
/* Unknown Size */
|
||||
typedef struct Settings4C {
|
||||
u8 unk0;
|
||||
u8 unk1;
|
||||
s8 unk2;
|
||||
u8 unk0; //courseId?
|
||||
u8 unk1; // This value + 8 is cutsceneId index? gGameCurrentCutscene = D_80121250[D_80121250[1] + 8];
|
||||
s8 unk2; //mapId?
|
||||
u8 pad3[0xC];
|
||||
u8 unkF;
|
||||
u8 unkF; //entranceId?
|
||||
} Settings4C;
|
||||
|
||||
#define TAJ_FLAGS_CAR_CHAL_UNLOCKED 0x01
|
||||
@@ -914,7 +914,7 @@ typedef struct Object_Animation {
|
||||
/* 0x2D */ u8 unk2D;
|
||||
/* 0x2E */ u8 unk2E;
|
||||
/* 0x2F */ u8 unk2F;
|
||||
/* 0x30 */ u8 unk30;
|
||||
/* 0x30 */ s8 unk30;
|
||||
/* 0x31 */ u8 unk31;
|
||||
/* 0x32 */ u8 unk32;
|
||||
/* 0x33 */ u8 unk33;
|
||||
@@ -1032,8 +1032,14 @@ typedef struct Object_CharacterFlag {
|
||||
typedef struct Object_AnimCamera {
|
||||
/* 0x00 */ u8 pad0[0x30];
|
||||
/* 0x30 */ s8 unk30;
|
||||
/* 0x31 */ u8 pad31[0x13];
|
||||
/* 0x44 */ s8 unk44;
|
||||
/* 0x31 */ u8 pad31[0xB];
|
||||
/* 0x3C */ s32 unk3C;
|
||||
/* 0x40 */ u8 pad40[4];
|
||||
/* 0x44 */ u8 unk44;
|
||||
/* 0x45 */ u8 pad45[5];
|
||||
/* 0x4A */ s16 unk4A;
|
||||
/* 0x4C */ u8 pad4C[8];
|
||||
/* 0x54 */ s8 unk54;
|
||||
} Object_AnimCamera;
|
||||
|
||||
typedef struct Object_InfoPoint {
|
||||
@@ -1542,6 +1548,28 @@ typedef struct Object_8001E89C_64 {
|
||||
/* 0x0C */ Object_8001E89C_64_C *unkC;
|
||||
} Object_8001E89C_64;
|
||||
|
||||
typedef struct Object_CharacterSelect {
|
||||
u8 pad0[0x14];
|
||||
f32 unk14;
|
||||
u8 pad18[0x14];
|
||||
u8 unk2C;
|
||||
u8 pad2D[2];
|
||||
u8 unk2F;
|
||||
u8 pad30[6];
|
||||
s16 unk36;
|
||||
u8 unk38;
|
||||
u8 unk39;
|
||||
s8 unk3A;
|
||||
s8 unk3B;
|
||||
s8 unk3C;
|
||||
s8 pad3D[2];
|
||||
s8 unk3F;
|
||||
s8 unk40;
|
||||
s8 unk41;
|
||||
s8 pad42;
|
||||
s8 unk43;
|
||||
} Object_CharacterSelect;
|
||||
|
||||
typedef struct Object_64 {
|
||||
union {
|
||||
Object_Laser laser;
|
||||
@@ -1587,6 +1615,7 @@ typedef struct Object_64 {
|
||||
Object_AnimatedObject animatedObject;
|
||||
Object_WizpigRocket wizpigRocket;
|
||||
Object_8001E89C_64 obj8001E89C_64;
|
||||
Object_CharacterSelect characterSelect;
|
||||
};
|
||||
} Object_64;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user