summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-05-01 13:09:49 +0000
committerfrosch <frosch@openttd.org>2010-05-01 13:09:49 +0000
commit910aade284ef2b3212663c81f4e15e77b1c7120d (patch)
tree1975bbb8eeb58de9cd174667fc7f7654eee89d10 /src/newgrf_spritegroup.h
parent77953032274c3bb49c8b22ff7a2767412586c5a7 (diff)
downloadopenttd-910aade284ef2b3212663c81f4e15e77b1c7120d.tar.xz
(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h
index 32456d3eb..a2d94fe97 100644
--- a/src/newgrf_spritegroup.h
+++ b/src/newgrf_spritegroup.h
@@ -319,6 +319,7 @@ struct ResolverObject {
TileIndex tile;
Town *town;
HouseID house_id;
+ uint16 initial_random_bits; ///< Random bits during construction checks
bool not_yet_constructed; ///< True for construction check
} house;
struct {