summaryrefslogtreecommitdiff
path: root/src/fileio_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:47:07 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:47:07 +0000
commit2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36 (patch)
treeffe7234137f524ab7c0ebf484c9d383e56311333 /src/fileio_type.h
parent3b8ede5ebe74bafba528f0bf40942c1367cbcaee (diff)
downloadopenttd-2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36.tar.xz
(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function.
Diffstat (limited to 'src/fileio_type.h')
-rw-r--r--src/fileio_type.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/fileio_type.h b/src/fileio_type.h
index fc50484f2..390b28f24 100644
--- a/src/fileio_type.h
+++ b/src/fileio_type.h
@@ -22,6 +22,21 @@ enum AbstractFileType {
FT_HEIGHTMAP, ///< heightmap file
};
+/** Elements of a file system that are recognized. */
+enum FiosType {
+ FIOS_TYPE_DRIVE,
+ FIOS_TYPE_PARENT,
+ FIOS_TYPE_DIR,
+ FIOS_TYPE_FILE,
+ FIOS_TYPE_OLDFILE,
+ FIOS_TYPE_SCENARIO,
+ FIOS_TYPE_OLD_SCENARIO,
+ FIOS_TYPE_DIRECT,
+ FIOS_TYPE_PNG,
+ FIOS_TYPE_BMP,
+ FIOS_TYPE_INVALID = 255,
+};
+
/**
* The different kinds of subdirectories OpenTTD uses
*/