belugas@6835: /* $Id$ */ belugas@6835: belugas@6835: /** @file newgrf_industries.h */ belugas@6835: belugas@6835: #ifndef NEWGRF_INDUSTRIES_H belugas@6835: #define NEWGRF_INDUSTRIES_H belugas@6835: belugas@6835: #include "industry.h" belugas@6835: #include "newgrf_spritegroup.h" belugas@6835: belugas@6884: /* in newgrf_industry.cpp */ belugas@6835: uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); belugas@7102: uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); belugas@6868: uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); rubidium@7168: void IndustryProductionCallback(Industry *ind, int reason); belugas@6835: belugas@6884: /* in newgrf_industrytiles.cpp*/ belugas@6884: uint32 IndustryTileGetRandomBits(const ResolverObject *object); belugas@6884: uint32 IndustryTileGetTriggers(const ResolverObject *object); belugas@6884: void IndustryTileSetTriggers(const ResolverObject *object, int triggers); belugas@6884: belugas@6835: #endif /* NEWGRF_INDUSTRIES_H */