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

Function CanRoll180Running

TombEngine/Game/Lara/PlayerContext.cpp:255–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 }
254
255 bool CanRoll180Running(const ItemInfo& item)
256 {
257 const auto& player = GetLaraInfo(item);
258
259 if (player.Control.WaterStatus != WaterStatus::Wade &&
260 !player.Control.IsRunJumpQueued) // NOTE: Queued running jump blocks 180 roll by design.
261 {
262 return true;
263 }
264
265 return false;
266 }
267
268 bool CanRunForward(const ItemInfo& item, const CollisionInfo& coll)
269 {

Callers 1

lara_as_run_forwardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected