summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-03-02 12:01:24 +0000
committercelestar <celestar@openttd.org>2007-03-02 12:01:24 +0000
commitf621608f7d142993b3185bc98c31c814455c519c (patch)
treefc8688953b36c1679e38f6949c6dbc0ad627ab66 /src/airport.h
parent879eca8e23c11089dd40dd30a6514f0f83c44423 (diff)
downloadopenttd-f621608f7d142993b3185bc98c31c814455c519c.tar.xz
(svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type.
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/airport.h b/src/airport.h
index c24250839..8c40d12ab 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -36,6 +36,7 @@ enum {
AMED_BRAKE = 1 << 5,
AMED_HELI_RAISE = 1 << 6,
AMED_HELI_LOWER = 1 << 7,
+ AMED_HOLD = 1 << 8
};
/* Movement States on Airports (headings target) */
@@ -114,7 +115,7 @@ static const uint64
typedef struct AirportMovingData {
int16 x;
int16 y;
- byte flag;
+ uint16 flag;
DirectionByte direction;
} AirportMovingData;