(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.

This commit is contained in:
frosch
2010-05-01 13:09:49 +00:00
parent 7795303227
commit 910aade284
9 changed files with 40 additions and 23 deletions

View File

@@ -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 {