src/industry.h
changeset 7645 efa25fcf7917
parent 7639 e17bd2a46caf
child 7654 533a9c9a5e83
equal deleted inserted replaced
7644:a7ff5c8ae47e 7645:efa25fcf7917
   103 
   103 
   104 	TileIndex xy;                       ///< coordinates of the primary tile the industry is built one
   104 	TileIndex xy;                       ///< coordinates of the primary tile the industry is built one
   105 	byte width;
   105 	byte width;
   106 	byte height;
   106 	byte height;
   107 	const Town *town;                   ///< Nearest town
   107 	const Town *town;                   ///< Nearest town
       
   108 	CargoID produced_cargo[2];          ///< 2 production cargo slots
   108 	uint16 produced_cargo_waiting[2];   ///< amount of cargo produced per cargo
   109 	uint16 produced_cargo_waiting[2];   ///< amount of cargo produced per cargo
   109 	uint16 incoming_cargo_waiting[3];   ///< incoming cargo waiting to be processed
   110 	uint16 incoming_cargo_waiting[3];   ///< incoming cargo waiting to be processed
   110 	byte production_rate[2];            ///< production rate for each cargo
   111 	byte production_rate[2];            ///< production rate for each cargo
   111 	byte prod_level;                    ///< general production level
   112 	byte prod_level;                    ///< general production level
       
   113 	CargoID accepts_cargo[3];           ///< 3 input cargo slots
   112 	uint16 this_month_production[2];    ///< stats of this month's production per cargo
   114 	uint16 this_month_production[2];    ///< stats of this month's production per cargo
   113 	uint16 this_month_transported[2];   ///< stats of this month's transport per cargo
   115 	uint16 this_month_transported[2];   ///< stats of this month's transport per cargo
   114 	byte last_month_pct_transported[2]; ///< percentage transported per cargo in the last full month
   116 	byte last_month_pct_transported[2]; ///< percentage transported per cargo in the last full month
   115 	uint16 last_month_production[2];    ///< total units produced per cargo in the last full month
   117 	uint16 last_month_production[2];    ///< total units produced per cargo in the last full month
   116 	uint16 last_month_transported[2];   ///< total units transported per cargo in the last full month
   118 	uint16 last_month_transported[2];   ///< total units transported per cargo in the last full month