(svn r20108) -Change: [NewGRF] Report substitute industry type in AI railstation selection callback.

This commit is contained in:
frosch
2010-07-10 10:55:16 +00:00
parent d18fc1a5bf
commit d67e221af1
3 changed files with 18 additions and 2 deletions

View File

@@ -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);