if priority is 0, it is kept unchanged if previously set, otherwise 4000
| 537 | } |
| 538 | // if priority is 0, it is kept unchanged if previously set, otherwise 4000 |
| 539 | bool setDesignationAt (DFCoord tilecoord, df::tile_designation des, int32_t priority = 0) |
| 540 | { |
| 541 | if (Block *b = BlockAtTile(tilecoord)) |
| 542 | { |
| 543 | if (!b->setDesignationAt(tilecoord, des, priority)) |
| 544 | return false; |
| 545 | return true; |
| 546 | } |
| 547 | return false; |
| 548 | } |
| 549 | |
| 550 | int32_t priorityAt (DFCoord tilecoord) |
| 551 | { |
nothing calls this directly
no test coverage detected