OpenTTD Source 20250512-master-g2516c435b7
|
Data structure for storing engine speed changes of an acceleration type. More...
Data Fields | |
uint8_t | small_turn |
Speed change due to a small turn. | |
uint8_t | large_turn |
Speed change due to a large turn. | |
uint8_t | z_up |
Fraction to remove when moving up. | |
uint8_t | z_down |
Fraction to add when moving down. | |
Data structure for storing engine speed changes of an acceleration type.
Definition at line 3042 of file train_cmd.cpp.
uint8_t AccelerationSlowdownParams::large_turn |
Speed change due to a large turn.
Definition at line 3044 of file train_cmd.cpp.
Referenced by TrainController().
uint8_t AccelerationSlowdownParams::small_turn |
Speed change due to a small turn.
Definition at line 3043 of file train_cmd.cpp.
Referenced by TrainController().
uint8_t AccelerationSlowdownParams::z_down |
Fraction to add when moving down.
Definition at line 3046 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().
uint8_t AccelerationSlowdownParams::z_up |
Fraction to remove when moving up.
Definition at line 3045 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().