summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-09 13:21:49 +0000
committerrubidium <rubidium@openttd.org>2007-07-09 13:21:49 +0000
commite207ba425ff8739dbd46764c2a0bdaeaab7814db (patch)
tree285e9c8a4d7dfb0a935b5dee9a7c62238d372146 /src/newgrf_spritegroup.h
parentb3ed27adab732292ad8f6c979bb49e2789896cf7 (diff)
downloadopenttd-e207ba425ff8739dbd46764c2a0bdaeaab7814db.tar.xz
(svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h5
1 files changed, 5 insertions, 0 deletions
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
@@ -225,6 +225,11 @@ struct ResolverObject {
IndustryGfx gfx;
} industry;
struct {
+ TileIndex tile;
+ const IndustrySpec *spec;
+ uint itspec_index;
+ } industry_location;
+ struct {
const struct CargoSpec *cs;
} cargo;
} u;