(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries

This commit is contained in:
belugas
2007-07-15 00:19:40 +00:00
parent 6d22aa54cf
commit 318f19f5a4
2 changed files with 14 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Indust
uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i);
void IndustryProductionCallback(Industry *ind, int reason);
bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index);
bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type);
IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id);