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 | af5c2a785f11cc6c56813285fe0d1b09369b0acb (patch) | |
tree | f9e7187a01ac304ba4976cb42e34a137f6511115 /src/industry.h | |
parent | f6dda295496e642a04f212e8aa41cdfdf74a347d (diff) | |
download | openttd-af5c2a785f11cc6c56813285fe0d1b09369b0acb.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) {} |