summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_types.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-19 07:40:08 +0000
committeryexo <yexo@openttd.org>2009-02-19 07:40:08 +0000
commitc0e7ddeb9ee8892103a1314dac25e0d7250e6af4 (patch)
treefa0d25f1d5a2c7fdfd64122bd10dc5ee7291d2fe /src/ai/api/ai_types.hpp
parentc2d9c85c0fbb26b5db2ef20b7ac610e63de2b46b (diff)
downloadopenttd-c0e7ddeb9ee8892103a1314dac25e0d7250e6af4.tar.xz
(svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
Diffstat (limited to 'src/ai/api/ai_types.hpp')
-rw-r--r--src/ai/api/ai_types.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_types.hpp b/src/ai/api/ai_types.hpp
index 086cf75e0..2ccd1d27d 100644
--- a/src/ai/api/ai_types.hpp
+++ b/src/ai/api/ai_types.hpp
@@ -23,6 +23,7 @@ typedef uint16 StringID; //!< The ID of a string.
typedef uint32 TileIndex; //!< The ID of a tile (just named differently).
typedef uint16 TownID; //!< The ID of a town.
typedef uint16 VehicleID; //!< The ID of a vehicle.
+typedef uint16 WaypointID; //!< The ID of a waypoint.
/* Types we defined ourself, as the OpenTTD core doesn't have them (yet) */
typedef uint AIErrorType; //!< The types of errors inside the NoAI framework.