From 318f19f5a45773848ec2d9efce33840e5c41d56e Mon Sep 17 00:00:00 2001 From: belugas Date: Sun, 15 Jul 2007 00:19:40 +0000 Subject: (svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries --- src/newgrf_industries.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_industries.h') diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h index e2404f43e..fa25147c3 100644 --- a/src/newgrf_industries.h +++ b/src/newgrf_industries.h @@ -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); -- cgit v1.2.3-54-g00ecf