MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IniLoadWindowSettings

Function IniLoadWindowSettings

src/settings.cpp:873–876  ·  view source on GitHub ↗

* Load a WindowDesc from config. * @param ini IniFile handle to the ini file with the source data * @param grpname character string identifying the section-header of the ini file that will be parsed * @param desc Destination WindowDesc */

Source from the content-addressed store, hash-verified

871 * @param desc Destination WindowDesc
872 */
873void IniLoadWindowSettings(IniFile &ini, std::string_view grpname, WindowDesc *desc)
874{
875 IniLoadSettings(ini, _window_settings, grpname, desc, false);
876}
877
878/**
879 * Save a WindowDesc to config.

Callers 1

LoadFromConfigMethod · 0.85

Calls 1

IniLoadSettingsFunction · 0.85

Tested by

no test coverage detected