OpenTTD Source 20250501-master-ga30f251d05
|
Option to refit a vehicle chain. More...
Public Member Functions | |
bool | operator== (const RefitOption &other) const |
Equality operator for RefitOption. | |
Data Fields | |
CargoType | cargo |
Cargo to refit to. | |
uint8_t | subtype |
Subcargo to use. | |
StringID | string |
GRF-local String to display for the cargo. | |
Option to refit a vehicle chain.
Definition at line 665 of file vehicle_gui.cpp.
|
inline |
Equality operator for RefitOption.
other | Compare to this RefitOption. |
Definition at line 675 of file vehicle_gui.cpp.
CargoType RefitOption::cargo |
Cargo to refit to.
Definition at line 666 of file vehicle_gui.cpp.
Referenced by DrawVehicleRefitWindow(), RefitWindow::GetCapacityString(), operator==(), RefitWindow::RefreshScrollbar(), and RefitWindow::SetSelection().
StringID RefitOption::string |
GRF-local String to display for the cargo.
Definition at line 668 of file vehicle_gui.cpp.
Referenced by operator==().
uint8_t RefitOption::subtype |
Subcargo to use.
Definition at line 667 of file vehicle_gui.cpp.
Referenced by DrawVehicleRefitWindow(), and RefitWindow::GetCapacityString().