mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 21:40:03 +00:00
Naming a function (#2124)
* Naming a function * Naming function * Update functions.txt * Update function name * Update function name * Update function name * Update function name
This commit is contained in:
parent
acb5c7f20c
commit
0b011033fc
3 changed files with 5 additions and 5 deletions
|
@ -133,7 +133,7 @@ void Audio_ProcessSfxRequest(void);
|
|||
void Audio_ChooseActiveSfx(u8 bankId);
|
||||
void Audio_PlayActiveSfx(u8 bankId);
|
||||
void Audio_StopSfxByBank(u8 bankId);
|
||||
void func_800F8884(u8 bankId, Vec3f* pos);
|
||||
void Audio_RemoveSfxFromBankByPos(u8 bankId, Vec3f* pos);
|
||||
void Audio_StopSfxByPosAndBank(u8 bankId, Vec3f* pos);
|
||||
void Audio_StopSfxByPos(Vec3f* pos);
|
||||
void Audio_StopSfxByPosAndId(Vec3f* pos, u16 sfxId);
|
||||
|
|
|
@ -533,7 +533,7 @@ void Audio_StopSfxByBank(u8 bankId) {
|
|||
Audio_RemoveMatchingSfxRequests(0, &cmp);
|
||||
}
|
||||
|
||||
void func_800F8884(u8 bankId, Vec3f* pos) {
|
||||
void Audio_RemoveSfxFromBankByPos(u8 bankId, Vec3f* pos) {
|
||||
SfxBankEntry* entry;
|
||||
u8 entryIndex = gSfxBanks[bankId][0].next;
|
||||
u8 prevEntryIndex = 0;
|
||||
|
@ -557,7 +557,7 @@ void func_800F8884(u8 bankId, Vec3f* pos) {
|
|||
void Audio_StopSfxByPosAndBank(u8 bankId, Vec3f* pos) {
|
||||
SfxBankEntry cmp;
|
||||
|
||||
func_800F8884(bankId, pos);
|
||||
Audio_RemoveSfxFromBankByPos(bankId, pos);
|
||||
cmp.sfxId = bankId << 12;
|
||||
cmp.posX = &pos->x;
|
||||
Audio_RemoveMatchingSfxRequests(1, &cmp);
|
||||
|
@ -568,7 +568,7 @@ void Audio_StopSfxByPos(Vec3f* pos) {
|
|||
SfxBankEntry cmp;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(gSfxBanks); i++) {
|
||||
func_800F8884(i, pos);
|
||||
Audio_RemoveSfxFromBankByPos(i, pos);
|
||||
}
|
||||
cmp.posX = &pos->x;
|
||||
Audio_RemoveMatchingSfxRequests(2, &cmp);
|
||||
|
|
|
@ -2795,7 +2795,7 @@ Audio_RemoveSfxBankEntry = 0x800C8F78; // type:func
|
|||
Audio_ChooseActiveSfx = 0x800C9110; // type:func
|
||||
Audio_PlayActiveSfx = 0x800C9844; // type:func
|
||||
Audio_StopSfxByBank = 0x800C9B64; // type:func
|
||||
func_800F8884 = 0x800C9C48; // type:func
|
||||
Audio_RemoveSfxFromBankByPos = 0x800C9C48; // type:func
|
||||
Audio_StopSfxByPosAndBank = 0x800C9D64; // type:func
|
||||
Audio_StopSfxByPos = 0x800C9DAC; // type:func
|
||||
Audio_StopSfxByPosAndId = 0x800C9E08; // type:func
|
||||
|
|
Loading…
Reference in a new issue