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

Function getDepotAccessibleByAnimals

plugins/pathable.cpp:200–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200static bool getDepotAccessibleByAnimals(color_ostream &out) {
201 unordered_set<df::coord> depot_coords;
202 if (!get_depot_coords(out, &depot_coords))
203 return false;
204 unordered_set<uint16_t> depot_pathability_groups;
205 if (!get_pathability_groups(out, &depot_pathability_groups, depot_coords))
206 return false;
207 return get_entry_tiles(NULL, depot_pathability_groups);
208}
209
210struct FloodCtx {
211 uint16_t wgroup;

Callers

nothing calls this directly

Calls 3

get_depot_coordsFunction · 0.85
get_pathability_groupsFunction · 0.85
get_entry_tilesFunction · 0.85

Tested by

no test coverage detected