| 548 | } |
| 549 | |
| 550 | void MapExtras::Block::TileInfo::set_base_tile(df::coord2d pos, df::tiletype tile) |
| 551 | { |
| 552 | base_tiles[pos.x][pos.y] = tile; |
| 553 | |
| 554 | if (con_info) |
| 555 | { |
| 556 | if (con_info->constructed.getassignment(pos)) |
| 557 | { |
| 558 | con_info->dirty.setassignment(pos, true); |
| 559 | return; |
| 560 | } |
| 561 | |
| 562 | con_info->tiles[pos.x][pos.y] = tile; |
| 563 | } |
| 564 | |
| 565 | if (ice_info && ice_info->frozen.getassignment(pos)) |
| 566 | { |
| 567 | ice_info->dirty.setassignment(pos, true); |
| 568 | return; |
| 569 | } |
| 570 | |
| 571 | dirty_raw.setassignment(pos, true); |
| 572 | raw_tiles[pos.x][pos.y] = tile; |
| 573 | } |
| 574 | |
| 575 | void MapExtras::Block::WriteTiles(TileInfo *tiles) |
| 576 | { |
no outgoing calls
no test coverage detected