(svn r19199) -Codechange: add a 'name'-property to airport tiles
This commit is contained in:
@@ -157,6 +157,7 @@ public:
|
||||
|
||||
td.station_class = STR_NULL;
|
||||
td.station_name = STR_NULL;
|
||||
td.airport_tile_name = STR_NULL;
|
||||
|
||||
td.grf = NULL;
|
||||
|
||||
@@ -243,6 +244,13 @@ public:
|
||||
line_nr++;
|
||||
}
|
||||
|
||||
/* Station type name */
|
||||
if (td.airport_tile_name != STR_NULL) {
|
||||
SetDParam(0, td.airport_tile_name);
|
||||
GetString(this->landinfo_data[line_nr], STR_LAND_AREA_INFORMATION_AIRPORTTILE_NAME, lastof(this->landinfo_data[line_nr]));
|
||||
line_nr++;
|
||||
}
|
||||
|
||||
/* NewGRF name */
|
||||
if (td.grf != NULL) {
|
||||
SetDParamStr(0, td.grf);
|
||||
|
Reference in New Issue
Block a user