mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Improve and label a bunch of racer.c functions (#348)
* label some racer funcs * Update object_functions.c * match render_epc_lock_up_display * Update thread0_epc.c * Update thread0_epc.c * delta * racer labelling * bit more * last ones for tonight * nonmatching func_80046524 * take a guess * quick rename * Update thread0_epc.c * some wave correction * Update waves.c * suddenly unplanned object cleanup * quick fixes * Update thread0_epc.c * Update src/racer.c Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com> Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
This commit is contained in:
+2
-2
@@ -38,8 +38,8 @@ enum SoundID {
|
||||
/* 0x0017 */ SOUND_EXPLOSION2, // Not sure what this one's for.
|
||||
/* 0x0018 */ SOUND_VOICE_TT_GET_READY,
|
||||
/* 0x0019 */ SOUND_VOICE_TT_GO,
|
||||
/* 0x001A */ SOUND_UNK_1A,
|
||||
/* 0x001B */ SOUND_UNK_1B,
|
||||
/* 0x001A */ SOUND_LAND_GRASS,
|
||||
/* 0x001B */ SOUND_LAND_SAND,
|
||||
/* 0x001C */ SOUND_CAR_BRAKE,
|
||||
/* 0x001D */ SOUND_UNK_1D,
|
||||
/* 0x001E */ SOUND_UNK_1E,
|
||||
|
||||
+12
-18
@@ -572,12 +572,12 @@ typedef struct LevelModel {
|
||||
/* 0x26 */ u16 unk26;
|
||||
u8 pad28[0x10];
|
||||
/* 0x38 */ u32 minimapColor;
|
||||
/* 0x3C */ s16 unk3C;
|
||||
/* 0x3E */ s16 unk3E;
|
||||
/* 0x40 */ s16 unk40;
|
||||
/* 0x42 */ s16 unk42;
|
||||
/* 0x44 */ s16 unk44;
|
||||
/* 0x46 */ s16 unk46;
|
||||
/* 0x3C */ s16 lowerXBounds;
|
||||
/* 0x3E */ s16 upperXBounds;
|
||||
/* 0x40 */ s16 lowerYBounds;
|
||||
/* 0x42 */ s16 upperYBounds;
|
||||
/* 0x44 */ s16 lowerZBounds;
|
||||
/* 0x46 */ s16 upperZBounds;
|
||||
/* 0x48 */ s32 modelSize;
|
||||
} LevelModel;
|
||||
|
||||
@@ -866,11 +866,6 @@ typedef struct Object_AnimCamera {
|
||||
/* 0x44 */ s8 unk44;
|
||||
} Object_AnimCamera;
|
||||
|
||||
typedef struct Object_AnimCar {
|
||||
/* 0x000 */ u8 pad0[0x148];
|
||||
/* 0x148 */ struct Object *unk148;
|
||||
} Object_AnimCar;
|
||||
|
||||
typedef struct Object_InfoPoint {
|
||||
/* 0x0 */ s16 unk0;
|
||||
} Object_InfoPoint;
|
||||
@@ -1012,10 +1007,10 @@ typedef struct Object_Racer {
|
||||
/* 0x08C */ f32 stretch_height;
|
||||
/* 0x090 */ f32 stretch_height_cap;
|
||||
/* 0x094 */ f32 camera_zoom;
|
||||
/* 0x098 */ f32 unk98; // Can only guess this is yaw.
|
||||
/* 0x098 */ f32 unk98;
|
||||
/* 0x09C */ f32 pitch;
|
||||
/* 0x0A0 */ f32 unkA0; // might be roll
|
||||
/* 0x0A4 */ f32 unkA4;
|
||||
/* 0x0A0 */ f32 roll;
|
||||
/* 0x0A4 */ f32 yaw;
|
||||
/* 0x0A8 */ f32 checkpoint_distance;
|
||||
/* 0x0AC */ f32 unkAC;
|
||||
/* 0x0B0 */ f32 unkB0;
|
||||
@@ -1046,7 +1041,7 @@ typedef struct Object_Racer {
|
||||
/* 0x13C */ s32 unk13C;
|
||||
/* 0x140 */ struct Object *magnetTargetObj;
|
||||
/* 0x144 */ struct Object *held_obj;
|
||||
/* 0x148 */ struct Object *unk148;
|
||||
/* 0x148 */ struct Object *approachTarget;
|
||||
/* 0x14C */ struct Object *unk14C;
|
||||
/* 0x150 */ struct Object *unk150;
|
||||
/* 0x154 */ struct Object *unk154;
|
||||
@@ -1088,7 +1083,7 @@ typedef struct Object_Racer {
|
||||
/* 0x19A */ s16 unk19A;
|
||||
/* 0x19C */ s16 unk19C;
|
||||
/* 0x19E */ s16 unk19E;
|
||||
/* 0x1A0 */ s16 unk1A0;
|
||||
/* 0x1A0 */ s16 steerVisualRotation;
|
||||
/* 0x1A2 */ s16 y_rotation_vel;
|
||||
/* 0x1A4 */ s16 x_rotation_vel;
|
||||
/* 0x1A6 */ s16 z_rotation_vel;
|
||||
@@ -1135,7 +1130,7 @@ typedef struct Object_Racer {
|
||||
/* 0x1E4 */ s8 unk1E4;
|
||||
/* 0x1E5 */ s8 unk1E5;
|
||||
/* 0x1E6 */ s8 drift_direction;
|
||||
/* 0x1E7 */ s8 unk1E7;
|
||||
/* 0x1E7 */ s8 miscAnimCounter;
|
||||
/* 0x1E8 */ s8 unk1E8;
|
||||
/* 0x1E9 */ s8 unk1E9;
|
||||
/* 0x1EA */ s8 unk1EA;
|
||||
@@ -1404,7 +1399,6 @@ typedef struct Object_64 {
|
||||
Object_CharacterFlag character_flag;
|
||||
Object_Snowball snowball;
|
||||
Object_AnimCamera anim_camera;
|
||||
Object_AnimCar anim_car;
|
||||
Object_InfoPoint info_point;
|
||||
Object_TTDoor tt_door;
|
||||
Object_WorldKey world_key;
|
||||
|
||||
Reference in New Issue
Block a user