Fix: Don't allow right-click to close world generation progress window. (#13084)
[openttd-github.git] / src / depot_type.h
blob4e61c1bcbd5e71e0754b9676036eb9f974482f2f
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 */
8 /** @file depot_type.h Header files for depots (not hangars) */
10 #ifndef DEPOT_TYPE_H
11 #define DEPOT_TYPE_H
13 typedef uint16_t DepotID; ///< Type for the unique identifier of depots.
14 struct Depot;
16 static const DepotID INVALID_DEPOT = UINT16_MAX;
18 static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32; ///< The maximum length of a depot name in characters including '\0'
20 #endif /* DEPOT_TYPE_H */