Feature: [NewGRF] Maximum curve speed modifier for rail vehicles (#9346)

This commit is contained in:
Vít Šefl
2021-08-15 11:17:05 +02:00
committed by GitHub
parent 579f393374
commit 2183fd4dab
8 changed files with 38 additions and 7 deletions

View File

@@ -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. */