MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetLaraMonkeyFallAnimation

Function SetLaraMonkeyFallAnimation

TombEngine/Game/Lara/lara_helpers.cpp:1517–1525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1515}
1516
1517void SetLaraMonkeyFallAnimation(ItemInfo* item)
1518{
1519 // HACK: Disallow release during 180 turn action.
1520 if (item->Animation.ActiveState == LS_MONKEY_TURN_180)
1521 return;
1522
1523 SetAnimation(item, LA_MONKEY_TO_FREEFALL);
1524 SetLaraMonkeyRelease(item);
1525}
1526
1527void SetLaraMonkeyRelease(ItemInfo* item)
1528{

Callers 5

lara_col_monkey_idleFunction · 0.85
lara_col_monkey_forwardFunction · 0.85
lara_col_monkey_backFunction · 0.85

Calls 2

SetAnimationFunction · 0.85
SetLaraMonkeyReleaseFunction · 0.85

Tested by

no test coverage detected