OpenTTD Source: src/transport_type.h File Reference

OpenTTD Source 12.2

Data Structures | Typedefs | Enumerations
transport_type.h File Reference
`#include "core/enum_type.hpp"`

Go to the source code of this file.

## Data Structures
struct | EnumPropsT< TransportType >
| Helper information for extract tool. More...

## Typedefs
typedef uint16 | UnitID
| Type for the company global vehicle unit number.

## Enumerations
enum | TransportType { TRANSPORT_BEGIN = 0, TRANSPORT_RAIL = TRANSPORT_BEGIN, TRANSPORT_ROAD, TRANSPORT_WATER, TRANSPORT_AIR, TRANSPORT_END, INVALID_TRANSPORT = 0xff }
| Available types of transport. More...

## Detailed Description

Base types related to transport.

Definition in file transport_type.h.

## Enumeration Type Documentation

## ◆ TransportType

enum TransportType

Available types of transport.

Enumerator
TRANSPORT_BEGIN | Begin of the iterator.
TRANSPORT_RAIL | Transport by train.
TRANSPORT_ROAD | Transport by road vehicle.
TRANSPORT_WATER | Transport over water.
TRANSPORT_AIR | Transport through air.
TRANSPORT_END | End of iterations.
INVALID_TRANSPORT | Sentinel for invalid transport types.

Definition at line 19 of file transport_type.h.