diff options
author | alberth <alberth@openttd.org> | 2016-09-04 12:47:07 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2016-09-04 12:47:07 +0000 |
commit | 2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36 (patch) | |
tree | ffe7234137f524ab7c0ebf484c9d383e56311333 /src/fileio_type.h | |
parent | 3b8ede5ebe74bafba528f0bf40942c1367cbcaee (diff) | |
download | openttd-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.h | 15 |
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 */ |