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:
@@ -32,7 +32,7 @@ void bsbflap_init(void) {
|
||||
func_8029E070(1);
|
||||
miscFlag_set(MISC_FLAG_12_HAS_FLAPPED);
|
||||
func_8029E3C0(0, 2.5f);
|
||||
D_8037D30C = func_8030D90C();
|
||||
D_8037D30C = sfxsource_createSfxsourceAndReturnIndex();
|
||||
func_80299BD4();
|
||||
D_8037D301 = 0;
|
||||
D_8037D308 = 0.0f;
|
||||
@@ -42,7 +42,7 @@ void bsbflap_init(void) {
|
||||
void func_802A2790(s32 arg0, f32 arg1, s32 arg2) {
|
||||
func_8030E394(D_8037D30C);
|
||||
sfxsource_setSfxId(D_8037D30C, arg0);
|
||||
func_8030DBB4(D_8037D30C, arg1);
|
||||
sfxsource_playSfxAtVolume(D_8037D30C, arg1);
|
||||
sfxsource_setSampleRate(D_8037D30C, arg2);
|
||||
func_8030DD90(D_8037D30C, 0);
|
||||
func_8030DD14(D_8037D30C, 3);
|
||||
|
@@ -118,7 +118,7 @@ void __bsblongleg_enter(void){
|
||||
}
|
||||
|
||||
void bsblongleg_enter_init(void){
|
||||
D_8037D361 = func_8030D90C();
|
||||
D_8037D361 = sfxsource_createSfxsourceAndReturnIndex();
|
||||
sfxsource_setSfxId(D_8037D361, SFX_2C_PULLING_NOISE);
|
||||
func_8030E04C(D_8037D361, 0.8f, 1.9f, 1.2f);
|
||||
miscFlag_clear(MISC_FLAG_E_TOUCHING_WADING_BOOTS);
|
||||
@@ -275,7 +275,7 @@ void bsblongleg_exit_init(void){
|
||||
baanim_setUpdateType(BAANIM_UPDATE_1_NORMAL);
|
||||
func_8029957C(2);
|
||||
baphysics_set_target_horizontal_velocity(0.0f);
|
||||
D_8037D361 = func_8030D90C();
|
||||
D_8037D361 = sfxsource_createSfxsourceAndReturnIndex();
|
||||
sfxsource_setSfxId(D_8037D361, SFX_2C_PULLING_NOISE);
|
||||
func_8030E04C(D_8037D361, 1.4f, 0.4f, -1.2f);
|
||||
}
|
||||
|
@@ -34,7 +34,7 @@ void bsbshock_charge_init(void){
|
||||
func_8029E064(1);
|
||||
func_8029E070(1);
|
||||
func_80299BD4();
|
||||
D_8037D382 = func_8030D90C();
|
||||
D_8037D382 = sfxsource_createSfxsourceAndReturnIndex();
|
||||
sfxsource_setSfxId(D_8037D382, SFX_2C_PULLING_NOISE);
|
||||
func_8030E04C(D_8037D382, 1.4f, 0.4f, -1.2f);
|
||||
baModel_80292158(-50.0f);
|
||||
|
Reference in New Issue
Block a user