summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-15 07:43:06 +0000
committertron <tron@openttd.org>2007-02-15 07:43:06 +0000
commite62036f5e9d2256ec59fc25a6ef14baeddbd82ea (patch)
treed09c3b4c1b06a7f956808046aadcd50adb3aa51e /src/airport.h
parent0c330c1b1b11aae3117488b0d44fa7ef2474ffef (diff)
downloadopenttd-e62036f5e9d2256ec59fc25a6ef14baeddbd82ea.tar.xz
(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
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/airport.h b/src/airport.h
index f0be29815..b6c94d5b5 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -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