|
OpenTTD Source 20260531-master-g0e951f3528
|
Simulated cargo type and capacity for prediction of future links. More...
#include <vehicle_base.h>
Public Member Functions | |
| RefitDesc (CargoType cargo, uint16_t capacity, uint16_t remaining) | |
Data Fields | |
| CargoType | cargo |
| Cargo type the vehicle will be carrying. | |
| uint16_t | capacity |
| Capacity the vehicle will have. | |
| uint16_t | remaining |
| Capacity remaining from before the previous refit. | |
Simulated cargo type and capacity for prediction of future links.
Definition at line 170 of file vehicle_base.h.
|
inline |
Definition at line 174 of file vehicle_base.h.
| uint16_t RefitDesc::capacity |
Capacity the vehicle will have.
Definition at line 172 of file vehicle_base.h.
| CargoType RefitDesc::cargo |
Cargo type the vehicle will be carrying.
Definition at line 171 of file vehicle_base.h.
| uint16_t RefitDesc::remaining |
Capacity remaining from before the previous refit.
Definition at line 173 of file vehicle_base.h.