src/newgrf_industries.h
changeset 7729 21b3ddd80928
parent 7703 bc4b879b7324
child 7730 a7b31d4fcc40
equal deleted inserted replaced
7728:55c71fb3e6a2 7729:21b3ddd80928
    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 
    17 
       
    18 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id);
       
    19 
    18 /* in newgrf_industrytiles.cpp*/
    20 /* in newgrf_industrytiles.cpp*/
    19 uint32 IndustryTileGetRandomBits(const ResolverObject *object);
    21 uint32 IndustryTileGetRandomBits(const ResolverObject *object);
    20 uint32 IndustryTileGetTriggers(const ResolverObject *object);
    22 uint32 IndustryTileGetTriggers(const ResolverObject *object);
    21 void IndustryTileSetTriggers(const ResolverObject *object, int triggers);
    23 void IndustryTileSetTriggers(const ResolverObject *object, int triggers);
    22 
    24