mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Mostly misc labelling, but also weather too (#232)
* bit more labelling * identify some weather stuff * Update sound_ids.h * yum * more random identification * last weather stuff for now * Update README.md * Update README.md * Fix non equivalent
This commit is contained in:
+4
-4
@@ -49,7 +49,7 @@ typedef enum RaceType {
|
||||
RACETYPE_CUTSCENE_1 = 6, // Not sure what the difference between these two are.
|
||||
RACETYPE_CUTSCENE_2 = 7,
|
||||
RACETYPE_BOSS = 8,
|
||||
RACETYPE_CHALLENGE = 64, // For masking
|
||||
RACETYPE_CHALLENGE = 64, // For masking
|
||||
RACETYPE_CHALLENGE_BATTLE = 64,
|
||||
RACETYPE_CHALLENGE_BANANAS = 65,
|
||||
RACETYPE_CHALLENGE_EGGS = 66
|
||||
@@ -68,9 +68,9 @@ typedef enum VerticalAlignmentFlags {
|
||||
} VerticalAlignmentFlags;
|
||||
|
||||
typedef enum AlignmentFlags {
|
||||
ALIGN_TOP_LEFT = VERT_ALIGN_TOP | HORZ_ALIGN_LEFT,
|
||||
ALIGN_TOP_CENTER = VERT_ALIGN_TOP | HORZ_ALIGN_CENTER,
|
||||
ALIGN_TOP_RIGHT = VERT_ALIGN_TOP | HORZ_ALIGN_RIGHT,
|
||||
ALIGN_TOP_LEFT = VERT_ALIGN_TOP | HORZ_ALIGN_LEFT,
|
||||
ALIGN_TOP_CENTER = VERT_ALIGN_TOP | HORZ_ALIGN_CENTER,
|
||||
ALIGN_TOP_RIGHT = VERT_ALIGN_TOP | HORZ_ALIGN_RIGHT,
|
||||
ALIGN_MIDDLE_LEFT = VERT_ALIGN_MIDDLE | HORZ_ALIGN_LEFT,
|
||||
ALIGN_MIDDLE_CENTER = VERT_ALIGN_MIDDLE | HORZ_ALIGN_CENTER,
|
||||
ALIGN_MIDDLE_RIGHT = VERT_ALIGN_MIDDLE | HORZ_ALIGN_RIGHT,
|
||||
|
||||
+1
-1
@@ -588,7 +588,7 @@ enum SoundID {
|
||||
SOUND_WHOOSH5,
|
||||
SOUND_COLLECT_BALLOON,
|
||||
SOUND_RAIN,
|
||||
SOUND_UNK575, // Might be thunder
|
||||
SOUND_THUNDER,
|
||||
SOUND_ZAP4,
|
||||
SOUND_MENU_BACK3,
|
||||
SOUND_VOICE_BUBBLER_OW,
|
||||
|
||||
+10
-10
@@ -255,13 +255,13 @@ typedef struct LevelHeader {
|
||||
/* 0x74 */ s8 *unk74[7];
|
||||
|
||||
// Weather related?
|
||||
/* 0x90 */ s16 weather_enable;
|
||||
/* 0x92 */ s16 unk92;
|
||||
/* 0x94 */ u8 unk94;
|
||||
/* 0x95 */ u8 unk95;
|
||||
/* 0x96 */ s16 unk96;
|
||||
/* 0x98 */ s16 unk98;
|
||||
/* 0x9A */ s16 unk9A;
|
||||
/* 0x90 */ s16 weatherEnable;
|
||||
/* 0x92 */ s16 weatherType;
|
||||
/* 0x94 */ u8 weatherIntensity;
|
||||
/* 0x95 */ u8 weatherOpacity;
|
||||
/* 0x96 */ s16 weatherVelX;
|
||||
/* 0x98 */ s16 weatherVelY;
|
||||
/* 0x9A */ s16 weatherVelZ;
|
||||
|
||||
/* 0x9C */ s8 cameraFOV; // Must be a value within [0, 90]
|
||||
/* 0x9D */ u8 bgColorRed;
|
||||
@@ -691,7 +691,7 @@ typedef struct Object_CharacterFlag {
|
||||
|
||||
typedef struct Object_Snowball {
|
||||
/* 0x00 */ u8 pad0[0x20];
|
||||
/* 0x20 */ u32 unk20;
|
||||
/* 0x20 */ u32 soundMask;
|
||||
/* 0x24 */ s16 unk24;
|
||||
/* 0x28 */ u8 pad28[0x12];
|
||||
/* 0x38 */ s8 unk38;
|
||||
@@ -815,8 +815,8 @@ typedef struct Object_Racer {
|
||||
/* 0x018 */ f32 unk18;
|
||||
/* 0x01C */ s32 unk1C;
|
||||
/* 0x020 */ s32 unk20;
|
||||
/* 0x024 */ s32 unk24;
|
||||
/* 0x028 */ u16 unk28;
|
||||
/* 0x024 */ s32 soundMask;
|
||||
/* 0x028 */ u16 lastSoundID;
|
||||
/* 0x02A */ u16 unk2A;
|
||||
/* 0x02C */ f32 velocity;
|
||||
/* 0x030 */ f32 lateral_velocity;
|
||||
|
||||
Reference in New Issue
Block a user