OpenTTD Source 20250708-master-g6d86c760c6
|
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 3062 of file train_cmd.cpp.
uint8_t AccelerationSlowdownParams::large_turn |
Speed change due to a large turn.
Definition at line 3064 of file train_cmd.cpp.
Referenced by TrainController().
uint8_t AccelerationSlowdownParams::small_turn |
Speed change due to a small turn.
Definition at line 3063 of file train_cmd.cpp.
Referenced by TrainController().
uint8_t AccelerationSlowdownParams::z_down |
Fraction to add when moving down.
Definition at line 3066 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().
uint8_t AccelerationSlowdownParams::z_up |
Fraction to remove when moving up.
Definition at line 3065 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().