summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-06-13 14:15:36 +0000
committerfrosch <frosch@openttd.org>2010-06-13 14:15:36 +0000
commit16618e6f16cf2a8fbb165b8c7c6e245e6cd7a298 (patch)
treef71fdb0a2ef4881a5c249d250a7bc6c800d62045 /src/fios.h
parente95518c8e9e27d2f208ba6434d3db061616d1bcd (diff)
downloadopenttd-16618e6f16cf2a8fbb165b8c7c6e245e6cd7a298.tar.xz
(svn r19980) -Add: Load some general data from savegames on SL_LOAD_CHECK.
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fios.h b/src/fios.h
index ce8d88c3c..a60f9b93c 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -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();