From bb8923c336f67270d1c7af12df9c5a9f029d67cc Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 9 Jul 2007 13:21:49 +0000 Subject: (svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location. --- src/newgrf_spritegroup.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/newgrf_spritegroup.h') diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index 02fb1f878..b7bc581d5 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -224,6 +224,11 @@ struct ResolverObject { Industry *ind; IndustryGfx gfx; } industry; + struct { + TileIndex tile; + const IndustrySpec *spec; + uint itspec_index; + } industry_location; struct { const struct CargoSpec *cs; } cargo; -- cgit v1.2.3-54-g00ecf