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

Function TestState

TombEngine/Game/items.cpp:262–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262bool TestState(int refState, const std::vector<int>& stateList)
263{
264 for (const auto& state : stateList)
265 {
266 if (state == refState)
267 return true;
268 }
269
270 return false;
271}
272
273static void GameScriptHandleKilled(short itemNumber, bool destroyed)
274{

Callers 12

BearControlFunction · 0.85
PoleCollisionFunction · 0.85
UseItemMethod · 0.85
TargetReachableFunction · 0.85
HandleWeaponFunction · 0.85
IsSideJumpStateFunction · 0.85
IsVaultStateFunction · 0.85
IsJumpStateFunction · 0.85
IsRunJumpQueueableStateFunction · 0.85
IsRunJumpCountableStateFunction · 0.85
IsInLowSpaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected