summaryrefslogtreecommitdiff
path: root/src/industry_type.h
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-07-26 19:29:54 +0200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2018-11-03 21:43:54 +0100
commite66cec8f86357918c58b20bd3cc67330f277a5e1 (patch)
tree1d34c8882bdc3fa2150ebcd06ea5e9ce247cd68a /src/industry_type.h
parent8859381d301a60169e167431c97cb084b7730ead (diff)
downloadopenttd-e66cec8f86357918c58b20bd3cc67330f277a5e1.tar.xz
Add: NewGRF support for 16-in-16-out industries
Diffstat (limited to 'src/industry_type.h')
-rw-r--r--src/industry_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/industry_type.h b/src/industry_type.h
index 6234f7b11..9a8a46901 100644
--- a/src/industry_type.h
+++ b/src/industry_type.h
@@ -37,6 +37,10 @@ static const IndustryGfx INVALID_INDUSTRYTILE = NUM_INDUSTRYTILES; ///< one a
static const int INDUSTRY_COMPLETED = 3; ///< final stage of industry construction.
+static const int INDUSTRY_NUM_INPUTS = 16; ///< Number of cargo types an industry can accept
+static const int INDUSTRY_NUM_OUTPUTS = 16; ///< Number of cargo types an industry can produce
+
+
void CheckIndustries();
#endif /* INDUSTRY_TYPE_H */