diff options
Diffstat (limited to 'src/airport.h')
-rw-r--r-- | src/airport.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/airport.h b/src/airport.h index 484130c2c..b9b6a6b27 100644 --- a/src/airport.h +++ b/src/airport.h @@ -131,31 +131,31 @@ struct AirportFTAbuildup; /** Finite sTate mAchine --> FTA */ struct AirportFTAClass { - public: - enum Flags { - AIRPLANES = 0x1, - HELICOPTERS = 0x2, - ALL = AIRPLANES | HELICOPTERS, - SHORT_STRIP = 0x4 - }; - - AirportFTAClass( - const AirportMovingData *moving_data, - const byte *terminals, - const byte *helipads, - const byte *entry_points, - Flags flags, - const AirportFTAbuildup *apFA, - const TileIndexDiffC *depots, - byte nof_depots, - uint size_x, - uint size_y, - uint8 noise_level, - byte delta_z, - byte catchment, - Year first_available, - Year last_available - ); +public: + enum Flags { + AIRPLANES = 0x1, + HELICOPTERS = 0x2, + ALL = AIRPLANES | HELICOPTERS, + SHORT_STRIP = 0x4 + }; + + AirportFTAClass( + const AirportMovingData *moving_data, + const byte *terminals, + const byte *helipads, + const byte *entry_points, + Flags flags, + const AirportFTAbuildup *apFA, + const TileIndexDiffC *depots, + byte nof_depots, + uint size_x, + uint size_y, + uint8 noise_level, + byte delta_z, + byte catchment, + Year first_available, + Year last_available + ); ~AirportFTAClass(); @@ -166,7 +166,7 @@ struct AirportFTAClass { } /** Is this airport available at this date? */ - bool IsAvailable() const; + bool IsAvailable() const; const AirportMovingData *moving_data; struct AirportFTA *layout; ///< state machine for airport @@ -189,7 +189,7 @@ struct AirportFTAClass { DECLARE_ENUM_AS_BIT_SET(AirportFTAClass::Flags) -/** internal structure used in openttd - Finite sTate mAchine --> FTA */ +/** Internal structure used in openttd - Finite sTate mAchine --> FTA */ struct AirportFTA { AirportFTA *next; ///< possible extra movement choices from this position uint64 block; ///< 64 bit blocks (st->airport_flags), should be enough for the most complex airports |