mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Document almost all of menu.c (#447)
* strings * fix ub * first pass * pass 2 * pass 3 * pass 4 * pass 5 * pass 6 * pass 7 * pass 8 * pass 9 * pass 10 * pass 11 * pass 11 * pass 12 * pass 13 * pass 13 * pass 14 * pass 15 * pass 16 * pass 17 * oh my giddy aunt I see the light * h * fix my life choices * fix game breaking typo * Update src/menu.c Co-authored-by: David Benepe <benepe96@gmail.com> * Update src/menu.c Co-authored-by: David Benepe <benepe96@gmail.com> * Update src/menu.c Co-authored-by: David Benepe <benepe96@gmail.com> --------- Co-authored-by: David Benepe <benepe96@gmail.com>
This commit is contained in:
@@ -3074,13 +3074,13 @@ typedef enum AssetMiscEnum {
|
||||
ASSET_MISC_MAGNET_DATA,
|
||||
ASSET_MISC_23,
|
||||
ASSET_MISC_GHOST_UNLOCK_TIMES,
|
||||
ASSET_MISC_25,
|
||||
ASSET_MISC_CINEMATIC_RACE,
|
||||
ASSET_MISC_TRACKS_MENU_IDS,
|
||||
ASSET_MISC_HUB_AREA_IDS,
|
||||
ASSET_MISC_MAIN_TRACKS_IDS,
|
||||
ASSET_MISC_BATTLE_TRACKS_IDS,
|
||||
ASSET_MISC_BOSS_TRACKS_IDS,
|
||||
ASSET_MISC_31,
|
||||
ASSET_MISC_CINEMATIC_TROPHY,
|
||||
ASSET_MISC_32,
|
||||
ASSET_MISC_RACERACCELERATION_UNKNOWN0,
|
||||
ASSET_MISC_RACERACCELERATION_DIDDY,
|
||||
|
||||
+5
-5
@@ -165,8 +165,8 @@ typedef struct MenuElement {
|
||||
/* 0x14 */ DrawTexture *drawTexture; // Pointer to texture to be displayed on the screen.
|
||||
/* 0x14 */ s32 *number; // Pointer to a number to be displayed on the screen.
|
||||
/* 0x14 */ u16 *numberU16; // Pointer to a number to be displayed on the screen.
|
||||
/* 0x14 */ s32 value; // Some value for elementType == 5
|
||||
} unk14_a;
|
||||
/* 0x14 */ s32 assetID; // Some value for elementType == 5
|
||||
} t;
|
||||
union {
|
||||
struct {
|
||||
// Element Background Color/Transparency
|
||||
@@ -209,11 +209,11 @@ typedef struct Racer {
|
||||
|
||||
/* Unknown Size */
|
||||
typedef struct Settings4C {
|
||||
u8 unk0; //courseId?
|
||||
u8 courseID; //courseId?
|
||||
u8 unk1; // This value + 8 is cutsceneId index? gGameCurrentCutscene = gLevelSettings[gLevelSettings[1] + 8];
|
||||
s8 unk2; //mapId?
|
||||
s8 mapID; //mapId?
|
||||
u8 pad3[0xC];
|
||||
u8 unkF; //entranceId?
|
||||
u8 entranceID; //entranceId?
|
||||
} Settings4C;
|
||||
|
||||
#define TAJ_FLAGS_CAR_CHAL_UNLOCKED 0x01
|
||||
|
||||
Reference in New Issue
Block a user