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

Function LassoSwingCB

src/SB/Game/zEntPlayer.cpp:3496–3507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3494}
3495
3496static U32 LassoSwingCB(xAnimTransition*, xAnimSingle* anim, void*)
3497{
3498 sLasso->flags = 0xc21;
3499 zLasso_ResetTimer(sLasso, 0.0f);
3500
3501 anim->BilinearLerp[0] = 1.0f;
3502 anim->Blend->BilinearLerp[0] = 1.0f;
3503
3504 zCameraEnableLassoCam();
3505 zCameraSetLassoCamFactor(1.0f);
3506 return 0;
3507}
3508
3509// Equivalent: sda/float scheduling crap
3510static U32 LassoSwingGroundedCB(xAnimTransition*, xAnimSingle*, void*)

Callers

nothing calls this directly

Calls 3

zLasso_ResetTimerFunction · 0.85
zCameraEnableLassoCamFunction · 0.85
zCameraSetLassoCamFactorFunction · 0.85

Tested by

no test coverage detected