diff options
author | yexo <yexo@openttd.org> | 2010-08-07 20:11:27 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-07 20:11:27 +0000 |
commit | e80f3390863aa4a722b0d7516cca7420b12df53a (patch) | |
tree | 6696408aa41b164d70f99c01ef97ee11a364ae1b /src/newgrf_industries.h | |
parent | 50fe2264ec43f72648518ea18551c851624396fd (diff) | |
download | openttd-e80f3390863aa4a722b0d7516cca7420b12df53a.tar.xz |
(svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r-- | src/newgrf_industries.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h index cf3418b83..3d90d65bb 100644 --- a/src/newgrf_industries.h +++ b/src/newgrf_industries.h @@ -39,6 +39,7 @@ uint32 GetIndustryIDAtOffset(TileIndex new_tile, const Industry *i, uint32 cur_g void IndustryProductionCallback(Industry *ind, int reason); CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint layout, uint32 seed, uint16 initial_random_bits, Owner founder); bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type); +bool IndustryTemporarilyRefusesCargo(Industry *ind, CargoID cargo_type); IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |