src/airport.cpp
branchNewGRF_ports
changeset 6734 6e4db2fda167
parent 6719 4cc327ad39d5
child 6737 2b971fcc9a08
equal deleted inserted replaced
6733:240d846d5149 6734:6e4db2fda167
   219 	const byte *terminals_,
   219 	const byte *terminals_,
   220 	const byte *helipads_,
   220 	const byte *helipads_,
   221 	const byte *entry_points_,
   221 	const byte *entry_points_,
   222 	Flags flags_,
   222 	Flags flags_,
   223 	const AirportFTAbuildup *apFA,
   223 	const AirportFTAbuildup *apFA,
   224 	const TileIndexDiffC *depots_,
   224 	TileIndexDiffC *depots_,
   225 	const byte nof_depots_,
   225 	const byte nof_depots_,
   226 	uint size_x_,
   226 	uint size_x_,
   227 	uint size_y_,
   227 	uint size_y_,
   228 	byte delta_z_,
   228 	byte delta_z_,
   229 	byte catchment_
   229 	byte catchment_
   460 		printf("\n");
   460 		printf("\n");
   461 	}
   461 	}
   462 }
   462 }
   463 #endif
   463 #endif
   464 
   464 
   465 const AirportFTAClass *GetAirport(const byte airport_type)
   465 AirportFTAClass *GetAirport(const byte airport_type)
   466 {
   466 {
   467 	//FIXME -- AircraftNextAirportPos_and_Order -> Needs something nicer, don't like this code
   467 	//FIXME -- AircraftNextAirportPos_and_Order -> Needs something nicer, don't like this code
   468 	// needs constant change if more airports are added
   468 	// needs constant change if more airports are added
   469 	switch (airport_type) {
   469 	switch (airport_type) {
   470 		default:               NOT_REACHED();
   470 		default:               NOT_REACHED();