19 }; |
19 }; |
20 |
20 |
21 /* in newgrf_industry.cpp */ |
21 /* in newgrf_industry.cpp */ |
22 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); |
22 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); |
23 uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); |
23 uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); |
24 uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); |
24 uint32 GetIndustryIDAtOffset(TileIndex new_tile, const Industry *i); |
25 void IndustryProductionCallback(Industry *ind, int reason); |
25 void IndustryProductionCallback(Industry *ind, int reason); |
26 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index); |
26 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index); |
27 bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type); |
27 bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type); |
28 |
28 |
29 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |
29 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |