12 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); |
12 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); |
13 uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); |
13 uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); |
14 uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); |
14 uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); |
15 void IndustryProductionCallback(Industry *ind, int reason); |
15 void IndustryProductionCallback(Industry *ind, int reason); |
16 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index); |
16 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index); |
|
17 bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type); |
17 |
18 |
18 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |
19 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |
19 |
20 |
20 /* in newgrf_industrytiles.cpp*/ |
21 /* in newgrf_industrytiles.cpp*/ |
21 uint32 IndustryTileGetRandomBits(const ResolverObject *object); |
22 uint32 IndustryTileGetRandomBits(const ResolverObject *object); |