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

Function BBounceStrikeCB

src/SB/Game/zEntPlayer.cpp:1694–1702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1692}
1693
1694static U32 BBounceStrikeCB(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1695{
1696 zEntPlayer_SNDStop(ePlayerSnd_BubbleBashStart);
1697 zEntPlayer_SNDPlay(ePlayerSnd_BounceStrike, 0.0f);
1698 zFX_SpawnBubbleSlam((xVec3*)&globals.player.ent.model->Mat->pos, 100, 0.15f, 12.0f, 2.0f);
1699 zCameraSetBbounce(false);
1700 zRumbleStart(SDR_Bounce);
1701 return 0;
1702}
1703
1704static U32 BBounceToJumpCheck(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1705{

Callers

nothing calls this directly

Calls 5

zEntPlayer_SNDStopFunction · 0.85
zEntPlayer_SNDPlayFunction · 0.85
zFX_SpawnBubbleSlamFunction · 0.85
zCameraSetBbounceFunction · 0.85
zRumbleStartFunction · 0.85

Tested by

no test coverage detected