diff options
author | frosch <frosch@openttd.org> | 2010-05-29 13:08:50 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-05-29 13:08:50 +0000 |
commit | e296eeb20cc0f6f0ff918fb6372e657dc4a44647 (patch) | |
tree | 1cf26417d28f61d856e9c2b93ee0cdf254652140 /src/newgrf_industries.h | |
parent | 0c1add2d1953219d7f408f9090d3835ead8e1b73 (diff) | |
download | openttd-e296eeb20cc0f6f0ff918fb6372e657dc4a44647.tar.xz |
(svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F. (yexo)
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r-- | src/newgrf_industries.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h index 82ae619fb..cf3418b83 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, uint16 initial_random_bits); +CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint layout, uint32 seed, uint16 initial_random_bits, Owner founder); bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type); IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |