OpenTTD Source 20241224-master-gf74b0cf984
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
15 TFT_CONTENT_BEGIN,
16
17 TFT_README = TFT_CONTENT_BEGIN,
20
21 TFT_CONTENT_END, // This marker is used to generate the above three buttons in sequence by various of places in the code.
22
23 TFT_SURVEY_RESULT = TFT_CONTENT_END,
25
26 TFT_END,
27};
30
31#endif /* TEXTFILE_TYPE_H */
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
Definition enum_type.hpp:18
#define DECLARE_ENUM_AS_ADDABLE(EnumType)
Operator that allows this enumeration to be added to any other enumeration.
Definition enum_type.hpp:45
TextfileType
Additional text files accompanying Tar archives.
@ TFT_GAME_MANUAL
Game manual/documentation file.
@ TFT_LICENSE
Content license.
@ TFT_SURVEY_RESULT
Survey result (preview)
@ TFT_README
Content readme.
@ TFT_CHANGELOG
Content changelog.