summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/saveload.h')
-rw-r--r--src/saveload/saveload.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h
index c4472237c..450fe58fe 100644
--- a/src/saveload/saveload.h
+++ b/src/saveload/saveload.h
@@ -33,20 +33,12 @@ enum SaveOrLoadMode {
SL_LOAD_CHECK = 5, ///< Load for game preview.
};
-/** The different types of files that the system knows about. */
-enum FileType {
- FT_NONE, ///< nothing to do
- FT_SAVEGAME, ///< old or new savegame
- FT_SCENARIO, ///< old or new scenario
- FT_HEIGHTMAP, ///< heightmap file
-};
-
/** Deals with the type of the savegame, independent of extension */
struct FileToSaveLoad {
- SaveOrLoadMode mode; ///< savegame/scenario type (old, new)
- FileType filetype; ///< what type of file are we dealing with
- char name[MAX_PATH]; ///< name
- char title[255]; ///< internal name of the game
+ SaveOrLoadMode mode; ///< savegame/scenario type (old, new)
+ AbstractFileType filetype; ///< what type of file are we dealing with
+ char name[MAX_PATH]; ///< name
+ char title[255]; ///< internal name of the game
};
/** Types of save games. */