|
OpenTTD Source 20260531-master-g0e951f3528
|
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 3128 of file train_cmd.cpp.
| uint8_t AccelerationSlowdownParams::large_turn |
Speed change due to a large turn.
Definition at line 3130 of file train_cmd.cpp.
Referenced by TrainController().
| uint8_t AccelerationSlowdownParams::small_turn |
Speed change due to a small turn.
Definition at line 3129 of file train_cmd.cpp.
Referenced by TrainController().
| uint8_t AccelerationSlowdownParams::z_down |
Fraction to add when moving down.
Definition at line 3132 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().
| uint8_t AccelerationSlowdownParams::z_up |
Fraction to remove when moving up.
Definition at line 3131 of file train_cmd.cpp.
Referenced by AffectSpeedByZChange().