diff options
author | rubidium <rubidium@openttd.org> | 2012-02-12 10:32:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2012-02-12 10:32:41 +0000 |
commit | e8dbcf90430610e2f19aeb3b764d9e8809c8f3ea (patch) | |
tree | 8cca3b6ad3193e943cd0121ba465e5cedf268307 /src/newgrf_config.h | |
parent | 0542e26460cf5da6fb4a3486ed9b515721bdb0bd (diff) | |
download | openttd-e8dbcf90430610e2f19aeb3b764d9e8809c8f3ea.tar.xz |
(svn r23932) -Codechange: split the NewGRF text window into its own source files
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index 038b18f86..c950e698a 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -17,6 +17,7 @@ #include "core/smallmap_type.hpp" #include "misc/countedptr.hpp" #include "fileio_type.h" +#include "textfile_type.h" /** GRF config bit flags */ enum GCF_Flags { @@ -145,18 +146,6 @@ struct GRFTextWrapper : public SimpleCountedObject { ~GRFTextWrapper(); }; -/** Additional text files accompanying NewGRFs */ -enum TextfileType { - TFT_BEGIN, - - TFT_README = TFT_BEGIN, ///< NewGRF readme - TFT_CHANGELOG, ///< NewGRF changelog - TFT_LICENSE, ///< NewGRF license - - TFT_END, -}; -DECLARE_POSTFIX_INCREMENT(TextfileType) - /** Information about GRF, used in the game and (part of it) in savegames */ struct GRFConfig : ZeroedMemoryAllocator { GRFConfig(const char *filename = NULL); |