summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-28 13:18:07 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-28 13:18:07 +0000
commite9e4ba822215abdcd5403dfd1517c52a631acb3a (patch)
tree8b5dc4c32db6c462ecc95765f9e84dbdc2b09526 /vehicle.h
parent02c07d2a86f6f585324f775a72f0706afe8e3569 (diff)
downloadopenttd-e9e4ba822215abdcd5403dfd1517c52a631acb3a.tar.xz
(svn r7592) -Feature: Add support for tractive effort to 'realistic' acceleration.
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 80f3939c4..10ca04903 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -62,6 +62,7 @@ typedef struct VehicleRail {
// cached values, recalculated when the cargo on a train changes (in addition to the conditions above)
uint32 cached_weight; // total weight of the consist.
uint32 cached_veh_weight; // weight of the vehicle.
+ uint32 cached_max_te; // max tractive effort of consist
/**
* Position/type of visual effect.
* bit 0 - 3 = position of effect relative to vehicle. (0 = front, 8 = centre, 15 = rear)