OpenTTD Source 20241224-master-gee860a5c8e
|
Public Member Functions | |
GUIEngineListItem (EngineID engine_id, EngineID variant_id, EngineDisplayFlags flags, uint8_t indent) | |
Data Fields | |
EngineID | engine_id |
Engine to display in build purchase list. | |
EngineID | variant_id |
Variant group of the engine. | |
EngineDisplayFlags | flags |
Flags for toggling/drawing (un)folded status and controlling indentation. | |
uint8_t | indent |
Display indentation level. | |
uint16_t | level_mask |
Mask of level continuations. | |
Definition at line 20 of file engine_gui.h.
|
inline |
Definition at line 27 of file engine_gui.h.
EngineID GUIEngineListItem::engine_id |
Engine to display in build purchase list.
Definition at line 21 of file engine_gui.h.
Referenced by AircraftEngineCargoSorter(), AircraftRangeSorter(), CargoAndEngineFilter(), EngineCostSorter(), EngineIntroDateSorter(), EngineNameSorter(), EngineNumberSorter(), EnginePowerSorter(), EnginePowerVsRunningCostSorter(), EngineReliabilitySorter(), EngineRunningCostSorter(), EngineSpeedSorter(), EngineTractiveEffortSorter(), BuildVehicleWindow::FilterEngineList(), ReplaceVehicleWindow::GenerateReplaceVehList(), RoadVehEngineCapacitySorter(), ShipEngineCapacitySorter(), TrainEngineCapacitySorter(), and TrainEnginesThenWagonsSorter().
EngineDisplayFlags GUIEngineListItem::flags |
Flags for toggling/drawing (un)folded status and controlling indentation.
Definition at line 23 of file engine_gui.h.
uint8_t GUIEngineListItem::indent |
Display indentation level.
Definition at line 24 of file engine_gui.h.
uint16_t GUIEngineListItem::level_mask |
Mask of level continuations.
Definition at line 25 of file engine_gui.h.
EngineID GUIEngineListItem::variant_id |
Variant group of the engine.
Definition at line 22 of file engine_gui.h.