(svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed

This commit is contained in:
yexo
2010-03-05 23:21:51 +00:00
parent c42e2a9bfc
commit 585b036c90
5 changed files with 12 additions and 11 deletions

View File

@@ -61,6 +61,8 @@ struct AirportSpec {
StringID name; ///< name of this airport
TTDPAirportType ttd_airport_type; ///< ttdpatch airport type (Small/Large/Helipad/Oilrig)
AirportClassID aclass; ///< the class to which this airport type belongs
/* Newgrf data */
bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
static const AirportSpec *Get(byte type);
static AirportSpec *GetWithoutOverride(byte type);