| 1513 | } |
| 1514 | |
| 1515 | static void write_meta_blueprint(color_ostream &out, |
| 1516 | map<string, ofstream*> &output_files, |
| 1517 | const blueprint_options &opts, |
| 1518 | const vector<string> & meta_phases, |
| 1519 | int32_t ordinal) { |
| 1520 | string fname; |
| 1521 | get_filename(fname, out, opts, meta_phases.front(), ordinal); |
| 1522 | ofstream &ofile = *output_files[fname]; |
| 1523 | |
| 1524 | ofile << "#meta label("; |
| 1525 | for (string phase : meta_phases) { |
| 1526 | ofile << phase; |
| 1527 | if (phase != meta_phases.back()) |
| 1528 | ofile << "_"; |
| 1529 | } |
| 1530 | ofile << ")" << endl; |
| 1531 | |
| 1532 | for (string phase : meta_phases) { |
| 1533 | ofile << "/" << phase << endl; |
| 1534 | } |
| 1535 | } |
| 1536 | |
| 1537 | static void ensure_building(const df::coord &pos, tile_context &ctx) { |
| 1538 | if (ctx.b) |
no test coverage detected