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

Function BBounceToJumpCB

src/SB/Game/zEntPlayer.cpp:1709–1724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1707}
1708
1709static U32 BBounceToJumpCB(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1710{
1711 zEntPlayerJumpStart(&globals.player.ent, &globals.player.s->Jump);
1712
1713 startDouble = globals.player.ent.frame->mat.pos.y;
1714 startJump = startDouble;
1715 globals.player.CanJump = 0;
1716 globals.player.IsJumping = 1;
1717 globals.player.Jump_CanDouble = 1;
1718 globals.player.IsDJumping = 0;
1719
1720 zCameraSetBbounce(false);
1721 zEntPlayer_SNDStop(ePlayerSnd_BubbleBashStart);
1722 zEntPlayer_SNDPlay(ePlayerSnd_BubbleBashHit1, 0.0f);
1723 return 0;
1724}
1725
1726static U32 BbowlCheck(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1727{

Callers

nothing calls this directly

Calls 4

zEntPlayerJumpStartFunction · 0.85
zCameraSetBbounceFunction · 0.85
zEntPlayer_SNDStopFunction · 0.85
zEntPlayer_SNDPlayFunction · 0.85

Tested by

no test coverage detected