OpenTTD Source 20241224-master-gf74b0cf984
CargoIconOverlay Struct Reference

Public Member Functions

constexpr CargoIconOverlay (int left, int right, CargoID cargo_type, uint cargo_cap)
 

Data Fields

int left
 
int right
 
CargoID cargo_type
 
uint cargo_cap
 

Detailed Description

Definition at line 142 of file vehicle_gui_base.h.

Constructor & Destructor Documentation

◆ CargoIconOverlay()

constexpr CargoIconOverlay::CargoIconOverlay ( int  left,
int  right,
CargoID  cargo_type,
uint  cargo_cap 
)
inlineconstexpr

Definition at line 148 of file vehicle_gui_base.h.

Field Documentation

◆ cargo_cap

uint CargoIconOverlay::cargo_cap

Definition at line 146 of file vehicle_gui_base.h.

◆ cargo_type

CargoID CargoIconOverlay::cargo_type

Definition at line 145 of file vehicle_gui_base.h.

◆ left

int CargoIconOverlay::left

Definition at line 143 of file vehicle_gui_base.h.

◆ right

int CargoIconOverlay::right

Definition at line 144 of file vehicle_gui_base.h.


The documentation for this struct was generated from the following file: