documentation: core2/ba/physics

This commit is contained in:
Banjo Kazooie
2024-06-16 22:36:36 -05:00
parent 8fe5c3b4d1
commit 092de6aae3
208 changed files with 2342 additions and 2163 deletions

View File

@@ -1,6 +1,7 @@
#include <ultra64.h>
#include "functions.h"
#include "variables.h"
#include "core2/ba/physics.h"
extern Actor *func_8032813C(enum actor_e, f32[3], s32);
@@ -75,10 +76,10 @@ enum hitbox_e func_8028DB14(ActorMarker *arg0){
break;
case BS_5_JUMP://8028DCD8
case BS_3D_FALL_TUMBLING:
if(_get_vertVelocity() < 0.0f && !func_8028B2E8())
if(baphysics_get_vertical_velocity() < 0.0f && !func_8028B2E8())
return HITBOX_A_FAST_FALLING;
case BS_2F_FALL://8028DD10
if(_get_vertVelocity() < -1400.0f && !func_8028B2E8())
if(baphysics_get_vertical_velocity() < -1400.0f && !func_8028B2E8())
return HITBOX_A_FAST_FALLING;
default://8028DD4C
return HITBOX_0_NONE;