summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-06-12 00:49:50 +0000
committerbelugas <belugas@openttd.org>2007-06-12 00:49:50 +0000
commitaf35821a2ad97ebbe3cf84dba8404fe5994bcce0 (patch)
tree8ed720063421d87393ffb052b8fefa67cdeeff62 /src/newgrf_industries.h
parentf94300a4332344a35e5b51e0c3e6ee52db4465c9 (diff)
downloadopenttd-af35821a2ad97ebbe3cf84dba8404fe5994bcce0.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.h1
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 */