summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-02-16 12:10:19 +0000
committercelestar <celestar@openttd.org>2007-02-16 12:10:19 +0000
commita8e88ae7cccba34694289ad558232f7c04f3aa11 (patch)
tree6b3ff1cdf2f15276b7ba1a3374db2266e429cef3 /src/airport.h
parent5adb5315bbf0af959ad96a9ed9b2aaf216525134 (diff)
downloadopenttd-a8e88ae7cccba34694289ad558232f7c04f3aa11.tar.xz
(svn r8759) -Feature: Allow airports to have up to 4 entry points depending on approach direction. Note: they're not yet used, but will be soon
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/airport.h b/src/airport.h
index 83cb4eda3..ce210301d 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -132,7 +132,7 @@ typedef struct AirportFTAClass {
const AirportMovingData *moving_data,
const byte *terminals,
const byte *helipads,
- byte entry_point,
+ const byte *entry_points,
Flags flags,
const AirportFTAbuildup *apFA,
const TileIndexDiffC *depots,
@@ -158,7 +158,7 @@ typedef struct AirportFTAClass {
Flags flags;
byte nof_depots; // number of depots this airport has
byte nofelements; // number of positions the airport consists of
- byte entry_point; // when an airplane arrives at this airport, enter it at position entry_point
+ const byte *entry_points; ///< when an airplane arrives at this airport, enter it at position entry_point, index depends on direction
byte size_x;
byte size_y;
byte delta_z; // Z adjustment for helicopter pads