diff options
author | frosch <frosch@openttd.org> | 2010-07-10 10:55:16 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-07-10 10:55:16 +0000 |
commit | 9060a7ac00075e506a9745356a674e55c0b53c2b (patch) | |
tree | 576edf39c06aff36d20fea7f7807304138c8cd56 /src/newgrf_generic.h | |
parent | 969c059feae435ff5cabb2f33d10d939b318ec02 (diff) | |
download | openttd-9060a7ac00075e506a9745356a674e55c0b53c2b.tar.xz |
(svn r20108) -Change: [NewGRF] Report substitute industry type in AI railstation selection callback.
Diffstat (limited to 'src/newgrf_generic.h')
-rw-r--r-- | src/newgrf_generic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_generic.h b/src/newgrf_generic.h index c461a8f30..f079efac8 100644 --- a/src/newgrf_generic.h +++ b/src/newgrf_generic.h @@ -39,6 +39,9 @@ enum AIConstructionEvent { AICE_STATION_GET_STATION_ID = 0x00, ///< Get a station ID to build }; +static const IndustryType IT_AI_UNKNOWN = 0xFE; ///< The AI has no specific industry in mind. +static const IndustryType IT_AI_TOWN = 0xFF; ///< The AI actually wants to transport to/from a town, not an industry. + void ResetGenericCallbacks(); void AddGenericCallback(uint8 feature, const struct GRFFile *file, const struct SpriteGroup *group); |