OpenTTD Source: src/textfile_type.h Source File

OpenTTD Source 12.2

textfile_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 TEXTFILE_TYPE_H
11 #define TEXTFILE_TYPE_H
12
14 enum TextfileType {
15 TFT_BEGIN,
16
17 TFT_README = TFT_BEGIN,
18 TFT_CHANGELOG,
19 TFT_LICENSE,
20
21 TFT_END,
22 };
23 DECLARE_POSTFIX_INCREMENT(TextfileType)
24
25 #endif /* TEXTFILE_TYPE_H */
TFT_CHANGELOG
@ TFT_CHANGELOG
NewGRF changelog.
Definition: textfile_type.h:18
DECLARE_POSTFIX_INCREMENT
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
Definition: enum_type.hpp:14
TFT_README
@ TFT_README
NewGRF readme.
Definition: textfile_type.h:17
TFT_LICENSE
@ TFT_LICENSE
NewGRF license.
Definition: textfile_type.h:19
TextfileType
TextfileType
Additional text files accompanying Tar archives.
Definition: textfile_type.h:14