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

Function SearchLOT

TombEngine/Game/control/box.cpp:1705–1713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1703}
1704
1705bool SearchLOT(LOTInfo* LOT, int depth)
1706{
1707 auto mode = g_GameFlow->GetSettings()->Pathfinding.Mode;
1708
1709 if (mode == PathfindingMode::BFS)
1710 return SearchLOT_BFS(LOT, depth);
1711
1712 return SearchLOT_DijkstraAStar(LOT, depth, mode);
1713}
1714
1715bool CanExpandToBox(LOTInfo* LOT, int fromBox, int toBox, int overlapFlags, int searchZone, const std::vector<int>& zone)
1716{

Callers 1

UpdateLOTFunction · 0.85

Calls 3

SearchLOT_BFSFunction · 0.85
SearchLOT_DijkstraAStarFunction · 0.85
GetSettingsMethod · 0.80

Tested by

no test coverage detected