summaryrefslogtreecommitdiff
path: root/src/engine_type.h
diff options
context:
space:
mode:
authorVít Šefl <vituscze@gmail.com>2021-08-15 11:17:05 +0200
committerGitHub <noreply@github.com>2021-08-15 11:17:05 +0200
commit2183fd4dabe72bd96b264bf8cdb3a2a8be625cf8 (patch)
tree7a94f94723ac65e43d5ab856d5945b3bce9a5b31 /src/engine_type.h
parent579f393374c4fae2458523a674c453349fce7c59 (diff)
downloadopenttd-2183fd4dabe72bd96b264bf8cdb3a2a8be625cf8.tar.xz
Feature: [NewGRF] Maximum curve speed modifier for rail vehicles (#9346)
Diffstat (limited to 'src/engine_type.h')
-rw-r--r--src/engine_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine_type.h b/src/engine_type.h
index 83f8dc307..f0b6ea545 100644
--- a/src/engine_type.h
+++ b/src/engine_type.h
@@ -59,6 +59,7 @@ struct RailVehicleInfo {
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
+ int16 curve_speed_mod; ///< Modifier to maximum speed in curves (fixed-point binary with 8 fractional bits)
};
/** Information about a ship vehicle. */