src/newgrf_industries.h
changeset 8932 989fe2280933
parent 8709 4187ad809fe7
child 10429 1b99254f9607
equal deleted inserted replaced
8931:d84c34673a0f 8932:989fe2280933
    28 /* in newgrf_industry.cpp */
    28 /* in newgrf_industry.cpp */
    29 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
    29 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
    30 uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile);
    30 uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile);
    31 uint32 GetIndustryIDAtOffset(TileIndex new_tile, const Industry *i);
    31 uint32 GetIndustryIDAtOffset(TileIndex new_tile, const Industry *i);
    32 void IndustryProductionCallback(Industry *ind, int reason);
    32 void IndustryProductionCallback(Industry *ind, int reason);
    33 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index);
    33 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index, uint32 seed);
    34 bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type);
    34 bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type);
    35 
    35 
    36 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id);
    36 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id);
    37 
    37 
    38 /* in newgrf_industrytiles.cpp*/
    38 /* in newgrf_industrytiles.cpp*/