mirror of
https://github.com/zeldaret/oot
synced 2026-07-01 12:08:53 -04:00
Document z_lib Sfx Functions (#1470)
* document lib sfx * rename functions
This commit is contained in:
+14
-4
@@ -590,16 +590,26 @@ void Color_RGBA8_Copy(Color_RGBA8* dst, Color_RGBA8* src) {
|
||||
dst->a = src->a;
|
||||
}
|
||||
|
||||
void func_80078884(u16 sfxId) {
|
||||
/**
|
||||
* Play a sound effect at the center of the screen.
|
||||
*/
|
||||
void Sfx_PlaySfxCentered(u16 sfxId) {
|
||||
Audio_PlaySfxGeneral(sfxId, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale,
|
||||
&gSfxDefaultReverb);
|
||||
}
|
||||
|
||||
void func_800788CC(u16 sfxId) {
|
||||
/**
|
||||
* Play a sound effect at the center of the screen. Identical to `Sfx_PlaySfxCentered`.
|
||||
*/
|
||||
void Sfx_PlaySfxCentered2(u16 sfxId) {
|
||||
Audio_PlaySfxGeneral(sfxId, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale,
|
||||
&gSfxDefaultReverb);
|
||||
}
|
||||
|
||||
void func_80078914(Vec3f* arg0, u16 sfxId) {
|
||||
Audio_PlaySfxGeneral(sfxId, arg0, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb);
|
||||
/**
|
||||
* Play a sound effect at the requested position.
|
||||
*/
|
||||
void Sfx_PlaySfxAtPos(Vec3f* projectedPos, u16 sfxId) {
|
||||
Audio_PlaySfxGeneral(sfxId, projectedPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale,
|
||||
&gSfxDefaultReverb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user