summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-07-15 00:19:40 +0000
committerbelugas <belugas@openttd.org>2007-07-15 00:19:40 +0000
commit7829add2bb978e7c713a96e8fc9628a71c8e661b (patch)
tree2708f4399b0d84a608adcc1e9af729210767f270 /src/newgrf_industries.h
parente37affa1d3a303c064cb04dc422059e9170116c8 (diff)
downloadopenttd-7829add2bb978e7c713a96e8fc9628a71c8e661b.tar.xz
(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r--src/newgrf_industries.h1
1 files changed, 1 insertions, 0 deletions
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);