summaryrefslogtreecommitdiff
path: root/src/engine_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-08 17:27:46 +0000
committerfrosch <frosch@openttd.org>2011-11-08 17:27:46 +0000
commitc2cf26b451bf93dde6730b950b9face513d5accc (patch)
tree154b76da04f09f97f5998c3ce47db4e16cbdd1b5 /src/engine_type.h
parent52774235eb6eb8affb7e68b94c490d3f09e7ae31 (diff)
downloadopenttd-c2cf26b451bf93dde6730b950b9face513d5accc.tar.xz
(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage.
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 635c01f27..a291bce07 100644
--- a/src/engine_type.h
+++ b/src/engine_type.h
@@ -121,6 +121,7 @@ struct RoadVehicleInfo {
uint8 tractive_effort; ///< Coefficient of tractive effort
uint8 air_drag; ///< Coefficient of air drag
byte visual_effect; ///< Bitstuffed NewGRF visual effect data
+ byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor
};
/**