|
|
@ -113,14 +113,10 @@ public:
|
|
|
|
case job_type::CarveUpDownStaircase:
|
|
|
|
case job_type::CarveUpDownStaircase:
|
|
|
|
td.bits.dig = tile_dig_designation::UpDownStair;
|
|
|
|
td.bits.dig = tile_dig_designation::UpDownStair;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case job_type::DetailWall:
|
|
|
|
case job_type::SmoothWall:
|
|
|
|
case job_type::DetailFloor: {
|
|
|
|
case job_type::SmoothFloor:
|
|
|
|
df::tiletype tt = map.tiletypeAt(job->pos);
|
|
|
|
|
|
|
|
if (tileSpecial(tt) != df::tiletype_special::SMOOTH) {
|
|
|
|
|
|
|
|
td.bits.smooth = 1;
|
|
|
|
td.bits.smooth = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case job_type::CarveTrack:
|
|
|
|
case job_type::CarveTrack:
|
|
|
|
to.bits.carve_track_north = (job->item_category.whole >> 18) & 1;
|
|
|
|
to.bits.carve_track_north = (job->item_category.whole >> 18) & 1;
|
|
|
|
to.bits.carve_track_south = (job->item_category.whole >> 19) & 1;
|
|
|
|
to.bits.carve_track_south = (job->item_category.whole >> 19) & 1;
|
|
|
|