OpenTTD Source 20260721-master-g25ec12c62d
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
13#include "core/label_type.hpp"
14
15struct GRFConfig;
16
18
19static const GrfID INVALID_GRFID{"\xFF\xFF\xFF\xFF"};
20
21#endif /* NEWGRF_TYPE_H */
A type for 4 character labels/tags/ids in files that should be read/shown as is.
static const GrfID INVALID_GRFID
An invalid NewGRF.
Definition newgrf_type.h:19
Label< struct GrfIDTag > GrfID
The unique identifier of a NewGRF.
Definition newgrf_type.h:17
Information about GRF, used in the game and (part of it) in savegames.
A four character label/tag/id.