From 1777809e1416be9c837c6f349813d54bc4bf855e Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 28 Jan 2012 12:11:23 +0000 Subject: (svn r23861) -Feature: [NewGRF] New algorithm (activated via an engine flag) to determine the capacity of vehicles. This allows vehicles to better control the capacity for cargotypes which they know; and let cargo NewGRFs influence the capacity for cargos the vehicle NewGRF does not know, but which the vehicle is refittable to due to cargo classes. --- src/engine_type.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/engine_type.h') diff --git a/src/engine_type.h b/src/engine_type.h index d4a553839..2ce1f80e9 100644 --- a/src/engine_type.h +++ b/src/engine_type.h @@ -156,6 +156,7 @@ enum EngineMiscFlags { EF_RAIL_IS_MU = 2, ///< Rail vehicle is a multiple-unit (DMU/EMU) EF_RAIL_FLIPS = 3, ///< Rail vehicle can be flipped in the depot EF_AUTO_REFIT = 4, ///< Automatic refitting is allowed + EF_NO_DEFAULT_CARGO_MULTIPLIER = 5, ///< Use the new capacity algorithm. The default cargotype of the vehicle does not affect capacity multipliers. CB 15 is also called in purchase list. }; /** -- cgit v1.2.3-54-g00ecf