refac: rename func_8030D90C to sfxsource_createSfxsourceAndReturnIndex and func_8030DBB4 to sfxsource_playSfxAtVolume
Additionally rename properties/variables assigned by sfxsource_createSfxsourceAndReturnIndex to sfxsourceIdx
This commit is contained in:
@@ -49,14 +49,14 @@ void func_8029099C(void){
|
||||
}
|
||||
|
||||
void func_802909C4(void){
|
||||
D_8037C040 = func_8030D90C();
|
||||
D_8037C040 = sfxsource_createSfxsourceAndReturnIndex();
|
||||
D_8037C050.unk0 = 1.0f;
|
||||
|
||||
D_8037C048.unk4 = D_8037C050.unk4 = 13000;
|
||||
D_8037C048.unk0 = D_8037C050.unk0;
|
||||
sfxsource_setSfxId(D_8037C040, 0x3fa);
|
||||
func_8030DD14(D_8037C040, 2);
|
||||
func_8030DBB4(D_8037C040, D_8037C048.unk0);
|
||||
sfxsource_playSfxAtVolume(D_8037C040, D_8037C048.unk0);
|
||||
sfxsource_setSampleRate(D_8037C040, D_8037C048.unk4);
|
||||
D_8037C058 = 0.0f;
|
||||
}
|
||||
@@ -65,7 +65,7 @@ void func_80290A6C(void){
|
||||
D_8037C058 += time_getDelta();
|
||||
D_8037C048.unk0 = func_80290920(D_8037C048.unk0, D_8037C050.unk0, 0.3f);
|
||||
D_8037C048.unk4 = func_80290920((f32)D_8037C048.unk4, (f32)D_8037C050.unk4, 100.0f);
|
||||
func_8030DBB4(D_8037C040, func_80290890(D_8037C058) + D_8037C048.unk0);
|
||||
sfxsource_playSfxAtVolume(D_8037C040, func_80290890(D_8037C058) + D_8037C048.unk0);
|
||||
sfxsource_setSampleRate(D_8037C040, D_8037C048.unk4);
|
||||
func_8030E2C4(D_8037C040);
|
||||
}
|
||||
|
Reference in New Issue
Block a user