OpenTTD Source 20241224-master-gf74b0cf984
|
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 3039 of file train_cmd.cpp.
uint8_t AccelerationSlowdownParams::large_turn |
Speed change due to a large turn.
Definition at line 3041 of file train_cmd.cpp.
Referenced by TrainController().
uint8_t AccelerationSlowdownParams::small_turn |
Speed change due to a small turn.
Definition at line 3040 of file train_cmd.cpp.
Referenced by TrainController().
uint8_t AccelerationSlowdownParams::z_down |
Fraction to add when moving down.
Definition at line 3043 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().
uint8_t AccelerationSlowdownParams::z_up |
Fraction to remove when moving up.
Definition at line 3042 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().