summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-05-01 13:09:49 +0000
committerfrosch <frosch@openttd.org>2010-05-01 13:09:49 +0000
commit910aade284ef2b3212663c81f4e15e77b1c7120d (patch)
tree1975bbb8eeb58de9cd174667fc7f7654eee89d10 /src/newgrf_industries.h
parent77953032274c3bb49c8b22ff7a2767412586c5a7 (diff)
downloadopenttd-910aade284ef2b3212663c81f4e15e77b1c7120d.tar.xz
(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r--src/newgrf_industries.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h
index 2d103f99b..82ae619fb 100644
--- a/src/newgrf_industries.h
+++ b/src/newgrf_industries.h
@@ -37,7 +37,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par
uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile);
uint32 GetIndustryIDAtOffset(TileIndex new_tile, const Industry *i, uint32 cur_grfid);
void IndustryProductionCallback(Industry *ind, int reason);
-CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint layout, uint32 seed);
+CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint layout, uint32 seed, uint16 initial_random_bits);
bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type);
IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id);