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:
@@ -78,7 +78,7 @@ void MMM_func_8038ADF0(Struct_MMM_47D0_0 *arg0, Struct68s *arg1) {
|
||||
sp3F = func_80351758(arg1);
|
||||
sfxsource_setSfxId(sp3F, SFX_3EC_CCW_DOOR_OPENING);
|
||||
func_8030DD14(sp3F, 3);
|
||||
func_8030DBB4(sp3F, 0.6f);
|
||||
sfxsource_playSfxAtVolume(sp3F, 0.6f);
|
||||
sfxsource_setSampleRate(sp3F, 0);
|
||||
func_8030E2C4(sp3F);
|
||||
func_8035179C(arg1, sp28);
|
||||
|
@@ -76,7 +76,7 @@ void func_8038B630(Struct5Fs *arg0, Struct68s *arg1){
|
||||
sp20 = alCents2Ratio(func_80389BBC()*100);
|
||||
phi_s0 = func_80351758(arg1);
|
||||
func_8030E394(phi_s0);
|
||||
func_8030DBB4(phi_s0, sp20);
|
||||
sfxsource_playSfxAtVolume(phi_s0, sp20);
|
||||
sfxsource_setSfxId(phi_s0, 0x3f3);
|
||||
func_8030DD14(phi_s0, 3);
|
||||
sfxsource_setSampleRate(phi_s0, 0x7fff);
|
||||
|
Reference in New Issue
Block a user