Container for loading in mode SL_LOAD_CHECK. More...
#include <fios.h>
Public Member Functions | |
| ~LoadCheckData () | |
| Don't leak memory at program exit. | |
| bool | HasErrors () |
| Check whether loading the game resulted in errors. | |
| bool | HasNewGrfs () |
| Check whether the game uses any NewGrfs. | |
| void | Clear () |
| Reset read data. | |
Data Fields | |
| bool | checkable |
| True if the savegame could be checked by SL_LOAD_CHECK. (Old savegames are not checkable.). | |
| StringID | error |
| Error message from loading. INVALID_STRING_ID if no error. | |
| char * | error_data |
| Data to pass to SetDParamStr when displaying error. | |
| uint32 | map_size_x |
| uint32 | map_size_y |
| Date | current_date |
| GameSettings | settings |
| CompanyPropertiesMap | companies |
| Company information. | |
| GRFConfig * | grfconfig |
| NewGrf configuration from save. | |
| GRFListCompatibility | grf_compatibility |
| Summary state of NewGrfs, whether missing files or only compatible found. | |
| struct LoggedAction * | gamelog_action |
| Gamelog actions. | |
| uint | gamelog_actions |
| Number of gamelog actions. | |
Container for loading in mode SL_LOAD_CHECK.
Definition at line 25 of file fios.h.
| bool LoadCheckData::HasErrors | ( | ) | [inline] |
Check whether loading the game resulted in errors.
Definition at line 60 of file fios.h.
References checkable, error, and INVALID_STRING_ID.
Referenced by SaveLoadWindow::OnInvalidateData().
| bool LoadCheckData::HasNewGrfs | ( | ) | [inline] |
Check whether the game uses any NewGrfs.
Definition at line 69 of file fios.h.
References checkable, error, grfconfig, and INVALID_STRING_ID.
Referenced by SaveLoadWindow::OnInvalidateData().
1.7.1