summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-05 12:03:06 +0000
committeryexo <yexo@openttd.org>2010-08-05 12:03:06 +0000
commit7e4bdbbc9dd9c7a4bb8f6c0af569aafece9d1443 (patch)
tree586a636c068b978b7ad38a6a2bf2b9f846214906 /src/airport.h
parentc421b6fef59027a222340f2647d2f370f165f809 (diff)
downloadopenttd-7e4bdbbc9dd9c7a4bb8f6c0af569aafece9d1443.tar.xz
(svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/airport.h b/src/airport.h
index 288a79a05..e91bdb1bd 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -136,6 +136,8 @@ struct AirportMovingData {
DirectionByte direction; ///< Direction to turn the aircraft after reaching this position.
};
+AirportMovingData RotateAirportMovingData(const AirportMovingData *orig, Direction rotation, uint num_tiles_x, uint num_tiles_y);
+
struct AirportFTAbuildup;
/** Finite sTate mAchine --> FTA */