| 659 | |
| 660 | |
| 661 | static void GetTileDesc_Object(TileIndex tile, TileDesc &td) |
| 662 | { |
| 663 | const ObjectSpec *spec = ObjectSpec::GetByTile(tile); |
| 664 | td.str = spec->name; |
| 665 | td.owner[0] = GetTileOwner(tile); |
| 666 | td.build_date = Object::GetByTile(tile)->build_date; |
| 667 | |
| 668 | if (spec->grf_prop.HasGrfFile()) { |
| 669 | td.grf = GetGRFConfig(spec->grf_prop.grfid)->GetName(); |
| 670 | } |
| 671 | } |
| 672 | |
| 673 | static void TileLoop_Object(TileIndex tile) |
| 674 | { |
nothing calls this directly
no test coverage detected