diff options
author | rubidium <rubidium@openttd.org> | 2007-11-11 17:56:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-11 17:56:37 +0000 |
commit | c1cf9f33964e5e552e7892abd612027acd07ad12 (patch) | |
tree | f9e7187a01ac304ba4976cb42e34a137f6511115 /src/industry.h | |
parent | dd6ef7ad49940f1da353e52afeb2ae2e110d6b78 (diff) | |
download | openttd-c1cf9f33964e5e552e7892abd612027acd07ad12.tar.xz |
(svn r11410) -Codechange: implement random triggers for industries.
Diffstat (limited to 'src/industry.h')
-rw-r--r-- | src/industry.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h index 6e5c7e338..8036122a0 100644 --- a/src/industry.h +++ b/src/industry.h @@ -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) {} |