src/newgrf_industries.h
changeset 7207 277c6c315403
parent 7168 25e07ccb4a3d
child 7233 aadfbb505671
equal deleted inserted replaced
7206:fbba6cb67bc8 7207:277c6c315403
    11 /* in newgrf_industry.cpp */
    11 /* in newgrf_industry.cpp */
    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 
    17 
    17 /* in newgrf_industrytiles.cpp*/
    18 /* in newgrf_industrytiles.cpp*/
    18 uint32 IndustryTileGetRandomBits(const ResolverObject *object);
    19 uint32 IndustryTileGetRandomBits(const ResolverObject *object);
    19 uint32 IndustryTileGetTriggers(const ResolverObject *object);
    20 uint32 IndustryTileGetTriggers(const ResolverObject *object);
    20 void IndustryTileSetTriggers(const ResolverObject *object, int triggers);
    21 void IndustryTileSetTriggers(const ResolverObject *object, int triggers);