Audio Sfx Functions Decompiled and Documented (code_8019AF00.c) (#1242)

* sfx decomp and docs

* function headers

* namefixer

* oops

* better sfx name

* PR review

* namefixer

* PR review

* float

* namefixer

* namefixer

* namefixer

* PR Suggestions
This commit is contained in:
engineer124
2023-06-21 13:13:51 +10:00
committed by GitHub
parent 7194936203
commit 9c0fc94fe3
256 changed files with 1837 additions and 1401 deletions
+56 -56
View File
@@ -802,14 +802,14 @@
0x800B8E1C:("func_800B8E1C",),
0x800B8E58:("Player_PlaySfx",),
0x800B8EC8:("Actor_PlaySfx",),
0x800B8EF4:("func_800B8EF4",),
0x800B8F98:("func_800B8F98",),
0x800B8FC0:("func_800B8FC0",),
0x800B8FE8:("func_800B8FE8",),
0x800B9010:("func_800B9010",),
0x800B9038:("func_800B9038",),
0x800B9084:("func_800B9084",),
0x800B9098:("func_800B9098",),
0x800B8EF4:("Actor_PlaySfx_SurfaceBomb",),
0x800B8F98:("Actor_PlaySfx_FlaggedCentered1",),
0x800B8FC0:("Actor_PlaySfx_FlaggedCentered2",),
0x800B8FE8:("Actor_PlaySfx_FlaggedCentered3",),
0x800B9010:("Actor_PlaySfx_Flagged",),
0x800B9038:("Actor_PlaySfx_FlaggedTimer",),
0x800B9084:("Actor_PlaySeq_FlaggedKamaroDance",),
0x800B9098:("Actor_PlaySeq_FlaggedMusicBoxHouse",),
0x800B90AC:("func_800B90AC",),
0x800B90F4:("Actor_DeactivateLens",),
0x800B9120:("Actor_InitHalfDaysBit",),
@@ -818,7 +818,7 @@
0x800B948C:("Actor_UpdateActor",),
0x800B9780:("Actor_UpdateAll",),
0x800B9A04:("Actor_Draw",),
0x800B9D1C:("func_800B9D1C",),
0x800B9D1C:("Actor_UpdateFlaggedAudio",),
0x800B9E3C:("Actor_ResetLensActors",),
0x800B9E4C:("Actor_AddToLensActors",),
0x800B9E84:("Actor_DrawLensOverlay",),
@@ -1845,9 +1845,9 @@
0x800FFEBC:("Math_SmoothStepToS",),
0x800FFFD8:("Math_ApproachS",),
0x8010007C:("Color_RGBA8_Copy",),
0x801000A4:("func_801000A4",),
0x801000CC:("func_801000CC",),
0x801000F4:("Lib_PlaySfxAtPos",),
0x801000A4:("Lib_PlaySfx",),
0x801000CC:("Lib_PlaySfx_2",),
0x801000F4:("Lib_PlaySfx_AtPos",),
0x8010011C:("Lib_Vec3f_TranslateAndRotateY",),
0x801001B8:("Lib_LerpRGB",),
0x80100448:("Math_Vec3f_StepTo",),
@@ -3867,40 +3867,40 @@
0x8019EB2C:("AudioSfx_SetProperties",),
0x8019F024:("AudioSfx_SetFreqAndStereoBits",),
0x8019F05C:("AudioSfx_ResetSfxChannelState",),
0x8019F0C8:("play_sound",),
0x8019F128:("func_8019F128",),
0x8019F170:("func_8019F170",),
0x8019F1C0:("Audio_PlaySfxAtPos",),
0x8019F208:("func_8019F208",),
0x8019F230:("func_8019F230",),
0x8019F0C8:("Audio_PlaySfx",),
0x8019F128:("Audio_PlaySfx_2",),
0x8019F170:("Audio_PlaySfx_AtPosWithPresetLowFreqAndHighReverb",),
0x8019F1C0:("Audio_PlaySfx_AtPos",),
0x8019F208:("Audio_PlaySfx_MessageDecide",),
0x8019F230:("Audio_PlaySfx_MessageCancel",),
0x8019F258:("AudioSfx_AddSfxSetting",),
0x8019F300:("AudioSfx_ProcessSfxSettings",),
0x8019F420:("func_8019F420",),
0x8019F4AC:("func_8019F4AC",),
0x8019F540:("func_8019F540",),
0x8019F420:("Audio_PlaySfx_Underwater",),
0x8019F4AC:("Audio_PlaySfx_WithSfxSettingsReverb",),
0x8019F540:("Audio_SetSfxUnderwaterReverb",),
0x8019F570:("AudioSfx_LowerSfxSettingsReverb",),
0x8019F5AC:("func_8019F5AC",),
0x8019F638:("func_8019F638",),
0x8019F780:("func_8019F780",),
0x8019F7D8:("func_8019F7D8",),
0x8019F830:("func_8019F830",),
0x8019F88C:("func_8019F88C",),
0x8019F900:("func_8019F900",),
0x8019FA18:("func_8019FA18",),
0x8019FAD8:("func_8019FAD8",),
0x8019FB0C:("func_8019FB0C",),
0x8019FC20:("func_8019FC20",),
0x8019FCB8:("func_8019FCB8",),
0x8019FD90:("func_8019FD90",),
0x8019FDC8:("func_8019FDC8",),
0x8019FE1C:("func_8019FE1C",),
0x8019FE74:("func_8019FE74",),
0x8019FEDC:("func_8019FEDC",),
0x8019FF38:("func_8019FF38",),
0x8019FF9C:("Audio_PlaySfxForRiver",),
0x801A0048:("Audio_PlaySfxForWaterfall",),
0x8019F5AC:("Audio_SetSyncedSfxFreqAndVolume",),
0x8019F638:("Audio_PlaySfx_AtPosForMetalEffectsWithSyncedFreqAndVolume",),
0x8019F780:("Audio_PlaySfx_AtPosWithSyncedFreqAndVolume",),
0x8019F7D8:("Audio_PlaySfx_GiantsMaskUnused",),
0x8019F830:("Audio_PlaySfx_GiantsMask",),
0x8019F88C:("Audio_PlaySfx_Randomized",),
0x8019F900:("Audio_PlaySfx_SwordCharge",),
0x8019FA18:("Audio_PlaySfx_AtPosWithFreqAndVolume",),
0x8019FAD8:("Audio_PlaySfx_AtPosWithFreq",),
0x8019FB0C:("Audio_PlaySfx_AtPosWithFreqAndChannelIO",),
0x8019FC20:("Audio_PlaySfx_WaterWheel",),
0x8019FCB8:("Audio_PlaySfx_AtPosWithTimer",),
0x8019FD90:("Audio_SetSfxTimerLerpInterval",),
0x8019FDC8:("Audio_PlaySfx_AtPosWithReverb",),
0x8019FE1C:("Audio_PlaySfx_AtPosWithVolume",),
0x8019FE74:("Audio_SetSfxVolumeTransition",),
0x8019FEDC:("Audio_UpdateSfxVolumeTransition",),
0x8019FF38:("Audio_PlaySfx_FishingReel",),
0x8019FF9C:("Audio_PlaySfx_River",),
0x801A0048:("Audio_PlaySfx_Waterfall",),
0x801A00EC:("Audio_StepFreqLerp",),
0x801A0124:("func_801A0124",),
0x801A0124:("Audio_PlaySfx_BigBells",),
0x801A0184:("Audio_SetBgmVolumeOff",),
0x801A01C4:("Audio_SetBgmVolumeOn",),
0x801A0204:("func_801A0204",),
@@ -3909,12 +3909,12 @@
0x801A0318:("Audio_SetGanonsTowerBgmVolume",),
0x801A0450:("Audio_LowerMainBgmVolume",),
0x801A046C:("Audio_UpdateRiverSoundVolumes",),
0x801A0554:("func_801A0554",),
0x801A05E4:("func_801A05E4",),
0x801A05F0:("func_801A05F0",),
0x801A0554:("Audio_PlaySfx_IncreasinglyTransposed",),
0x801A05E4:("Audio_ResetIncreasingTranspose",),
0x801A05F0:("Audio_PlaySfx_Transposed",),
0x801A0654:("AudioSfx_SetChannelIO",),
0x801A0810:("func_801A0810",),
0x801A0868:("func_801A0868",),
0x801A0810:("Audio_PlaySfx_AtPosWithChannelIO",),
0x801A0868:("Audio_PlaySfx_AtPosWithAllChannelsIO",),
0x801A09D4:("func_801A09D4",),
0x801A0C70:("Audio_ClearSariaBgm",),
0x801A0C90:("Audio_ClearSariaBgmAtPos",),
@@ -3969,35 +3969,35 @@
0x801A39F8:("func_801A39F8",),
0x801A3A7C:("func_801A3A7C",),
0x801A3AC0:("func_801A3AC0",),
0x801A3AEC:("func_801A3AEC",),
0x801A3AEC:("Audio_PlaySfx_PauseMenuOpenOrClose",),
0x801A3B48:("func_801A3B48",),
0x801A3B90:("func_801A3B90",),
0x801A3CD8:("func_801A3CD8",),
0x801A3CF4:("func_801A3CF4",),
0x801A3D54:("func_801A3D54",),
0x801A3D54:("Audio_PlaySfx_SurroundSoundTest",),
0x801A3D98:("func_801A3D98",),
0x801A3E38:("func_801A3E38",),
0x801A3EC0:("func_801A3EC0",),
0x801A3F54:("Audio_SetCutsceneFlag",),
0x801A3F6C:("func_801A3F6C",),
0x801A3FB4:("func_801A3FB4",),
0x801A3FFC:("func_801A3FFC",),
0x801A3F6C:("Audio_PlaySfx_IfNotInCutsceneImpl",),
0x801A3FB4:("Audio_PlaySfx_IfNotInCutscene",),
0x801A3FFC:("Audio_MuteSfxAndAmbienceSeqExceptOcarinaAndSystem",),
0x801A400C:("Audio_SetSpec",),
0x801A4058:("func_801A4058",),
0x801A41C8:("func_801A41C8",),
0x801A41F8:("func_801A41F8",),
0x801A429C:("func_801A429C",),
0x801A429C:("Audio_StartSfxPlayer",),
0x801A42C8:("func_801A42C8",),
0x801A4324:("func_801A4324",),
0x801A4348:("func_801A4348",),
0x801A4380:("Audio_SetSfxVolumeExceptSystemAndOcarinaBanks",),
0x801A4428:("func_801A4428",),
0x801A4428:("Audio_SetSfxReverbIndexExceptOcarinaBank",),
0x801A44A4:("Audio_PreNMI",),
0x801A44C4:("Audio_ResetRequestedSceneSeqId",),
0x801A44D4:("Audio_ResetData",),
0x801A46F8:("func_801A46F8",),
0x801A4748:("func_801A4748",),
0x801A479C:("func_801A479C",),
0x801A4748:("Audio_PlaySfx_AtFixedPos",),
0x801A479C:("Audio_PlaySfx_AtPosWithVolumeTransition",),
0x801A47DC:("Audio_SetAmbienceChannelIO",),
0x801A48E0:("Audio_StartAmbience",),
0x801A4A28:("Audio_PlayAmbience",),
+1 -1
View File
@@ -2250,7 +2250,7 @@
0x801D66A0:("sEnterGanonsTowerTimer","UNK_TYPE1","",0x1),
0x801D66A4:("sSfxVolumeDuration","UNK_TYPE2","",0x2),
0x801D66A8:("sSoundMode","UNK_TYPE1","",0x1),
0x801D66AC:("sAudioIsWindowOpen","UNK_TYPE1","",0x1),
0x801D66AC:("sAudioPauseMenuOpenOrClose","UNK_TYPE1","",0x1),
0x801D66B0:("sAudioCutsceneFlag","UNK_TYPE1","",0x1),
0x801D66B4:("sSpecReverb","UNK_TYPE1","",0x1),
0x801D66B8:("sAudioEnvReverb","UNK_TYPE1","",0x1),