| 469 | } |
| 470 | |
| 471 | df::tiletype MapExtras::Block::tiletypeAt(df::coord2d p) |
| 472 | { |
| 473 | if (!block) return tiletype::Void; |
| 474 | if (tiles) |
| 475 | return index_tile(tiles->raw_tiles,p); |
| 476 | return index_tile(block->tiletype,p); |
| 477 | } |
| 478 | |
| 479 | void MapExtras::Block::ParseTiles(TileInfo *tiles) |
| 480 | { |