Changeset - r15626:21d8c9ada4af
[Not reviewed]
master
0 2 0
terkhen - 14 years ago 2010-08-02 14:50:26
terkhen@openttd.org
(svn r20300) -Add: Air drag field to the rail engine information.
2 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/engine_type.h
Show inline comments
 
@@ -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
 
};
 

	
src/table/engines.h
Show inline comments
 
@@ -363,7 +363,7 @@ static const EngineInfo _orig_engine_inf
 
 * @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
0 comments (0 inline, 0 general)