| 161 | } |
| 162 | |
| 163 | static void fill_dig_jobs(std::unordered_map<df::coord, df::job *> &dig_jobs) { |
| 164 | df::job_list_link *link = world->jobs.list.next; |
| 165 | for (; link; link = link->next) { |
| 166 | auto job = link->item; |
| 167 | auto type = ENUM_ATTR(job_type, type, job->job_type); |
| 168 | if (type != job_type_class::Digging) |
| 169 | continue; |
| 170 | dig_jobs.emplace(job->pos, job); |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | // scrub no-longer designated tiles |
| 175 | static void do_cycle(color_ostream &out) { |
no outgoing calls
no test coverage detected