summaryrefslogtreecommitdiff
path: root/src/newgrf_properties.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-10-30 14:31:49 +0000
committerterkhen <terkhen@openttd.org>2010-10-30 14:31:49 +0000
commitc87e023d7a4e594eac97e371cbe6ce515402bec1 (patch)
treee95e729d682f8f6f0a3c444910b5cb6a16dc06d8 /src/newgrf_properties.h
parent0baf335be3af23144a61a7230686b8811dc953ba (diff)
downloadopenttd-c87e023d7a4e594eac97e371cbe6ce515402bec1.tar.xz
(svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort).
Diffstat (limited to 'src/newgrf_properties.h')
-rw-r--r--src/newgrf_properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_properties.h b/src/newgrf_properties.h
index 2f21352e0..fc46aea2e 100644
--- a/src/newgrf_properties.h
+++ b/src/newgrf_properties.h
@@ -30,6 +30,9 @@ enum PropertyID {
PROP_ROADVEH_RUNNING_COST_FACTOR = 0x09, ///< Yearly runningcost
PROP_ROADVEH_CARGO_CAPACITY = 0x0F, ///< Capacity
PROP_ROADVEH_COST_FACTOR = 0x11, ///< Purchase cost
+ PROP_ROADVEH_POWER = 0x13, ///< Power in 10 HP
+ PROP_ROADVEH_WEIGHT = 0x14, ///< Weight in 1/4 t
+ PROP_ROADVEH_TRACTIVE_EFFORT = 0x18, ///< Tractive effort coefficient in 1/256
PROP_SHIP_COST_FACTOR = 0x0A, ///< Purchase cost
PROP_SHIP_SPEED = 0x0B, ///< Max. speed: 1 unit = 1/3.2 mph = 0.5 km-ish/h