(svn r20300) -Add: Air drag field to the rail engine information.

This commit is contained in:
terkhen 2010-08-02 14:50:26 +00:00
parent 1fd66d7cc4
commit 5c633159ca
2 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ struct RailVehicleInfo {
byte visual_effect; ///< Bitstuffed NewGRF visual effect data
byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor
byte tractive_effort; ///< Tractive effort coefficient
byte air_drag; ///< Coefficient of air drag
byte user_def_data; ///< Property 0x25: "User-defined bit mask" Used only for (very few) NewGRF vehicles
};

View File

@ -363,7 +363,7 @@ static const EngineInfo _orig_engine_info[] = {
* @param k engclass
* Tractive effort coefficient by default is the same as TTDPatch, 0.30*256=76
*/
#define RVI(a, b, c, d, e, f, g, h, i, j, k) { a, b, c, {j}, d, e, f, g, h, k, i, 0, 0, 0, 0, 0, 76, 0 }
#define RVI(a, b, c, d, e, f, g, h, i, j, k) { a, b, c, {j}, d, e, f, g, h, k, i, 0, 0, 0, 0, 0, 76, 0, 0 }
#define M RAILVEH_MULTIHEAD
#define W RAILVEH_WAGON
#define G RAILVEH_SINGLEHEAD