summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-06-21 21:05:06 +0000
committerrubidium <rubidium@openttd.org>2009-06-21 21:05:06 +0000
commit7ed618997f781439287abb720e1c1ed1e39b440d (patch)
treec2c075ea7e9d07db422680f0951333f48710cab5 /src/airport.h
parentb07ef35f448f3e948c7fe4b52be1399586aa0153 (diff)
downloadopenttd-7ed618997f781439287abb720e1c1ed1e39b440d.tar.xz
(svn r16619) -Cleanup: more coding style in airport stuff.
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h54
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