(svn r15321) -Codechange: Load road vehicle 'realistic' acceleration properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used.

This commit is contained in:
peter1138
2009-02-02 21:52:34 +00:00
parent d9c143669b
commit 4b30614f72
3 changed files with 103 additions and 97 deletions

View File

@@ -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