document audio_vehicle.c (#588)

* wip

* wip

* wip

* wip

* document audio_vehicle.c

* update score once again

* unify function prefix

* small tweaks
This commit is contained in:
Unnunu
2025-05-26 18:49:55 +03:00
committed by GitHub
parent 3346ac1d59
commit b41c206cfd
13 changed files with 925 additions and 708 deletions
+26 -26
View File
@@ -5,11 +5,11 @@ This repo contains a work-in-progress decompilation of Diddy Kong Racing for the
All versions are supported, and the US 1.0 version (SHA1 = 0cb115d8716dbbc2922fda38e533b9fe63bb9670) of the game is the default if not specified.
<!-- README_SCORE_SUMMARY_BEGIN -->
As of May 23, 2025, this is our current score:
As of May 26, 2025, this is our current score:
&emsp;&emsp;&emsp;&emsp;Decomp progress: 88.37%
&emsp;&emsp;&emsp;&emsp;Documentation progress: 56.99%
&emsp;&emsp;&emsp;&emsp;Documentation progress: 58.39%
<!-- README_SCORE_SUMMARY_END -->
---
@@ -117,30 +117,30 @@ s32 is_drumstick_unlocked(void) {
```
<!-- README_SCORE_BEGIN -->
As of May 23, 2025, this is our current score:
As of May 26, 2025, this is our current score:
```
=====================================================================
ADVENTURE ONE (ASM -> C Decompilation)
--------------- 88.37% Complete (89.33% NON_MATCHING) ---------------
# Decompiled functions: 1900
# GLOBAL_ASM remaining: 51
# NON_MATCHING functions: 5
# NON_EQUIVALENT WIP functions: 15
---------------------------- Game Status ----------------------------
Balloons: 41/47, Keys: 4/4, Trophies: 4/5
T.T. Amulets: 4/4, Wizpig Amulets: 4/4
---------------------------------------------------------------------
We are racing in Spaceport Alpha. (Lap 1/3)
=====================================================================
ADVENTURE TWO (Cleanup & Documentation)
-------------------------- 56.99% Complete --------------------------
# Documented functions: 1181
# Undocumented remaining: 473
---------------------------- Game Status ----------------------------
Balloons: 27/47, Keys: 3/4, Trophies: 2/5
T.T. Amulets: 3/4, Wizpig Amulets: 2/4
---------------------------------------------------------------------
We are collecting silver coins in Crescent Island. (5/8 silver coins)
=====================================================================
===================================================================
ADVENTURE ONE (ASM -> C Decompilation)
-------------- 88.37% Complete (89.33% NON_MATCHING) --------------
# Decompiled functions: 1900
# GLOBAL_ASM remaining: 51
# NON_MATCHING functions: 5
# NON_EQUIVALENT WIP functions: 15
--------------------------- Game Status ---------------------------
Balloons: 41/47, Keys: 4/4, Trophies: 4/5
T.T. Amulets: 4/4, Wizpig Amulets: 4/4
-------------------------------------------------------------------
We are racing in Spaceport Alpha. (Lap 1/3)
===================================================================
ADVENTURE TWO (Cleanup & Documentation)
------------------------- 58.39% Complete -------------------------
# Documented functions: 1189
# Undocumented remaining: 465
--------------------------- Game Status ---------------------------
Balloons: 28/47, Keys: 3/4, Trophies: 2/5
T.T. Amulets: 3/4, Wizpig Amulets: 2/4
-------------------------------------------------------------------
We are collecting silver coins in Pirate Lagoon. (4/8 silver coins)
===================================================================
```
<!-- README_SCORE_END -->
+1 -1
View File
@@ -412,7 +412,7 @@ void audspat_update_all(Object **objList, s32 numObjects, s32 updateRate) {
// Update vehicle sounds
if (numObjects != 0) {
func_80006FC8(objList, numObjects, cameras, numCameras, updateRate);
racer_sound_update_all(objList, numObjects, cameras, numCameras, updateRate);
}
}
+1 -4
View File
@@ -69,17 +69,14 @@ void audspat_line_add_vertex(u8 type, u16 soundBite, f32 x, f32 y, f32 z, u8 arg
u8 argA, u8 lineID, u8 vertexIndex);
s32 audspat_line_validate(u8 lineID);
void audspat_debug_render_line(Gfx **dList, Vertex **verts, Triangle **tris, f32 coords[6], u8 red, u8 green, u8 blue);
void func_80006BFC(Object *obj, Camera *camera, Object *obj2, s32 updateRate);
void audspat_point_set_position(AudioPoint *audioPoint, f32 x, f32 y, f32 z);
s32 audspat_reverb_validate(u8 reverbLineID);
void audspat_init(void);
void audspat_reverb_add_vertex(f32, f32, f32, u8, u8, u8);
void audspat_calculate_echo(SoundHandle soundHandle, f32 x, f32 y, f32 z);
s32 audspat_distance_to_segment(f32 inX, f32 inY, f32 inZ, f32 coords[6], f32 *outX, f32 *outY, f32 *outZ);
void audspat_reset(void);
void audspat_update_all(Object **objList, s32 numObjects, s32 updateRate); // Non Matching
void func_80006FC8(Object **objs, s32 numRacers, Camera *camera, u8 arg3, s32 updateRate); // Non Matching
void audspat_update_all(Object **objList, s32 numObjects, s32 updateRate);
u8 audspat_reverb_get_strength_at_point(ReverbLine *, f32, f32, f32);
#endif
+760 -547
View File
File diff suppressed because it is too large Load Diff
+77 -70
View File
@@ -4,87 +4,94 @@
#include "types.h"
#include "structs.h"
#include "audio.h"
#include "camera.h"
enum VehicleBackgroundSoundStates {
VEHICLE_BACKGROUND_STOPPED,
VEHICLE_BACKGROUND_PENDING,
VEHICLE_BACKGROUND_PLAYING
};
/* Size: 0xE0 / 224 bytes */
typedef struct VehicleSoundData {
/* 0x00 */ u16 unk0[2];
/* 0x04 */ u8 unk4[2][5];
/* 0x0E */ u8 unkE[2][5];
/* 0x18 */ u16 unk18[2][5];
/* 0x2C */ u8 unk2C[2][5];
/* 0x36 */ u8 unk36;
/* 0x37 */ u8 unk37;
/* 0x38 */ u8 unk38;
/* 0x39 */ u8 unk39;
/* 0x3A */ u8 pad3A[0x2];
/* 0x00 */ u16 soundId[2];
/* 0x04 */ u8 intensityLevelsForPitch[2][5];
/* 0x0E */ u8 intensityLevelsForVolume[2][5];
/* 0x18 */ u16 pitchLevels[2][5]; // 10000 = 1.0
/* 0x2C */ u8 volumeLevels[2][5];
/* 0x36 */ u8 engineIdleSound;
/* 0x37 */ u8 engineIdleMaxVolume;
/* 0x38 */ u8 engineIdleMaxPitch; // 100 = 1.0
/* 0x39 */ u8 engineIdleMinPitch; // 100 = 1.0
/* 0x3C */ f32 bananaPitch;
/* 0x40 */ f32 unk40;
/* 0x44 */ u8 unk44[4];
/* 0x48 */ SoundHandle unk48[2]; //soundMask / soundState?
/* 0x50 */ SoundHandle unk50;
/* 0x54 */ f32 unk54[2];
/* 0x5C */ f32 unk5C[2];
/* 0x64 */ u8 unk64;
/* 0x68 */ f32 unk68;
/* 0x6C */ f32 unk6C[2];
/* 0x74 */ u8 unk74;
/* 0x40 */ f32 driftPitch;
/* 0x44 */ u8 soundDisabled[4];
/* 0x48 */ SoundHandle soundHandle[2];
/* 0x50 */ SoundHandle engineIdleSoundHandle;
/* 0x54 */ f32 baseVolume[2];
/* 0x5C */ f32 basePitch[2];
/* 0x64 */ u8 unk64_unused;
/* 0x68 */ f32 dopplerPitch;
/* 0x6C */ f32 prevDistance[2];
/* 0x74 */ u8 backgroundState;
/* 0x78 */ Vec3f racerPos;
/* 0x84 */ f32 unk84;
/* 0x88 */ u8 unk88; // Volume?
/* 0x8C */ f32 unk8C; // Volume?
/* 0x90 */ s8 unk90;
/* 0x91 */ u8 unk91[3];
/* 0x84 */ f32 distToCamera;
/* 0x88 */ u8 backgroundVolume;
/* 0x8C */ f32 backgroundPitch;
/* 0x90 */ s8 engineJitter;
/* 0x91 */ u8 pan;
/* 0x94 */ f32 enginePitch; // Engine noise for the car.
/* 0x98 */ u8 unk98;
/* 0x98 */ u8 unk98_unused;
/* 0x99 */ u8 pad99[0x7];
/* 0xA0 */ u8 unkA0;
/* 0xA4 */ f32 throttlePitch; // Engine noise for the hovercraft and plane.
/* 0xA8 */ SoundHandle unkA8;
/* 0xAC */ u16 unkAC;
/* 0xB0 */ f32 throttlePitchVel;
/* 0xB4 */ f32 throttlePitchDecay;
/* 0xB8 */ u8 unkB8;
/* 0xBC */ f32 unkBC;
/* 0xC0 */ f32 unkC0;
/* 0xC4 */ f32 unkC4;
/* 0xC8 */ f32 throttlePitchCeil;
/* 0xCC */ f32 unkCC;
/* 0xD0 */ u8 unkD0;
/* 0xD4 */ f32 basePitch;
/* 0xD8 */ u8 brakeSound; //Sound is playing bool?
/* 0xDC */ SoundHandle brakeSoundMask; //soundMask / soundState?
/* 0xA0 */ u8 engine_intensity;
/* 0xA4 */ f32 thrustPitch; // Engine noise for the hovercraft and plane.
/* 0xA8 */ SoundHandle brakeSound;
/* 0xAC */ u16 brakeSoundVolume;
/* 0xB0 */ f32 thrustPitchVel;
/* 0xB4 */ f32 thrustPitchDecay;
/* 0xB8 */ u8 unkB8_unused;
/* 0xBC */ f32 pitchLateralSpeedScale;
/* 0xC0 */ f32 rollAnglePitchScale;
/* 0xC4 */ f32 pitchAnglePitchScale;
/* 0xC8 */ f32 thrustPitchMax;
/* 0xCC */ f32 thrustPitchSpeedScale;
/* 0xD0 */ u8 airTime;
/* 0xD4 */ f32 planeHovercraftBasePitch;
/* 0xD8 */ u8 spinoutSoundOn; // bool
/* 0xDC */ SoundHandle spinoutSound;
} VehicleSoundData;
/* Size: 0x4C / 76 Bytes */
typedef struct unkAudioAsset {
/* 0x00 */ u16 unk0[2];
/* 0x04 */ u8 unk4[2][5];
/* 0x0E */ u8 unkE[2][5];
/* 0x18 */ u16 unk18[2][5];
/* 0x2C */ u8 unk2C[2][5];
/* 0x36 */ u8 unk36;
/* 0x37 */ u8 unk37;
/* 0x38 */ u8 unk38;
/* 0x39 */ u8 unk39;
/* 0x3A */ u8 unk3A;
/* 0x3B */ u8 unk3B;
/* 0x3C */ s16 unk3C;
/* 0x3E */ s16 unk3E;
/* 0x40 */ s16 unk40;
/* 0x32 */ s16 unk42;
/* 0x44 */ s16 unk44;
/* 0x46 */ s16 unk46;
/* 0x48 */ s16 unk48;
/* 0x4A */ u8 unk4A;
} unkAudioAsset;
typedef struct VehicleSoundAsset {
/* 0x00 */ u16 soundId[2];
/* 0x04 */ u8 intensityLevelsForPitch[2][5];
/* 0x0E */ u8 intensityLevelsForVolume[2][5];
/* 0x18 */ u16 pitchLevels[2][5]; // 10000 = 1.0
/* 0x2C */ u8 volumeLevels[2][5];
/* 0x36 */ u8 engineIdleSound;
/* 0x37 */ u8 engineIdleMaxVolume;
/* 0x38 */ u8 engineIdleMaxPitch;
/* 0x39 */ u8 engineIdleMinPitch;
/* 0x3A */ u8 unk3A_unused;
/* 0x3B */ u8 unk3B_unused;
/* 0x3C */ s16 pitchLateralSpeedScale; // 10000 = 1.0
/* 0x3E */ s16 thrustPitchVel; // 10000 = 1.0
/* 0x40 */ s16 thrustPitchDecay; // 10000 = 1.0
/* 0x32 */ s16 rollAnglePitchScale; // 10000 = 1.0
/* 0x44 */ s16 pitchAnglePitchScale; // 10000 = 1.0
/* 0x46 */ s16 thrustPitchMax; // 10000 = 1.0
/* 0x48 */ s16 thrustPitchSpeedScale; // 10000 = 1.0
/* 0x4A */ u8 planeHovercraftBasePitch;
} VehicleSoundAsset;
void racer_sound_update(Object *obj, u32 buttonsPressed, u32 buttonsHeld, s32 updateRate);
void racer_sound_free(Object *);
f32 func_80007FA4(f32 arg0);
void racer_sound_update(Object *obj, u32 buttonsPressed, u32 buttonsHeld, s32 tickDelta);
void racer_sound_free(Object *obj);
void racer_sound_doppler_effect(Object *observerObj, Camera *camera, Object *sourceObj, s32 tickDelta);
f32 log(f32 x);
VehicleSoundData *racer_sound_init(s32 characterId, s32 vehicleId);
void func_80005254(Object *obj, u32 buttonsPressed, u32 buttonsHeld, s32 updateRate);
void racer_sound_hovercraft(Object *, u32 buttonsPressed, u32 buttonsHeld, s32 updateRate);
void func_800063EC(Object *, u32 buttonsPressed, u32 buttonsHeld, s32 updateRate);
void racer_sound_car(Object *obj, u32 buttonsPressed, u32 buttonsHeld, s32 tickDelta);
void racer_sound_hovercraft(Object *, u32 buttonsPressed, u32 buttonsHeld, s32 tickDelta);
void racer_sound_plane(Object *, u32 buttonsPressed, u32 buttonsHeld, s32 tickDelta);
void racer_sound_update_all(Object **racerObjs, s32 numRacers, Camera *cameras, u8 numCameras, s32 tickDelta);
#endif
+1 -1
View File
@@ -950,7 +950,7 @@ void set_ortho_matrix_view(Gfx **dList, MatrixS **mtx) {
void func_8006807C(Gfx **dList, MatrixS **mtx) {
object_inverse_transform_to_matrix(gCurrentModelMatrixF, &D_800DD288);
f32_matrix_mult(&gCurrentModelMatrixF, &gPerspectiveMatrixF, &gViewMatrixF);
object_inverse_transform_to_matrix((float(*)[4]) gModelMatrixF[0], &D_800DD2A0);
object_inverse_transform_to_matrix((float (*)[4]) gModelMatrixF[0], &D_800DD2A0);
f32_matrix_mult(gModelMatrixF[0], &gViewMatrixF, &gCurrentModelMatrixF);
f32_matrix_to_s16_matrix(&gCurrentModelMatrixF, *mtx);
gSPMatrixDKR((*dList)++, OS_K0_TO_PHYSICAL((*mtx)++), G_MTX_DKR_INDEX_0);
+1 -1
View File
@@ -163,7 +163,7 @@ GLOBAL_ASM("asm/math_util/f32_matrix_mult.s")
#ifdef NON_MATCHING
/* Official name: mathMtxF2L */
void f32_matrix_to_s16_matrix(Matrix *input, MatrixS *output) {
guMtxF2L((float(*)[4]) input, (Mtx *) output);
guMtxF2L((float (*)[4]) input, (Mtx *) output);
}
#else
GLOBAL_ASM("asm/math_util/f32_matrix_to_s16_matrix.s")
+3 -3
View File
@@ -4235,12 +4235,12 @@ void func_80016748(Object *obj0, Object *obj1) {
if (!((objModel->unk3C + 50.0) < sqrtf((xDiff * xDiff) + (yDiff * yDiff) + (zDiff * zDiff)))) {
obj0Interact = obj0->interactObj;
obj1Interact = obj1->interactObj;
object_transform_to_matrix((float(*)[4]) obj1TransformMtx, &obj1->segment.trans);
object_transform_to_matrix((float (*)[4]) obj1TransformMtx, &obj1->segment.trans);
for (i = 0; i < objModel->unk20; i += 2) {
xDiff = obj1->curVertData[objModel->unk1C[i]].x;
yDiff = obj1->curVertData[objModel->unk1C[i]].y;
zDiff = obj1->curVertData[objModel->unk1C[i]].z;
guMtxXFMF((float(*)[4]) obj1TransformMtx, xDiff, yDiff, zDiff, &xDiff, &yDiff, &zDiff);
guMtxXFMF((float (*)[4]) obj1TransformMtx, xDiff, yDiff, zDiff, &xDiff, &yDiff, &zDiff);
temp = (((f32) objModel->unk1C[i + 1] / 64) * obj1->segment.trans.scale) * 50.0;
xDiff -= obj0->segment.trans.x_position;
yDiff -= obj0->segment.trans.y_position;
@@ -4407,7 +4407,7 @@ void func_8001709C(Object *obj) {
sp78.x_position = -obj->segment.trans.x_position;
sp78.y_position = -obj->segment.trans.y_position;
sp78.z_position = -obj->segment.trans.z_position;
object_inverse_transform_to_matrix((float(*)[4]) sp6C, &sp78);
object_inverse_transform_to_matrix((float (*)[4]) sp6C, &sp78);
inverseScale = 1.0 / obj->segment.trans.scale;
i = 0;
while (i < 16) {
+11 -11
View File
@@ -121,16 +121,16 @@ sndp_set_group_volume = 0x80004A60;
// audio_vehicle.c .text
racer_sound_init = 0x80004B40;
racer_sound_update = 0x800050D0;
func_80005254 = 0x80005254;
racer_sound_car = 0x80005254;
racer_sound_hovercraft = 0x80005D08;
func_800063EC = 0x800063EC;
racer_sound_plane = 0x800063EC;
racer_sound_free = 0x80006AC8;
func_80006BFC = 0x80006BFC;
func_80006FC8 = 0x80006FC8;
sound_vehicle_enable = 0x80007F78;
sound_vehicle_disable = 0x80007F88;
sound_vehicle_check = 0x80007F94;
func_80007FA4 = 0x80007FA4;
racer_sound_doppler_effect = 0x80006BFC;
racer_sound_update_all = 0x80006FC8;
racer_sound_enable = 0x80007F78;
racer_sound_disable = 0x80007F88;
racer_sound_check = 0x80007F94;
log = 0x80007FA4;
// audio_spatial.c .text
audspat_init = 0x80008040;
@@ -2193,8 +2193,8 @@ gNumActiveSounds = 0x800DE054;
// audio_vehicle.c .data
gVehicleSounds = 0x800DE060;
D_800DC6D4 = 0x800DE064;
D_800DC6D8 = 0x800DE068;
gBackgroundSoundSwapTimer = 0x800DE064;
resetAmbient = 0x800DE068;
// audio_spatial.c .data
gNumAudioPoints = 0x800DE070;
@@ -3562,7 +3562,7 @@ gSoundPlayer = 0x8011B640;
gSoundGroupVolume = 0x8011B698;
// audio_vehicle .bss
D_80119C30 = 0x8011B6A0;
gBackgroundRacerSounds = 0x8011B6A0;
gRacerSound = 0x8011B6A8;
gSoundRacerObj = 0x8011B6AC;
gSpatialSoundTable = 0x8011B6B0;
+11 -11
View File
@@ -121,16 +121,16 @@ sndp_set_group_volume = 0x80004A60;
// audio_vehicle.c .text
racer_sound_init = 0x80004B40;
racer_sound_update = 0x800050D0;
func_80005254 = 0x80005254;
racer_sound_car = 0x80005254;
racer_sound_hovercraft = 0x80005D08;
func_800063EC = 0x800063EC;
racer_sound_plane = 0x800063EC;
racer_sound_free = 0x80006AC8;
func_80006BFC = 0x80006BFC;
func_80006FC8 = 0x80006FC8;
sound_vehicle_enable = 0x80007F78;
sound_vehicle_disable = 0x80007F88;
sound_vehicle_check = 0x80007F94;
func_80007FA4 = 0x80007FA4;
racer_sound_doppler_effect = 0x80006BFC;
racer_sound_update_all = 0x80006FC8;
racer_sound_enable = 0x80007F78;
racer_sound_disable = 0x80007F88;
racer_sound_check = 0x80007F94;
log = 0x80007FA4;
// audio_spatial.c .text
audspat_init = 0x80008040;
@@ -2097,8 +2097,8 @@ gSoundPlayerPtr = 0x800DC74C;
gSoundGlobalVolume = 0x800DC750;
gNumActiveSounds = 0x800DC754;
gVehicleSounds = 0x800DC760;
D_800DC6D4 = 0x800DC764;
D_800DC6D8 = 0x800DC768;
gBackgroundSoundSwapTimer = 0x800DC764;
resetAmbient = 0x800DC768;
gNumAudioPoints = 0x800DC770;
gTajChallengeTransition = 0x800DC780;
gBalloonCutsceneTransition = 0x800DC788;
@@ -3302,7 +3302,7 @@ audDMAMessageQ = 0x80119B80;
audDMAMessageBuf = 0x80119B98;
gSoundPlayer = 0x80119C60;
gSoundGroupVolume = 0x80119CB8;
D_80119C30 = 0x80119CC0;
gBackgroundRacerSounds = 0x80119CC0;
gRacerSound = 0x80119CC8;
gSoundRacerObj = 0x80119CCC;
gSpatialSoundTable = 0x80119CD0;
+11 -11
View File
@@ -121,16 +121,16 @@ sndp_set_group_volume = 0x80004A60;
// audio_vehicle.c .text
racer_sound_init = 0x80004B40;
racer_sound_update = 0x800050D0;
func_80005254 = 0x80005254;
racer_sound_car = 0x80005254;
racer_sound_hovercraft = 0x80005D08;
func_800063EC = 0x800063EC;
racer_sound_plane = 0x800063EC;
racer_sound_free = 0x80006AC8;
func_80006BFC = 0x80006BFC;
func_80006FC8 = 0x80006FC8;
sound_vehicle_enable = 0x80007F78;
sound_vehicle_disable = 0x80007F88;
sound_vehicle_check = 0x80007F94;
func_80007FA4 = 0x80007FA4;
racer_sound_doppler_effect = 0x80006BFC;
racer_sound_update_all = 0x80006FC8;
racer_sound_enable = 0x80007F78;
racer_sound_disable = 0x80007F88;
racer_sound_check = 0x80007F94;
log = 0x80007FA4;
// audio_spatial.c .text
audspat_init = 0x80008040;
@@ -2024,8 +2024,8 @@ gSoundPlayerPtr = 0x800DCCBC;
gSoundGlobalVolume = 0x800DCCC0;
gNumActiveSounds = 0x800DCCC4;
gVehicleSounds = 0x800DCCD0;
D_800DC6D4 = 0x800DCCD4;
D_800DC6D8 = 0x800DCCD8;
gBackgroundSoundSwapTimer = 0x800DCCD4;
resetAmbient = 0x800DCCD8;
gNumAudioPoints = 0x800DCCE0;
gTajChallengeTransition = 0x800DCCF0;
gBalloonCutsceneTransition = 0x800DCCF8;
@@ -3232,7 +3232,7 @@ audDMAMessageQ = 0x8011A100;
audDMAMessageBuf = 0x8011A118;
gSoundPlayer = 0x8011A1E0;
gSoundGroupVolume = 0x8011A238;
D_80119C30 = 0x8011A240;
gBackgroundRacerSounds = 0x8011A240;
gRacerSound = 0x8011A248;
gSoundRacerObj = 0x8011A24C;
gSpatialSoundTable = 0x8011A250;
+11 -11
View File
@@ -121,16 +121,16 @@ sndp_set_group_volume = 0x80004A60;
// audio_vehicle.c .text
racer_sound_init = 0x80004B40;
racer_sound_update = 0x800050D0;
func_80005254 = 0x80005254;
racer_sound_car = 0x80005254;
racer_sound_hovercraft = 0x80005D08;
func_800063EC = 0x800063EC;
racer_sound_plane = 0x800063EC;
racer_sound_free = 0x80006AC8;
func_80006BFC = 0x80006BFC;
func_80006FC8 = 0x80006FC8;
sound_vehicle_enable = 0x80007F78;
sound_vehicle_disable = 0x80007F88;
sound_vehicle_check = 0x80007F94;
func_80007FA4 = 0x80007FA4;
racer_sound_doppler_effect = 0x80006BFC;
racer_sound_update_all = 0x80006FC8;
racer_sound_enable = 0x80007F78;
racer_sound_disable = 0x80007F88;
racer_sound_check = 0x80007F94;
log = 0x80007FA4;
// audio_spatial.c .text
audspat_init = 0x80008040;
@@ -2188,8 +2188,8 @@ gNumActiveSounds = 0x800DC6C4;
// audio_vehicle.c .data
gVehicleSounds = 0x800DC6D0;
D_800DC6D4 = 0x800DC6D4;
D_800DC6D8 = 0x800DC6D8;
gBackgroundSoundSwapTimer = 0x800DC6D4;
resetAmbient = 0x800DC6D8;
// audio_spatial.c .data
gNumAudioPoints = 0x800DC6E0;
@@ -3675,7 +3675,7 @@ gSoundPlayer = 0x80119BD0;
gSoundGroupVolume = 0x80119C28;
// audio_vehicle .bss
D_80119C30 = 0x80119C30;
gBackgroundRacerSounds = 0x80119C30;
gRacerSound = 0x80119C38;
gSoundRacerObj = 0x80119C3C;
+11 -11
View File
@@ -121,16 +121,16 @@ sndp_set_group_volume = 0x80004A60;
// audio_vehicle.c .text
racer_sound_init = 0x80004B40;
racer_sound_update = 0x800050D0;
func_80005254 = 0x80005254;
racer_sound_car = 0x80005254;
racer_sound_hovercraft = 0x80005D08;
func_800063EC = 0x800063EC;
racer_sound_plane = 0x800063EC;
racer_sound_free = 0x80006AC8;
func_80006BFC = 0x80006BFC;
func_80006FC8 = 0x80006FC8;
sound_vehicle_enable = 0x80007F78;
sound_vehicle_disable = 0x80007F88;
sound_vehicle_check = 0x80007F94;
func_80007FA4 = 0x80007FA4;
racer_sound_doppler_effect = 0x80006BFC;
racer_sound_update_all = 0x80006FC8;
racer_sound_enable = 0x80007F78;
racer_sound_disable = 0x80007F88;
racer_sound_check = 0x80007F94;
log = 0x80007FA4;
// audio_spatial.c .text
audspat_init = 0x80008040;
@@ -2021,8 +2021,8 @@ gSoundPlayerPtr = 0x800DCC2C;
gSoundGlobalVolume = 0x800DCC30;
gNumActiveSounds = 0x800DCC34;
gVehicleSounds = 0x800DCC40;
D_800DC6D4 = 0x800DCC44;
D_800DC6D8 = 0x800DCC48;
gBackgroundSoundSwapTimer = 0x800DCC44;
resetAmbient = 0x800DCC48;
gNumAudioPoints = 0x800DCC50;
gTajChallengeTransition = 0x800DCC60;
gBalloonCutsceneTransition = 0x800DCC68;
@@ -3228,7 +3228,7 @@ audDMAMessageQ = 0x8011A070;
audDMAMessageBuf = 0x8011A088;
gSoundPlayer = 0x8011A150;
gSoundGroupVolume = 0x8011A1A8;
D_80119C30 = 0x8011A1B0;
gBackgroundRacerSounds = 0x8011A1B0;
gRacerSound = 0x8011A1B8;
gSoundRacerObj = 0x8011A1BC;
gSpatialSoundTable = 0x8011A1C0;