summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-09-27 21:39:13 +0000
committerglx <glx@openttd.org>2007-09-27 21:39:13 +0000
commit5e45e730375743b5429215644b31d1bb1cfdcf3b (patch)
treedcfc4308edebdd200f9fae9daf09ec2601ae2212 /src/industry.h
parent02d23c27764c9ff01c3f370c7638012e4520afa1 (diff)
downloadopenttd-5e45e730375743b5429215644b31d1bb1cfdcf3b.tar.xz
(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index f3f0ca2ca..d1d71abce 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -105,10 +105,12 @@ struct Industry : PoolItem<Industry, IndustryID, &_Industry_pool> {
byte width;
byte height;
const Town *town; ///< Nearest town
+ CargoID produced_cargo[2]; ///< 2 production cargo slots
uint16 produced_cargo_waiting[2]; ///< amount of cargo produced per cargo
uint16 incoming_cargo_waiting[3]; ///< incoming cargo waiting to be processed
byte production_rate[2]; ///< production rate for each cargo
byte prod_level; ///< general production level
+ CargoID accepts_cargo[3]; ///< 3 input cargo slots
uint16 this_month_production[2]; ///< stats of this month's production per cargo
uint16 this_month_transported[2]; ///< stats of this month's transport per cargo
byte last_month_pct_transported[2]; ///< percentage transported per cargo in the last full month