summaryrefslogtreecommitdiff
path: root/src/code/z_lib.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-06-21 13:13:51 +1000
committerGitHub <noreply@github.com>2023-06-20 23:13:51 -0400
commit9c0fc94fe3c331fb125a4e4c23409f527f35c023 (patch)
tree88adb904c63873b98e410ac3e0f1dc5df596b72c /src/code/z_lib.c
parent7194936203917389a013c35be24d1675d8044a0f (diff)
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
Diffstat (limited to 'src/code/z_lib.c')
-rw-r--r--src/code/z_lib.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/code/z_lib.c b/src/code/z_lib.c
index f3e67e5f3..553c5d133 100644
--- a/src/code/z_lib.c
+++ b/src/code/z_lib.c
@@ -639,16 +639,17 @@ void Color_RGBA8_Copy(Color_RGBA8* dst, Color_RGBA8* src) {
dst->a = src->a;
}
-void func_801000A4(u16 sfxId) {
- play_sound(sfxId);
+void Lib_PlaySfx(u16 sfxId) {
+ Audio_PlaySfx(sfxId);
}
-void func_801000CC(u16 sfxId) {
- func_8019F128(sfxId);
+void Lib_PlaySfx_2(u16 sfxId) {
+ Audio_PlaySfx_2(sfxId);
}
-void Lib_PlaySfxAtPos(Vec3f* pos, u16 sfxId) {
- Audio_PlaySfxAtPos(pos, sfxId);
+// Unused
+void Lib_PlaySfx_AtPos(Vec3f* pos, u16 sfxId) {
+ Audio_PlaySfx_AtPos(pos, sfxId);
}
void Lib_Vec3f_TranslateAndRotateY(Vec3f* translation, s16 rotAngle, Vec3f* src, Vec3f* dst) {