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

Function IsRunJumpQueueableState

TombEngine/Game/Lara/lara_tests.cpp:1224–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224bool IsRunJumpQueueableState(int state)
1225{
1226 static const auto RUN_JUMP_QUEUABLE_STATES = std::vector<int>
1227 {
1228 LS_RUN_FORWARD,
1229 LS_SPRINT,
1230 LS_STEP_UP,
1231 LS_STEP_DOWN
1232 };
1233
1234 return TestState(state, RUN_JUMP_QUEUABLE_STATES);
1235}
1236
1237bool IsRunJumpCountableState(int state)
1238{

Callers 2

CanQueueRunningJumpFunction · 0.85

Calls 1

TestStateFunction · 0.85

Tested by

no test coverage detected