summaryrefslogtreecommitdiff
path: root/src/table/engines.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-08-02 14:54:47 +0000
committerterkhen <terkhen@openttd.org>2010-08-02 14:54:47 +0000
commitcded122da519b72a00c0432a7129a5a9f8ee97e7 (patch)
tree87e542bc3a5a2428b81aa39b0ebe5d057c1b7f36 /src/table/engines.h
parent7d0297f96710d658e09c7494637030921c1bc4a5 (diff)
downloadopenttd-cded122da519b72a00c0432a7129a5a9f8ee97e7.tar.xz
(svn r20303) -Feature: [NewGRF] Air drag property support for trains and road vehicles. Air drag for vehicles with air drag not set or set to zero will use a default value depending on their max speed.
Diffstat (limited to 'src/table/engines.h')
-rw-r--r--src/table/engines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/engines.h b/src/table/engines.h
index 63c830ddf..6ff3ecfb7 100644
--- a/src/table/engines.h
+++ b/src/table/engines.h
@@ -362,6 +362,7 @@ static const EngineInfo _orig_engine_info[] = {
* @param j railtype
* @param k engclass
* Tractive effort coefficient by default is the same as TTDPatch, 0.30*256=76
+ * Air drag value depends on the top speed of the vehicle.
*/
#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
@@ -642,6 +643,7 @@ static const AircraftVehicleInfo _orig_aircraft_vehicle_info[] = {
* @param g weight (1/4 ton)
* @param h power (10 hp)
* Tractive effort coefficient by default is the same as TTDPatch, 0.30*256=76
+ * Air drag value depends on the top speed of the vehicle.
*/
#define ROV(a, b, c, d, e, f, g, h) { a, b, c, PR_RUNNING_ROADVEH, d, e, f, g, h, 76, 0 }
static const RoadVehicleInfo _orig_road_vehicle_info[] = {