src/newgrf_industries.h
branchgamebalance
changeset 9913 e79cd19772dd
parent 9912 1ac8aac92385
equal deleted inserted replaced
9912:1ac8aac92385 9913:e79cd19772dd
     6 #define NEWGRF_INDUSTRIES_H
     6 #define NEWGRF_INDUSTRIES_H
     7 
     7 
     8 #include "industry.h"
     8 #include "industry.h"
     9 #include "newgrf_spritegroup.h"
     9 #include "newgrf_spritegroup.h"
    10 
    10 
       
    11 /* in newgrf_industry.cpp */
    11 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
    12 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
    12 uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, TileIndex tile);
    13 uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, TileIndex tile);
       
    14 uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i);
       
    15 
       
    16 /* in newgrf_industrytiles.cpp*/
       
    17 uint32 IndustryTileGetRandomBits(const ResolverObject *object);
       
    18 uint32 IndustryTileGetTriggers(const ResolverObject *object);
       
    19 void IndustryTileSetTriggers(const ResolverObject *object, int triggers);
    13 
    20 
    14 #endif /* NEWGRF_INDUSTRIES_H */
    21 #endif /* NEWGRF_INDUSTRIES_H */