diff options
author | rubidium <rubidium@openttd.org> | 2007-09-22 23:14:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-22 23:14:32 +0000 |
commit | c00db50edc454977da30f833a96ad08e86f24d0c (patch) | |
tree | e5aa1ced1e70d9426b2445bc410e0c9ae8b4edbb /src/industry.h | |
parent | 90602b356a9834522cece05cb3e9fc9fc9c67b9f (diff) | |
download | openttd-c00db50edc454977da30f833a96ad08e86f24d0c.tar.xz |
(svn r11143) -Fix: the random bits were not set for the production callback when the NewGRF asked for it.
Diffstat (limited to 'src/industry.h')
-rw-r--r-- | src/industry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h index e8d5596c9..bf60975a7 100644 --- a/src/industry.h +++ b/src/industry.h @@ -82,6 +82,10 @@ enum IndustyBehaviour { INDUSTRYBEH_AIRPLANE_ATTACKS = 1 << 11, ///< can be exploded by a military airplane (oil refinery) INDUSTRYBEH_CHOPPER_ATTACKS = 1 << 12, ///< can be exploded by a military helicopter (factory) INDUSTRYBEH_CAN_SUBSIDENCE = 1 << 13, ///< can cause a subsidence (coal mine, shaft that collapses) + /* The following flags are only used for newindustries and do no represent any normal behaviour */ + INDUSTRYBEH_PROD_MULTI_HNDLING = 1 << 14, ///< Automatic production multiplier handling + INDUSTRYBEH_PRODCALLBACK_RANDOM = 1 << 15, ///< Production callback needs random bits in var 10 + INDUSTRYBEH_NOBUILT_MAPCREATION = 1 << 16, ///< Do not force one instance of this type to appear on map generation INDUSTRYBEH_CANCLOSE_LASTINSTANCE = 1 << 17, ///< Allow closing down the last instance of this type }; |