(svn r19325) -Codechange: introduce airport classes and split the default airports in 4 classes

This commit is contained in:
yexo
2010-03-05 23:21:35 +00:00
parent d03d990f33
commit a71462bb94
5 changed files with 200 additions and 17 deletions

View File

@@ -5907,6 +5907,7 @@ static void ResetNewGRFData()
ResetCustomStations();
/* Reset airport-related structures */
ResetAirportClasses();
ResetCustomAirports();
AirportSpec::ResetAirports();
AirportTileSpec::ResetAirportTiles();
@@ -6633,6 +6634,7 @@ static void AfterLoadGRFs()
/* Add all new airports to the airports array. */
FinaliseAirportsArray();
BindAirportSpecs();
/* Update the townname generators list */
InitGRFTownGeneratorNames();