summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:45:40 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:45:40 +0000
commit9135f7130ec5d542ec5187d10eb41920ade4d0c2 (patch)
tree4d3162b3bb4e470757f20a1d1e2470243356a21c /src/fios.h
parentd6812947f3b793302dc1ad42a07767ab831e66e3 (diff)
downloadopenttd-9135f7130ec5d542ec5187d10eb41920ade4d0c2.tar.xz
(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure definitions.
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/fios.h b/src/fios.h
index f25d5a7e2..6ef7783b6 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -107,14 +107,6 @@ enum SaveLoadDialogMode {
SLD_SAVE_HEIGHTMAP, ///< Save a heightmap.
};
-/** 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
-};
-
enum FiosType {
FIOS_TYPE_DRIVE,
FIOS_TYPE_PARENT,
@@ -137,14 +129,6 @@ struct FiosItem {
char name[MAX_PATH];
};
-/** Deals with the type of the savegame, independent of extension */
-struct FileToSaveLoad {
- int 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
-};
-
enum SortingBits {
SORT_ASCENDING = 0,
SORT_DESCENDING = 1,
@@ -155,7 +139,6 @@ DECLARE_ENUM_AS_BIT_SET(SortingBits)
/* Variables to display file lists */
extern SmallVector<FiosItem, 32> _fios_items;
-extern FileToSaveLoad _file_to_saveload;
extern SaveLoadDialogMode _saveload_mode;
extern SortingBits _savegame_sort_order;