| 318 | } |
| 319 | |
| 320 | static const char * get_tile_dig_job(df::tile_designation *td, df::job *job) { |
| 321 | switch (job->job_type) { |
| 322 | case df::job_type::DigChannel: |
| 323 | return "h"; |
| 324 | case df::job_type::Dig: |
| 325 | return "d"; |
| 326 | case df::job_type::CarveUpwardStaircase: |
| 327 | return "u"; |
| 328 | case df::job_type::CarveDownwardStaircase: |
| 329 | return "j"; |
| 330 | case df::job_type::CarveUpDownStaircase: |
| 331 | return "i"; |
| 332 | case df::job_type::CarveRamp: |
| 333 | return "r"; |
| 334 | case df::job_type::FellTree: |
| 335 | return "t"; |
| 336 | case df::job_type::GatherPlants: |
| 337 | return "p"; |
| 338 | case df::job_type::RemoveStairs: |
| 339 | return "z"; |
| 340 | default: |
| 341 | return NULL; |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | static const char * get_tile_dig(color_ostream &out, const df::coord &pos, const tile_context &) { |
| 346 | df::tile_designation *td = Maps::getTileDesignation(pos); |