(svn r11410) -Codechange: implement random triggers for industries.

This commit is contained in:
rubidium
2007-11-11 17:56:37 +00:00
parent dd6ef7ad49
commit c1cf9f3396
8 changed files with 88 additions and 9 deletions

View File

@@ -130,6 +130,9 @@ struct Industry : PoolItem<Industry, IndustryID, &_Industry_pool> {
Date last_cargo_accepted_at; ///< Last day cargo was accepted by this industry
byte selected_layout; ///< Which tile layout was used when creating the industry
byte random_triggers; ///< Triggers for the random
uint16 random; ///< Random value used for randomisation of all kinds of things
PersistentStorage psa; ///< Persistent storage for NewGRF industries.
Industry(TileIndex tile = 0) : xy(tile) {}