(svn r19980) -Add: Load some general data from savegames on SL_LOAD_CHECK.

This commit is contained in:
frosch
2010-06-13 14:15:36 +00:00
parent e95518c8e9
commit 16618e6f16
4 changed files with 102 additions and 22 deletions

View File

@@ -14,12 +14,16 @@
#include "strings_type.h"
#include "core/smallvec_type.hpp"
#include "core/smallmap_type.hpp"
#include "core/enum_type.hpp"
#include "gfx_type.h"
#include "date_type.h"
#include "settings_type.h"
#include "company_base.h"
typedef SmallMap<uint, CompanyProperties *> CompanyPropertiesMap;
/**
* Container for loading in mode SL_LOAD_CHECK.
*/
@@ -33,6 +37,8 @@ struct LoadCheckData {
GameSettings settings;
CompanyPropertiesMap companies; ///< Company information.
LoadCheckData() : error_data(NULL)
{
this->Clear();