mirror of https://github.com/OpenTTD/OpenTTD
(svn r27634) -Codechange: Improve name of the SmallFiosItem struct.
parent
a52864ef27
commit
d6812947f3
|
@ -32,7 +32,7 @@
|
||||||
SmallVector<FiosItem, 32> _fios_items;
|
SmallVector<FiosItem, 32> _fios_items;
|
||||||
static char *_fios_path;
|
static char *_fios_path;
|
||||||
static const char *_fios_path_last;
|
static const char *_fios_path_last;
|
||||||
SmallFiosItem _file_to_saveload;
|
FileToSaveLoad _file_to_saveload; ///< File to save or load in the openttd loop.
|
||||||
SortingBits _savegame_sort_order = SORT_BY_DATE | SORT_DESCENDING;
|
SortingBits _savegame_sort_order = SORT_BY_DATE | SORT_DESCENDING;
|
||||||
|
|
||||||
/* OS-specific functions are taken from their respective files (win32/unix/os2 .c) */
|
/* OS-specific functions are taken from their respective files (win32/unix/os2 .c) */
|
||||||
|
|
|
@ -138,7 +138,7 @@ struct FiosItem {
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Deals with the type of the savegame, independent of extension */
|
/** Deals with the type of the savegame, independent of extension */
|
||||||
struct SmallFiosItem {
|
struct FileToSaveLoad {
|
||||||
int mode; ///< savegame/scenario type (old, new)
|
int mode; ///< savegame/scenario type (old, new)
|
||||||
FileType filetype; ///< what type of file are we dealing with
|
FileType filetype; ///< what type of file are we dealing with
|
||||||
char name[MAX_PATH]; ///< name
|
char name[MAX_PATH]; ///< name
|
||||||
|
@ -155,7 +155,7 @@ DECLARE_ENUM_AS_BIT_SET(SortingBits)
|
||||||
|
|
||||||
/* Variables to display file lists */
|
/* Variables to display file lists */
|
||||||
extern SmallVector<FiosItem, 32> _fios_items;
|
extern SmallVector<FiosItem, 32> _fios_items;
|
||||||
extern SmallFiosItem _file_to_saveload;
|
extern FileToSaveLoad _file_to_saveload;
|
||||||
extern SaveLoadDialogMode _saveload_mode;
|
extern SaveLoadDialogMode _saveload_mode;
|
||||||
extern SortingBits _savegame_sort_order;
|
extern SortingBits _savegame_sort_order;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue