MCPcopy Create free account
hub / github.com/DFHack/dfhack / isPassableTile

Function isPassableTile

plugins/siege-engine.cpp:885–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883}
884
885static bool isPassableTile(df::coord pos)
886{
887 auto ptile = Maps::getTileType(pos);
888
889 return !ptile || FlowPassable(*ptile);
890}
891
892static bool isTargetableTile(df::coord pos)
893{

Callers 2

computeMethod · 0.85
doLaunchContentsMethod · 0.85

Calls 2

getTileTypeFunction · 0.85
FlowPassableFunction · 0.85

Tested by

no test coverage detected