summaryrefslogtreecommitdiff
path: root/src/engine_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-01-28 12:11:23 +0000
committerfrosch <frosch@openttd.org>2012-01-28 12:11:23 +0000
commit1777809e1416be9c837c6f349813d54bc4bf855e (patch)
tree3ba1ef6ca21593492d6d0ed57c7cb973e8940b53 /src/engine_type.h
parent90c53046c77101c3b6d7ad8e77f79c3cf5ee8da0 (diff)
downloadopenttd-1777809e1416be9c837c6f349813d54bc4bf855e.tar.xz
(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.
Diffstat (limited to 'src/engine_type.h')
-rw-r--r--src/engine_type.h1
1 files changed, 1 insertions, 0 deletions
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.
};
/**