summaryrefslogtreecommitdiff
path: root/src/ground_vehicle.hpp
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2010-11-07 13:35:07 +0000
committermichi_cc <michi_cc@openttd.org>2010-11-07 13:35:07 +0000
commit2d801c64a1d8ce0cf3f4f106d77c47fea33bbd4d (patch)
tree45839f8afb161f979b4131255f3c132ade2b1f8f /src/ground_vehicle.hpp
parent1ee62de0a338f07b2b843bedc00621f8bb1bfea3 (diff)
downloadopenttd-2d801c64a1d8ce0cf3f4f106d77c47fea33bbd4d.tar.xz
(svn r21106) -Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration "slower", which highlights the differences between vehicle types more.
Diffstat (limited to 'src/ground_vehicle.hpp')
-rw-r--r--src/ground_vehicle.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ground_vehicle.hpp b/src/ground_vehicle.hpp
index 77822abc9..e518e183f 100644
--- a/src/ground_vehicle.hpp
+++ b/src/ground_vehicle.hpp
@@ -30,12 +30,12 @@ struct AccelerationCache {
uint32 cached_weight; ///< Total weight of the consist.
uint32 cached_slope_resistance; ///< Resistance caused by weight when this vehicle part is at a slope.
uint32 cached_max_te; ///< Maximum tractive effort of consist.
+ uint16 cached_axle_resistance; ///< Resistance caused by the axles of the vehicle.
/* Cached values, recalculated on load and each time a vehicle is added to/removed from the consist. */
+ uint16 cached_max_track_speed; ///< Maximum consist speed limited by track type.
uint32 cached_power; ///< Total power of the consist.
uint32 cached_air_drag; ///< Air drag coefficient of the vehicle.
- uint16 cached_axle_resistance; ///< Resistance caused by the axles of the vehicle.
- uint16 cached_max_track_speed; ///< Maximum consist speed limited by track type.
};
/** Ground vehicle flags. */