equal
deleted
inserted
replaced
|
1 /* $Id$ */ |
|
2 |
|
3 /** @file newgrf_industries.h */ |
|
4 |
|
5 #ifndef NEWGRF_INDUSTRIES_H |
|
6 #define NEWGRF_INDUSTRIES_H |
|
7 |
|
8 #include "industry.h" |
|
9 #include "newgrf_spritegroup.h" |
|
10 |
|
11 /* in newgrf_industry.cpp */ |
|
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); |
|
14 uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); |
|
15 void IndustryProductionCallback(Industry *ind, int reason); |
|
16 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index); |
|
17 |
|
18 IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |
|
19 |
|
20 /* in newgrf_industrytiles.cpp*/ |
|
21 uint32 IndustryTileGetRandomBits(const ResolverObject *object); |
|
22 uint32 IndustryTileGetTriggers(const ResolverObject *object); |
|
23 void IndustryTileSetTriggers(const ResolverObject *object, int triggers); |
|
24 |
|
25 uint32 GetNearbyIndustryTileInformation(byte parameter, TileIndex tile, IndustryID index); |
|
26 |
|
27 #endif /* NEWGRF_INDUSTRIES_H */ |