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
commitf6b917f609d63230531d2086761242884c4f60e5 (patch)
treed09c3b4c1b06a7f956808046aadcd50adb3aa51e /src/airport.h
parentac95825b9263c55cb73256939a725b7d7f1ea9e5 (diff)
downloadopenttd-f6b917f609d63230531d2086761242884c4f60e5.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