OpenTTD Source
20241108-master-g80f628063a
|
A single row of CargoesField. More...
Public Member Functions | |
void | ConnectIndustryProduced (int column) |
Connect industry production cargoes to the cargo column after it. More... | |
void | MakeCargoLabel (int column, bool accepting) |
Construct a CFT_CARGO_LABEL field. More... | |
void | ConnectIndustryAccepted (int column) |
Connect industry accepted cargoes to the cargo column before it. More... | |
Data Fields | |
CargoesField | columns [5] |
One row of fields. | |
A single row of CargoesField.
Definition at line 2424 of file industry_gui.cpp.
|
inline |
Connect industry accepted cargoes to the cargo column before it.
column | Column of the industry. |
Definition at line 2490 of file industry_gui.cpp.
References CFT_CARGO, CFT_INDUSTRY, CargoesField::industry, and CargoesField::type.
|
inline |
Connect industry production cargoes to the cargo column after it.
column | Column of the industry. |
Definition at line 2431 of file industry_gui.cpp.
References CFT_CARGO, CFT_INDUSTRY, CargoesField::industry, and CargoesField::type.
|
inline |
Construct a CFT_CARGO_LABEL field.
column | Column to create the new field. |
accepting | Display accepted cargo (if false , display produced cargo). |
Definition at line 2469 of file industry_gui.cpp.
References MAX_CARGOES.