(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

This commit is contained in:
celestar
2007-02-16 12:10:19 +00:00
parent 95d2ad7b73
commit 80912d2e7e
4 changed files with 78 additions and 23 deletions

View File

@@ -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