diff options
author | belugas <belugas@openttd.org> | 2007-06-12 00:49:50 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-06-12 00:49:50 +0000 |
commit | 8efb7e53ecf0627ccb654af7b8c341e46f506d46 (patch) | |
tree | 8ed720063421d87393ffb052b8fefa67cdeeff62 /src/newgrf_industries.h | |
parent | 28c57305835ae8e8aff116bbf7fd112024a2eea9 (diff) | |
download | openttd-8efb7e53ecf0627ccb654af7b8c341e46f506d46.tar.xz |
(svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at offset) for industries.
It is exposed for for industry tiles who will reuse it too, for variable 0x62.
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r-- | src/newgrf_industries.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h index 9a31692cc..7c30a26c9 100644 --- a/src/newgrf_industries.h +++ b/src/newgrf_industries.h @@ -10,5 +10,6 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, TileIndex tile); +uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); #endif /* NEWGRF_INDUSTRIES_H */ |