OpenTTD Source: src/depot_type.h Source File

OpenTTD Source 13.1

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 #include "station_type.h"
14
15 typedef uint16 DepotID;
16 struct Depot;
17
18 static const DepotID INVALID_DEPOT = (DepotID)INVALID_STATION;
19
20 static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32;
21
22 #endif /* DEPOT_TYPE_H */
DepotID
uint16 DepotID
Type for the unique identifier of depots.
Definition: depot_type.h:15
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:20
Depot
Definition: depot_base.h:19
station_type.h