OpenTTD Source 20250205-master-gfd85ab1e2c
BuildDepotVehicleListData Struct Reference

Data for building a depot vehicle list. More...

Data Fields

VehicleListengines
 Pointer to list to add vehicles to.
 
VehicleListwagons
 Pointer to list to add wagons to (can be nullptr).
 
VehicleType type
 Type of vehicle.
 
bool individual_wagons
 If true add every wagon to wagons which is not attached to an engine. If false only add the first wagon of every row.
 

Detailed Description

Data for building a depot vehicle list.

Definition at line 36 of file vehiclelist.cpp.

Field Documentation

◆ engines

VehicleList* BuildDepotVehicleListData::engines

Pointer to list to add vehicles to.

Definition at line 38 of file vehiclelist.cpp.

◆ individual_wagons

bool BuildDepotVehicleListData::individual_wagons

If true add every wagon to wagons which is not attached to an engine. If false only add the first wagon of every row.

Definition at line 41 of file vehiclelist.cpp.

◆ type

VehicleType BuildDepotVehicleListData::type

Type of vehicle.

Definition at line 40 of file vehiclelist.cpp.

◆ wagons

VehicleList* BuildDepotVehicleListData::wagons

Pointer to list to add wagons to (can be nullptr).

Definition at line 39 of file vehiclelist.cpp.


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