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:
@@ -269,7 +269,7 @@ void chSnowman_update(Actor *this){
|
||||
else{//L802E2380
|
||||
if( __chSnowman_isPlayerInAttackRange(this, 500, 2750)
|
||||
&& __chSnowman_isYawNearYawTarget(this, 3)
|
||||
&& func_8028EE84() != BSWATERGROUP_2_UNDERWATER
|
||||
&& player_getWaterState() != BSWATERGROUP_2_UNDERWATER
|
||||
&& !__chSnowman_CCW_playerInProtectedZone()
|
||||
){
|
||||
subaddie_set_state_with_direction(this, CHSNOWMAN_STATE_2_ATTACK, 0.01f, 1);
|
||||
@@ -285,7 +285,7 @@ void chSnowman_update(Actor *this){
|
||||
else if(
|
||||
0.98 < animctrl_getAnimTimer(this->animctrl)
|
||||
|| !__chSnowman_isPlayerInAttackRange(this, 500, 2750)
|
||||
|| func_8028EE84() == BSWATERGROUP_2_UNDERWATER
|
||||
|| player_getWaterState() == BSWATERGROUP_2_UNDERWATER
|
||||
|| __chSnowman_CCW_playerInProtectedZone()
|
||||
){
|
||||
__chSnowman_enterIdle(this);
|
||||
|
||||
Reference in New Issue
Block a user