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

@@ -3,6 +3,8 @@
#include "variables.h"
#include "bsint.h"
#include "core2/ba/physics.h"
void func_80292900(f32, f32);
void rumbleManager_80250D94(f32, f32, f32);
@@ -21,7 +23,7 @@ void func_802B4570(void) {
void bssplat_init(void){
s32 sp1C;
baanim_playForDuration_onceSmooth(ASSET_149_ANIM_BSSPLAT, 1.1f);
func_8029C7F4(1,1,3,3);
func_8029C7F4(1,1,3, BA_PHYSICS_LOCKED_ROTATION);
func_802931DC(&sp1C);
func_803463D4(ITEM_14_HEALTH, -sp1C);
if(func_8029CEB0() == 4){
@@ -45,12 +47,12 @@ void bssplat_init(void){
void bssplat_update(void){
enum bs_e sp1C = 0;
AnimCtrl *aCtrl = baanim_getAnimCtrlPtr();
func_80297970(ml_max_f(0.0f, func_80297A64() - 15.0f));
baphysics_set_target_horizontal_velocity(ml_max_f(0.0f, baphysics_get_target_horizontal_velocity() - 15.0f));
switch (D_8037D530)
{
case 0://L802B4760
if(140.0f < func_80297A64())
if(140.0f < baphysics_get_target_horizontal_velocity())
func_802929F8();
if(func_8028B094())