src/newgrf_industries.h
changeset 7260 487c5de4fe2c
parent 7234 c6d0e14ae80b
child 7327 d810677fb909
equal deleted inserted replaced
7259:abefcd6ff972 7260:487c5de4fe2c
    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);