Codechange: Return name, description and URL as std::string from GRFConfig. (#13868)

This commit is contained in:
frosch
2025-03-22 20:30:40 +01:00
committed by GitHub
parent ae2d7947d7
commit 667d013726
5 changed files with 26 additions and 22 deletions

View File

@@ -60,7 +60,7 @@ struct TileDesc {
StringID airport_class{}; ///< Name of the airport class
StringID airport_name{}; ///< Name of the airport
StringID airport_tile_name{}; ///< Name of the airport tile
const char *grf = nullptr; ///< newGRF used for the tile contents
std::optional<std::string> grf = std::nullopt; ///< newGRF used for the tile contents
StringID railtype{}; ///< Type of rail on the tile.
uint16_t rail_speed = 0; ///< Speed limit of rail (bridges and track)
StringID roadtype{}; ///< Type of road on the tile.