(svn r10514) -Codechange: add support for getting the nearest industry with a given type.

This commit is contained in:
rubidium
2007-07-11 22:57:47 +00:00
parent 1aaab031b2
commit 57268fa7e3
4 changed files with 42 additions and 6 deletions

View File

@@ -15,6 +15,8 @@ uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Indus
void IndustryProductionCallback(Industry *ind, int reason);
bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index);
IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id);
/* in newgrf_industrytiles.cpp*/
uint32 IndustryTileGetRandomBits(const ResolverObject *object);
uint32 IndustryTileGetTriggers(const ResolverObject *object);