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
commitbb8923c336f67270d1c7af12df9c5a9f029d67cc (patch)
tree285e9c8a4d7dfb0a935b5dee9a7c62238d372146 /src/newgrf_spritegroup.h
parentc29b4a77208140b1892508ee80204b331e41f745 (diff)
downloadopenttd-bb8923c336f67270d1c7af12df9c5a9f029d67cc.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;