(svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames.

This commit is contained in:
frosch
2010-06-13 14:13:23 +00:00
parent e8248cf113
commit 8d9b573f8f
4 changed files with 198 additions and 62 deletions

View File

@@ -29,11 +29,24 @@
#include "table/strings.h"
SaveLoadDialogMode _saveload_mode;
LoadCheckData _load_check_data; ///< Data loaded from save during SL_LOAD_CHECK.
static bool _fios_path_changed;
static bool _savegame_sort_dirty;
/**
* Reset read data.
*/
void LoadCheckData::Clear()
{
this->checkable = false;
this->error = INVALID_STRING_ID;
free(this->error_data);
this->error_data = NULL;
}
enum SaveLoadWindowWidgets {
SLWW_WINDOWTITLE,
SLWW_SORT_BYNAME,