1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-18 13:00:23 +00:00

Document z_lib Sfx Functions (#1470)

* document lib sfx

* rename functions
This commit is contained in:
engineer124 2023-08-15 15:44:20 +10:00 committed by GitHub
parent 18d609c1a3
commit b8aa2a251e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
112 changed files with 399 additions and 388 deletions

View file

@ -20,7 +20,7 @@ void DemoGt_Destroy(Actor* thisx, PlayState* play) {
}
void DemoGt_PlayEarthquakeSfx(void) {
func_800788CC(NA_SE_EV_EARTHQUAKE - SFX_FLAG);
Sfx_PlaySfxCentered2(NA_SE_EV_EARTHQUAKE - SFX_FLAG);
}
void DemoGt_PlayExplosion1Sfx(PlayState* play, Vec3f* pos) {
@ -1189,7 +1189,7 @@ void func_80980F58(DemoGt* this, PlayState* play) {
u16 csCurFrame = play->csCtx.curFrame;
if (csCurFrame == 244) {
func_80078914(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
Sfx_PlaySfxAtPos(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
}
}
@ -1312,7 +1312,7 @@ void func_80981424(DemoGt* this, PlayState* play) {
u16 csCurFrame = play->csCtx.curFrame;
if (csCurFrame == 789) {
func_80078914(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
Sfx_PlaySfxAtPos(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
}
}
@ -1430,7 +1430,7 @@ void func_809818FC(DemoGt* this, PlayState* play) {
u16 csCurFrame = play->csCtx.curFrame;
if (csCurFrame == 845) {
func_80078914(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
Sfx_PlaySfxAtPos(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
}
}
void func_80981930(DemoGt* this, PlayState* play) {
@ -1521,7 +1521,7 @@ void func_80981CEC(DemoGt* this, PlayState* play) {
u16 csCurFrame = play->csCtx.curFrame;
if (csCurFrame == 183) {
func_80078914(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
Sfx_PlaySfxAtPos(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
}
}
@ -1612,7 +1612,7 @@ void func_809820AC(DemoGt* this, PlayState* play) {
u16 csCurFrame = play->csCtx.curFrame;
if (csCurFrame == 154) {
func_80078914(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
Sfx_PlaySfxAtPos(&this->dyna.actor.projectedPos, NA_SE_EV_TOWER_PARTS_BROKEN - SFX_FLAG);
}
}