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

Function TongueDblJumpCB

src/SB/Game/zEntPlayer.cpp:2419–2426  ·  view source on GitHub ↗

equivalent: sda relocation optimization

Source from the content-addressed store, hash-verified

2417
2418// equivalent: sda relocation optimization
2419static U32 TongueDblJumpCB(xAnimTransition* tran, xAnimSingle* anim, void* data)
2420{
2421 DblJumpCB(tran, anim, data);
2422 sTongueDblSpeedMult =
2423 (1.1f * (2.0f * anim->State->Data->Duration - anim->Time)) / anim->State->Data->Duration;
2424 anim->CurrentSpeed *= sTongueDblSpeedMult;
2425 return 0;
2426}
2427
2428static U32 TongueDblSpinCB(xAnimTransition*, xAnimSingle* anim, void*)
2429{

Callers

nothing calls this directly

Calls 1

DblJumpCBFunction · 0.70

Tested by

no test coverage detected