(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.

This commit is contained in:
rubidium
2008-05-29 09:54:47 +00:00
parent 8ea996e246
commit 34e2d8f1e1
6 changed files with 26 additions and 34 deletions

View File

@@ -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);