(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.
This commit is contained in:
belugas
2007-06-12 00:49:50 +00:00
parent f94300a433
commit af35821a2a
2 changed files with 49 additions and 10 deletions

View File

@@ -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 */