summaryrefslogtreecommitdiff
path: root/src/newgrf_properties.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-08 17:27:55 +0000
committerfrosch <frosch@openttd.org>2011-11-08 17:27:55 +0000
commit8dcbd673cfa9e9f1f4036fe053a9ebd78bb0328a (patch)
tree9bdef9a4fe800d233ac0750d3ee76a22169edca3 /src/newgrf_properties.h
parentc2cf26b451bf93dde6730b950b9face513d5accc (diff)
downloadopenttd-8dcbd673cfa9e9f1f4036fe053a9ebd78bb0328a.tar.xz
(svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 instead.
Diffstat (limited to 'src/newgrf_properties.h')
-rw-r--r--src/newgrf_properties.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_properties.h b/src/newgrf_properties.h
index 1f18940e0..5b2ba055a 100644
--- a/src/newgrf_properties.h
+++ b/src/newgrf_properties.h
@@ -25,6 +25,7 @@ enum PropertyID {
PROP_TRAIN_WEIGHT = 0x16, ///< Weight in t (if dualheaded: for each single vehicle)
PROP_TRAIN_COST_FACTOR = 0x17, ///< Purchase cost (if dualheaded: sum of both vehicles)
PROP_TRAIN_TRACTIVE_EFFORT = 0x1F, ///< Tractive effort coefficient in 1/256
+ PROP_TRAIN_SHORTEN_FACTOR = 0x21, ///< Shorter vehicles
PROP_TRAIN_USER_DATA = 0x25, ///< User defined data for vehicle variable 0x42
PROP_TRAIN_CARGO_AGE_PERIOD = 0x2B, ///< Number of ticks before carried cargo is aged
@@ -36,6 +37,7 @@ enum PropertyID {
PROP_ROADVEH_SPEED = 0x15, ///< Max. speed: 1 unit = 1/0.8 mph = 2 km-ish/h
PROP_ROADVEH_TRACTIVE_EFFORT = 0x18, ///< Tractive effort coefficient in 1/256
PROP_ROADVEH_CARGO_AGE_PERIOD = 0x22, ///< Number of ticks before carried cargo is aged
+ PROP_ROADVEH_SHORTEN_FACTOR = 0x23, ///< Shorter vehicles
PROP_SHIP_COST_FACTOR = 0x0A, ///< Purchase cost
PROP_SHIP_SPEED = 0x0B, ///< Max. speed: 1 unit = 1/3.2 mph = 0.5 km-ish/h