diff options
author | rubidium <rubidium@openttd.org> | 2008-05-29 09:54:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-29 09:54:47 +0000 |
commit | 34e2d8f1e14c4204b299b78623d9935c7b07b4e3 (patch) | |
tree | cccf15d8a59031edb6cb85fccdfdf7895b781b06 /src/fios.h | |
parent | 8ea996e246ab1d38e14d5b8d80ff7f2ac9aee24f (diff) | |
download | openttd-34e2d8f1e14c4204b299b78623d9935c7b07b4e3.tar.xz |
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
Diffstat (limited to 'src/fios.h')
-rw-r--r-- | src/fios.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fios.h b/src/fios.h index ca95b3578..ca4fa1361 100644 --- a/src/fios.h +++ b/src/fios.h @@ -72,11 +72,19 @@ struct SmallFiosItem { char title[255]; ///< internal name of the game }; +enum { + SORT_ASCENDING = 0, + SORT_DESCENDING = 1, + SORT_BY_DATE = 0, + SORT_BY_NAME = 2 +}; + /* Variables to display file lists */ extern FiosItem *_fios_list; ///< defined in misc_gui.cpp extern int _fios_num; ///< defined in fios.cpp, read_only version of _fios_count extern SmallFiosItem _file_to_saveload; extern SaveLoadDialogMode _saveload_mode; ///< defined in misc_gui.cpp +extern byte _savegame_sort_order; /* Launch save/load dialog */ void ShowSaveLoadDialog(SaveLoadDialogMode mode); |