summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-01-27 12:45:55 +0000
committerDarkvater <darkvater@openttd.org>2007-01-27 12:45:55 +0000
commit08c21c0c61be2e6e19517559288f3f40b77c0f0f (patch)
treee5dc4283665daeb149dc95777c8d87e1b1d0faa0 /src/engine.h
parent50ca901b40664453fe90a396577e6438fd45dc27 (diff)
downloadopenttd-08c21c0c61be2e6e19517559288f3f40b77c0f0f.tar.xz
(svn r8429) -Codechange: Add a name for AircraftVehicleInfo subtype helicopter and remove some magic numbers related to the subtype.
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine.h b/src/engine.h
index 3b70256a2..375fe1d10 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -45,8 +45,11 @@ typedef struct ShipVehicleInfo {
bool refittable;
} ShipVehicleInfo;
-/* AircraftVehicleInfo subtypes */
+/* AircraftVehicleInfo subtypes, bitmask type.
+ * If bit 0 is 0 then it is a helicopter, otherwise it is a plane
+ * in which case bit 1 tells us whether it's a big(fast) plane or not */
enum {
+ AIR_HELI = 0,
AIR_CTOL = 1, // Conventional Take Off and Landing, i.e. planes
AIR_FAST = 2
};