OpenTTD Source  20240917-master-g9ab0a47812
depot_type.h
Go to the documentation of this file.
1 /*
2  * This file is part of OpenTTD.
3  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6  */
7 
10 #ifndef DEPOT_TYPE_H
11 #define DEPOT_TYPE_H
12 
13 typedef uint16_t DepotID;
14 struct Depot;
15 
16 static const DepotID INVALID_DEPOT = UINT16_MAX;
17 
18 static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32;
19 
20 #endif /* DEPOT_TYPE_H */
DepotID
uint16_t DepotID
Type for the unique identifier of depots.
Definition: depot_type.h:13
MAX_LENGTH_DEPOT_NAME_CHARS
static const uint MAX_LENGTH_DEPOT_NAME_CHARS
The maximum length of a depot name in characters including '\0'.
Definition: depot_type.h:18
Depot
Definition: depot_base.h:20