2009-08-21 20:21:05 +00:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2008-03-28 16:32:27 +00:00
|
|
|
/** @file depot_type.h Header files for depots (not hangars) */
|
|
|
|
|
|
|
|
#ifndef DEPOT_TYPE_H
|
|
|
|
#define DEPOT_TYPE_H
|
|
|
|
|
2024-01-07 16:41:53 +00:00
|
|
|
typedef uint16_t DepotID; ///< Type for the unique identifier of depots.
|
2008-03-28 16:32:27 +00:00
|
|
|
struct Depot;
|
|
|
|
|
2023-08-25 12:29:51 +00:00
|
|
|
static const DepotID INVALID_DEPOT = UINT16_MAX;
|
2022-07-26 16:27:54 +00:00
|
|
|
|
2017-06-01 20:33:36 +00:00
|
|
|
static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 128; ///< The maximum length of a depot name in characters including '\0'
|
2010-05-12 20:50:10 +00:00
|
|
|
|
2008-03-28 16:32:27 +00:00
|
|
|
#endif /* DEPOT_TYPE_H */
|