OpenTTD Source 20241224-master-gf74b0cf984
depot_type.h File Reference

Header files for depots (not hangars) More...

Go to the source code of this file.

Typedefs

typedef uint16_t DepotID
 Type for the unique identifier of depots.
 

Variables

static const DepotID INVALID_DEPOT = UINT16_MAX
 
static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32
 The maximum length of a depot name in characters including '\0'.
 

Detailed Description

Header files for depots (not hangars)

Definition in file depot_type.h.

Typedef Documentation

◆ DepotID

typedef uint16_t DepotID

Type for the unique identifier of depots.

Definition at line 13 of file depot_type.h.

Variable Documentation

◆ INVALID_DEPOT

const DepotID INVALID_DEPOT = UINT16_MAX
static

Definition at line 16 of file depot_type.h.

◆ MAX_LENGTH_DEPOT_NAME_CHARS

const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32
static

The maximum length of a depot name in characters including '\0'.

Definition at line 18 of file depot_type.h.

Referenced by CmdRenameDepot(), and DepotWindow::OnClick().