MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / BubbleBounceCB

Function BubbleBounceCB

src/SB/Game/zEntPlayer.cpp:1666–1681  ·  view source on GitHub ↗

equivalent: sda relocation memes

Source from the content-addressed store, hash-verified

1664
1665// equivalent: sda relocation memes
1666static U32 BubbleBounceCB(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1667{
1668 zCameraSetBbounce(true);
1669
1670 globals.player.ent.frame->vel.x = 0.0f;
1671 globals.player.ent.frame->vel.y = 0.0f;
1672 globals.player.ent.frame->vel.z = 0.0f;
1673
1674 tslide_inair_tmr = 0.0f;
1675 tslide_dbl_tmr = 0.0f;
1676 tslide_ground = 0;
1677 globals.player.SlideTrackDecay = 0.0f;
1678 bbounce_hit = 0;
1679
1680 return 0;
1681}
1682
1683static U32 BBounceAttackCB(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1684{

Callers

nothing calls this directly

Calls 1

zCameraSetBbounceFunction · 0.85

Tested by

no test coverage detected