summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-06-13 14:15:58 +0000
committerfrosch <frosch@openttd.org>2010-06-13 14:15:58 +0000
commitd9b4d92050b90aa1d73d7e5bc3dc54b384b80b5b (patch)
treebf7bd3cd00819f0d463df43e799fae37af307351 /src/fios.h
parent16618e6f16cf2a8fbb165b8c7c6e245e6cd7a298 (diff)
downloadopenttd-d9b4d92050b90aa1d73d7e5bc3dc54b384b80b5b.tar.xz
(svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK.
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fios.h b/src/fios.h
index a60f9b93c..eb06a0a9e 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -20,6 +20,7 @@
#include "date_type.h"
#include "settings_type.h"
#include "company_base.h"
+#include "newgrf_config.h"
typedef SmallMap<uint, CompanyProperties *> CompanyPropertiesMap;
@@ -39,7 +40,10 @@ struct LoadCheckData {
CompanyPropertiesMap companies; ///< Company information.
- LoadCheckData() : error_data(NULL)
+ GRFConfig *grfconfig; ///< NewGrf configuration from save.
+ GRFListCompatibility grf_compatibility; ///< Summary state of NewGrfs, whether missing files or only compatible found.
+
+ LoadCheckData() : error_data(NULL), grfconfig(NULL)
{
this->Clear();
}