|
OpenTTD Source 20260712-master-gcf48f866eb
|
Header files for depots (not hangars). More...
#include "core/pool_type.hpp"Go to the source code of this file.
Typedefs | |
| using | DepotID = PoolID<uint16_t, struct DepotIDTag, 64000, 0xFFFF> |
| Type for the unique identifier of depots. | |
Variables | |
| static const uint | MAX_LENGTH_DEPOT_NAME_CHARS = 32 |
| The maximum length of a depot name in characters including '\0'. | |
| static constexpr uint8_t | MINIMAL_DEPOT_BRIDGE_HEIGHT = 3 |
| Minimal height for a bridge above any depot tile. | |
Header files for depots (not hangars).
Definition in file depot_type.h.
Type for the unique identifier of depots.
Definition at line 15 of file depot_type.h.
|
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().
|
staticconstexpr |
Minimal height for a bridge above any depot tile.
Definition at line 21 of file depot_type.h.
Referenced by CheckBuildAbove_Rail(), CheckBuildAbove_Road(), CheckBuildAbove_Water(), CmdBuildRoadDepot(), CmdBuildShipDepot(), and CmdBuildTrainDepot().