OpenTTD Source: BuildDepotVehicleListData Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
BuildDepotVehicleListData Struct Reference

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

## Data Fields
VehicleList * | engines
| Pointer to list to add vehicles to.
VehicleList * | wagons
| 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 64 of file vehiclelist.cpp.

## Field Documentation

## ◆ engines

VehicleList* BuildDepotVehicleListData::engines

Pointer to list to add vehicles to.

Definition at line 66 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 69 of file vehiclelist.cpp.

## ◆ type

VehicleType BuildDepotVehicleListData::type

Type of vehicle.

Definition at line 68 of file vehiclelist.cpp.

## ◆ wagons

VehicleList* BuildDepotVehicleListData::wagons

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

Definition at line 67 of file vehiclelist.cpp.

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

- src/vehiclelist.cpp