|
OpenTTD Source 15.0-beta1
|
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 |
| 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 SetDParamStr when displaying error. | |
| uint32_t | map_size_x |
| uint32_t | map_size_y |
| TimerGameCalendar::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. | |
| 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, and Gamelog::Reset().
Referenced by DoLoad(), SaveLoadWindow::OnClick(), SaveLoadWindow::OnInvalidateData(), and openttd_main().
|
inline |
Check whether loading the game resulted in errors.
Definition at line 59 of file fios.h.
References INVALID_STRING_ID.
Referenced by SaveLoadWindow::OnClick(), SaveLoadWindow::OnInvalidateData(), and openttd_main().
|
inline |
Check whether the game uses any NewGrfs.
Definition at line 68 of file fios.h.
References INVALID_STRING_ID.
Referenced by SaveLoadWindow::OnClick(), and SaveLoadWindow::OnInvalidateData().
| bool LoadCheckData::checkable |
| CompanyPropertiesMap LoadCheckData::companies |
Company information.
Definition at line 43 of file fios.h.
Referenced by Clear(), and PLYRChunkHandler::LoadCheck().
| TimerGameCalendar::Date LoadCheckData::current_date |
| StringID LoadCheckData::error |
Error message from loading. INVALID_STRING_ID if no error.
Definition at line 35 of file fios.h.
Referenced by Clear(), openttd_main(), and SlError().
| std::string LoadCheckData::error_msg |
| Gamelog LoadCheckData::gamelog |
Gamelog actions.
Definition at line 48 of file fios.h.
Referenced by Clear(), and GLOGChunkHandler::LoadCheck().
| GRFListCompatibility LoadCheckData::grf_compatibility |
Summary state of NewGrfs, whether missing files or only compatible found.
Definition at line 46 of file fios.h.
Referenced by DoLoad(), SaveLoadWindow::OnClick(), and SaveLoadWindow::OnInvalidateData().
| GRFConfig* LoadCheckData::grfconfig |
NewGrf configuration from save.
Definition at line 45 of file fios.h.
Referenced by Clear(), DoLoad(), NGRFChunkHandler::LoadCheck(), and SaveLoadWindow::OnClick().
| GameSettings LoadCheckData::settings |