| 1541 | } |
| 1542 | |
| 1543 | static void add_processor(vector<blueprint_processor> &processors, |
| 1544 | const blueprint_options &opts, const char *mode, |
| 1545 | const char *phase, bool require_phase, |
| 1546 | get_tile_fn * const get_tile, |
| 1547 | init_ctx_fn * const init_ctx = NULL) { |
| 1548 | if (opts.auto_phase || require_phase) |
| 1549 | processors.push_back(blueprint_processor(mode, phase, require_phase, |
| 1550 | get_tile, init_ctx)); |
| 1551 | } |
| 1552 | |
| 1553 | static bool do_transform(color_ostream &out, |
| 1554 | const df::coord &start, const df::coord &end, |
no test coverage detected