Function and Enum Naming

Enum Changes:

BSGROUP_4_LOOK = 0x4

MISC_FLAG_17_FPV = 0x17

Moved nc_first_person_state to global enums.h

Function names:

func_8028EE84() -> player_getWaterState()

func_8028B2E8() -> player_isStable()

func_80294F78() -> should_look_first_person_camera()

func_80294F78() -> can_view_first_person()

func_8028B424() -> player_isFallTumbling()

func_8029C780() -> bs_getTypeOfJump()

func_8028DB14() -> hitbox_getHitboxForActor()
This commit is contained in:
Shmoopi
2024-09-02 08:40:25 -10:00
parent 98e97f4e95
commit 1bf68887e6
62 changed files with 216 additions and 217 deletions

View File

@@ -48,7 +48,7 @@ void bsbshock_charge_update(void){
AnimCtrl *aCtrl = baanim_getAnimCtrlPtr();
f32 sp1C[3];
if(func_8028B2E8()){
if(player_isStable()){
if(func_8023DB5C() % 2)
func_8029C348();
}
@@ -64,7 +64,7 @@ void bsbshock_charge_update(void){
switch(D_8037D381){
case 0:
if(func_8028B424())
if(player_isFallTumbling())
sp2C = BS_3D_FALL_TUMBLING;
if(func_8028B254(0x82)){
@@ -90,7 +90,7 @@ void bsbshock_charge_update(void){
if(animctrl_getAnimTimer(aCtrl) < 0.3637 && button_released(8)){
D_8037D380 = 0;
}//L802A6CF4
if(func_8028B2E8())
if(player_isStable())
baphysics_set_target_horizontal_velocity(0.0f);
}
else{//L802A6D18
@@ -172,8 +172,8 @@ void bsbshock_update(void){
sp2C = BS_2F_FALL;
}
if(!func_8028B2E8()){
if(func_8028B424())
if(!player_isStable()){
if(player_isFallTumbling())
sp2C = BS_3D_FALL_TUMBLING;
if(should_feathery_flap())