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

Method getWalkableGroup

library/modules/Maps.cpp:1019–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019uint16_t Maps::getWalkableGroup(df::coord pos) {
1020 auto block = getTileBlock(pos);
1021 return block ? index_tile(block->walkable, pos) : 0;
1022}
1023
1024bool Maps::canWalkBetween(df::coord pos1, df::coord pos2)
1025{

Callers

nothing calls this directly

Calls 2

getTileBlockFunction · 0.85
index_tileFunction · 0.85

Tested by

no test coverage detected