diff options
author | yexo <yexo@openttd.org> | 2009-02-14 21:15:23 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-14 21:15:23 +0000 |
commit | bce1bcb0f27affa6678c3f657c06955afbf4b47b (patch) | |
tree | a8c637f9f38f7524dd62134a1470a14b779c0748 /src/ai/api/ai_station.hpp | |
parent | 5a5bc8ab523a27d5d419443a4c19e08778d7974a (diff) | |
download | openttd-bce1bcb0f27affa6678c3f657c06955afbf4b47b.tar.xz |
(svn r15488) -Change [API CHANGE]: Add support for distant-join stations.
Diffstat (limited to 'src/ai/api/ai_station.hpp')
-rw-r--r-- | src/ai/api/ai_station.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ai/api/ai_station.hpp b/src/ai/api/ai_station.hpp index 5a25f16ed..82cb6a5fe 100644 --- a/src/ai/api/ai_station.hpp +++ b/src/ai/api/ai_station.hpp @@ -49,6 +49,12 @@ public: STATION_ANY = 0x1F, //!< All station types }; + enum SpecialStationIDs { + STATION_NEW = 0xFFFD, //!< Build a new station + STATION_JOIN_ADJACENT = 0xFFFE, //!< Join an neighbouring station if one exists + STATION_INVALID = 0xFFFF, //!< Invalid station id. + }; + /** * Checks whether the given station is valid and owned by you. * @param station_id The station to check. |