|
OpenTTD Source 20260208-master-g43af8e94d0
|
Container for loading in mode SL_LOAD_CHECK. More...
#include <fios.h>
Public Member Functions | |
| 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 = false |
| 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. | |
| std::string | error_msg {} |
| Data to pass to string parameters when displaying error. | |
| uint32_t | map_size_x = 0 |
| uint32_t | map_size_y = 0 |
| TimerGameCalendar::Date | current_date {} |
| LandscapeType | landscape {} |
| Landscape type. | |
| TimerGameCalendar::Year | starting_year {} |
| Starting date. | |
| CompanyPropertiesMap | companies {} |
| Company information. | |
| GRFConfigList | grfconfig {} |
| NewGrf configuration from save. | |
| GRFListCompatibility | grf_compatibility = GLC_NOT_FOUND |
| Summary state of NewGrfs, whether missing files or only compatible found. | |
| Gamelog | gamelog {} |
| Gamelog actions. | |
| void LoadCheckData::Clear | ( | ) |
Reset read data.
Definition at line 49 of file fios_gui.cpp.
References checkable, ClearGRFConfigList(), companies, error, error_msg, gamelog, grfconfig, INVALID_STRING_ID, landscape, TimerGameConst< struct Calendar >::MIN_DATE, and starting_year.
|
inline |
Check whether loading the game resulted in errors.
Definition at line 58 of file fios.h.
References INVALID_STRING_ID.
|
inline |
Check whether the game uses any NewGrfs.
Definition at line 67 of file fios.h.
References INVALID_STRING_ID.
Referenced by SaveLoadWindow::OnClick().
| bool LoadCheckData::checkable = false |
| CompanyPropertiesMap LoadCheckData::companies {} |
| StringID LoadCheckData::error {} |
| std::string LoadCheckData::error_msg {} |
| Gamelog LoadCheckData::gamelog {} |
| GRFListCompatibility LoadCheckData::grf_compatibility = GLC_NOT_FOUND |
| GRFConfigList LoadCheckData::grfconfig {} |
| LandscapeType LoadCheckData::landscape {} |
| TimerGameCalendar::Year LoadCheckData::starting_year {} |