summaryrefslogtreecommitdiff
path: root/industry.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-10-27 15:54:24 +0000
committerbelugas <belugas@openttd.org>2006-10-27 15:54:24 +0000
commit7effb8fd5046ad0cf2effb8dc55661b316bf48d0 (patch)
tree76955221fdc0f4a255de504bb8d452764e50ebaa /industry.h
parent6d69e03e4f0516e2c50dab3b928b3fc7a00399f5 (diff)
downloadopenttd-7effb8fd5046ad0cf2effb8dc55661b316bf48d0.tar.xz
(svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Removed a loop that used the array _build_industry_types for that purpose.
Diffstat (limited to 'industry.h')
-rw-r--r--industry.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/industry.h b/industry.h
index b53486fdc..0924acf8b 100644
--- a/industry.h
+++ b/industry.h
@@ -68,7 +68,9 @@ typedef struct IndustrySpec {
byte minimal_cargo;
CargoID accepts_cargo[3];
- IndustryLifeType life_type; // This is also known as Industry production flag, in newgrf specs
+ IndustryLifeType life_type; v This is also known as Industry production flag, in newgrf specs
+
+ byte climate_availability; ///< Bitmask, giving landscape enums as bit position
StringID name;
StringID closure_text;