summaryrefslogtreecommitdiff
path: root/src/engine_type.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-02-02 21:52:34 +0000
committerpeter1138 <peter1138@openttd.org>2009-02-02 21:52:34 +0000
commit5e6e4417a5adea1e2573e6d29e974d6a4426a8c6 (patch)
tree5d4bbc7e712ce8d17782bd9381172521ddb1ed2b /src/engine_type.h
parent48e6e7d586863090ead94e69ac86956fe75d2e36 (diff)
downloadopenttd-5e6e4417a5adea1e2573e6d29e974d6a4426a8c6.tar.xz
(svn r15321) -Codechange: Load road vehicle 'realistic' acceleration properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used.
Diffstat (limited to 'src/engine_type.h')
-rw-r--r--src/engine_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine_type.h b/src/engine_type.h
index 8c681216e..c7ce9fc08 100644
--- a/src/engine_type.h
+++ b/src/engine_type.h
@@ -99,6 +99,10 @@ struct RoadVehicleInfo {
uint16 max_speed; ///< Maximum speed in mph/3.2 units
byte capacity;
CargoID cargo_type;
+ uint8 weight; ///< Weight in 1/4t units
+ uint8 power; ///< Power in 10hp units
+ uint8 tractive_effort; ///< Coefficient of tractive effort
+ uint8 air_drag; ///< Coefficient of air drag
};
/** Information about a vehicle