diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2022-04-24 00:55:18 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-23 10:55:18 -0400 |
| commit | ef870bdd11c07ade54f0c92fa3470eed43ba12e4 (patch) | |
| tree | 31d9085c5918c26669b32a0b3317515ce7bf6185 /src/code/z_lib.c | |
| parent | 1e03b662f2a1d7ea5221695facb33b09eb6c0754 (diff) | |
Name variables for Audio_PlaySoundGeneral (#1198)
* Rename variables and function
* Improve comment
* PR Suggestion
* PR Suggestions
* Revert back to `Audio_PlaySoundGeneral`, make a separate PR `Sound` -> `Sfx`
* Oops, fixed that
Diffstat (limited to 'src/code/z_lib.c')
| -rw-r--r-- | src/code/z_lib.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/code/z_lib.c b/src/code/z_lib.c index 190af64a6..90df45b91 100644 --- a/src/code/z_lib.c +++ b/src/code/z_lib.c @@ -568,13 +568,16 @@ void Color_RGBA8_Copy(Color_RGBA8* dst, Color_RGBA8* src) { } void func_80078884(u16 sfxId) { - Audio_PlaySoundGeneral(sfxId, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8); + Audio_PlaySoundGeneral(sfxId, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale, + &gSfxDefaultReverb); } void func_800788CC(u16 sfxId) { - Audio_PlaySoundGeneral(sfxId, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8); + Audio_PlaySoundGeneral(sfxId, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale, + &gSfxDefaultReverb); } void func_80078914(Vec3f* arg0, u16 sfxId) { - Audio_PlaySoundGeneral(sfxId, arg0, 4, &D_801333E0, &D_801333E0, &D_801333E8); + Audio_PlaySoundGeneral(sfxId, arg0, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale, + &gSfxDefaultReverb); } |
