mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 20:05:02 +00:00
Document z_lib Sfx Functions (#1470)
* document lib sfx * rename functions
This commit is contained in:
parent
18d609c1a3
commit
b8aa2a251e
112 changed files with 399 additions and 388 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue