summaryrefslogtreecommitdiff
path: root/src/fileio_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:46:07 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:46:07 +0000
commit087ed1e999e900d695f5de11b340406890baa3a7 (patch)
treea5354afbbc3b64d4d8f4e3f16ba29046d6c08cad /src/fileio_type.h
parent9135f7130ec5d542ec5187d10eb41920ade4d0c2 (diff)
downloadopenttd-087ed1e999e900d695f5de11b340406890baa3a7.tar.xz
(svn r27636) -Codechange: Rename FileType to AbstractFileType.
Diffstat (limited to 'src/fileio_type.h')
-rw-r--r--src/fileio_type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fileio_type.h b/src/fileio_type.h
index 87cb2d1a8..fc50484f2 100644
--- a/src/fileio_type.h
+++ b/src/fileio_type.h
@@ -14,6 +14,14 @@
#include "core/enum_type.hpp"
+/** The different abstract types of files that the system knows about. */
+enum AbstractFileType {
+ FT_NONE, ///< nothing to do
+ FT_SAVEGAME, ///< old or new savegame
+ FT_SCENARIO, ///< old or new scenario
+ FT_HEIGHTMAP, ///< heightmap file
+};
+
/**
* The different kinds of subdirectories OpenTTD uses
*/