mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r20300) -Add: Air drag field to the rail engine information.
This commit is contained in:
parent
1fd66d7cc4
commit
5c633159ca
|
@ -55,6 +55,7 @@ struct RailVehicleInfo {
|
||||||
byte visual_effect; ///< Bitstuffed NewGRF visual effect data
|
byte visual_effect; ///< Bitstuffed NewGRF visual effect data
|
||||||
byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor
|
byte shorten_factor; ///< length on main map for this type is 8 - shorten_factor
|
||||||
byte tractive_effort; ///< Tractive effort coefficient
|
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
|
byte user_def_data; ///< Property 0x25: "User-defined bit mask" Used only for (very few) NewGRF vehicles
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -363,7 +363,7 @@ static const EngineInfo _orig_engine_info[] = {
|
||||||
* @param k engclass
|
* @param k engclass
|
||||||
* Tractive effort coefficient by default is the same as TTDPatch, 0.30*256=76
|
* 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 M RAILVEH_MULTIHEAD
|
||||||
#define W RAILVEH_WAGON
|
#define W RAILVEH_WAGON
|
||||||
#define G RAILVEH_SINGLEHEAD
|
#define G RAILVEH_SINGLEHEAD
|
||||||
|
|
Loading…
Reference in New Issue