(svn r8743) -Fix

-Codechange: Add a Z adjustment attribute for helicopter pads to AirportFTAClass to get rid of some special cases for oilrigs and heliports
This commit is contained in:
tron
2007-02-15 07:43:06 +00:00
parent 0c330c1b1b
commit e62036f5e9
4 changed files with 41 additions and 49 deletions

View File

@@ -143,7 +143,8 @@ typedef struct AirportFTAClass {
const TileIndexDiffC *depots,
byte nof_depots,
uint size_x,
uint size_y
uint size_y,
byte delta_z
);
~AirportFTAClass();
@@ -165,6 +166,7 @@ typedef struct AirportFTAClass {
AcceptPlanesByte acc_planes; // accept airplanes or helicopters or both
byte size_x;
byte size_y;
byte delta_z; // Z adjustment for helicopter pads
} AirportFTAClass;
// internal structure used in openttd - Finite sTate mAchine --> FTA