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

Function IsRunJumpCountableState

TombEngine/Game/Lara/lara_tests.cpp:1237–1248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235}
1236
1237bool IsRunJumpCountableState(int state)
1238{
1239 static const std::vector<int> runningJumpTimerStates
1240 {
1241 LS_WALK_FORWARD,
1242 LS_RUN_FORWARD,
1243 LS_SPRINT,
1244 LS_SPRINT_DIVE,
1245 LS_JUMP_FORWARD
1246 };
1247 return TestState(state, runningJumpTimerStates);
1248}
1249
1250std::optional<VaultTestResult> TestLaraVaultTolerance(ItemInfo* item, CollisionInfo* coll, VaultTestSetup testSetup)
1251{

Callers 1

Calls 1

TestStateFunction · 0.85

Tested by

no test coverage detected