OpenTTD Source 20260711-master-g3fb3006dff
newgrf_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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
9
10#ifndef NEWGRF_TYPE_H
11#define NEWGRF_TYPE_H
12
13struct GRFConfig;
14
15using GrfID = uint32_t;
16
17static const GrfID INVALID_GRFID = 0xFFFFFFFF;
18
19#endif /* NEWGRF_TYPE_H */
uint32_t GrfID
The unique identifier of a NewGRF.
Definition newgrf_type.h:15
static const GrfID INVALID_GRFID
An invalid NewGRF.
Definition newgrf_type.h:17
Information about GRF, used in the game and (part of it) in savegames.