| 664 | } |
| 665 | |
| 666 | void MapExtras::Block::BasematInfo::set_base_mat(TileInfo *tiles, df::coord2d pos, int16_t type, int16_t idx) |
| 667 | { |
| 668 | mat_type[pos.x][pos.y] = type; |
| 669 | mat_index[pos.x][pos.y] = idx; |
| 670 | |
| 671 | // Copy base info back to construction layer |
| 672 | if (tiles->con_info && !tiles->con_info->constructed.getassignment(pos)) |
| 673 | { |
| 674 | tiles->con_info->mat_type[pos.x][pos.y] = type; |
| 675 | tiles->con_info->mat_index[pos.x][pos.y] = idx; |
| 676 | } |
| 677 | } |
| 678 | |
| 679 | void MapExtras::Block::WriteVeins(TileInfo *tiles, BasematInfo *bmats) |
| 680 | { |
no outgoing calls
no test coverage detected