baanim.h documentation
This commit is contained in:
@@ -12,14 +12,14 @@ void func_802B1FD0(s32 arg0){}
|
||||
void bsow_init(void){
|
||||
AnimCtrl *plyr_mvmnt;
|
||||
|
||||
plyr_mvmnt = _player_getAnimCtrlPtr();
|
||||
plyr_mvmnt = baanim_getAnimCtrlPtr();
|
||||
animctrl_reset(plyr_mvmnt);
|
||||
animctrl_setSmoothTransition(plyr_mvmnt, 0);
|
||||
animctrl_setSubRange(plyr_mvmnt, 0.0f, 0.534399986267f);
|
||||
animctrl_setIndex(plyr_mvmnt, ASSET_4D_ANIM_BSOW);
|
||||
animctrl_setDuration(plyr_mvmnt, 1.70000004768f);
|
||||
animctrl_setPlaybackType(plyr_mvmnt, ANIMCTRL_ONCE);
|
||||
func_802875AC(plyr_mvmnt, "bsow.c", 0x50);
|
||||
animctrl_start(plyr_mvmnt, "bsow.c", 0x50);
|
||||
func_80299BFC(1.0f);
|
||||
func_802B360C();
|
||||
baMarker_collisionOff();
|
||||
@@ -37,7 +37,7 @@ void bsow_update(void) {
|
||||
switch(D_8037D4D0){
|
||||
case 0:
|
||||
if (func_8028B254(0x5A) != 0) {
|
||||
func_8028A37C(1.0f);
|
||||
baanim_setEnd(1.0f);
|
||||
D_8037D4D0 = 1;
|
||||
}
|
||||
break;
|
||||
@@ -54,7 +54,7 @@ void bsow_update(void) {
|
||||
if (func_8028B2E8() != 0) {
|
||||
sp1C = BS_2_WALK_SLOW;
|
||||
}
|
||||
if ((player_inWater() != 0) && (func_80297AAC() <= 0.0f)) {
|
||||
if ((player_inWater() != 0) && (_get_vertVelocity() <= 0.0f)) {
|
||||
sp1C = BS_4C_LANDING_IN_WATER;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user