| 144 | } |
| 145 | |
| 146 | static bool get_depot_coords(color_ostream &out, unordered_set<df::coord> * depot_coords) { |
| 147 | CHECK_NULL_POINTER(depot_coords); |
| 148 | |
| 149 | depot_coords->clear(); |
| 150 | for (auto bld : world->buildings.other.TRADE_DEPOT){ |
| 151 | DEBUG(log,out).print("found depot at ({}, {}, {})\n", bld->centerx, bld->centery, bld->z); |
| 152 | depot_coords->emplace(bld->centerx, bld->centery, bld->z); |
| 153 | } |
| 154 | |
| 155 | return !depot_coords->empty(); |
| 156 | } |
| 157 | |
| 158 | static bool get_pathability_groups(color_ostream &out, unordered_set<uint16_t> * depot_pathability_groups, |
| 159 | const unordered_set<df::coord> & depot_coords) |
no test coverage detected