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

Function IniSaveWindowSettings

src/settings.cpp:884–887  ·  view source on GitHub ↗

* Save a WindowDesc to config. * @param ini IniFile handle to the ini file where the destination data is saved * @param grpname character string identifying the section-header of the ini file * @param desc Source WindowDesc */

Source from the content-addressed store, hash-verified

882 * @param desc Source WindowDesc
883 */
884void IniSaveWindowSettings(IniFile &ini, std::string_view grpname, WindowDesc *desc)
885{
886 IniSaveSettings(ini, _window_settings, grpname, desc, false);
887}
888
889/**
890 * Check whether the setting is editable in the current gamemode.

Callers 1

SaveToConfigMethod · 0.85

Calls 1

IniSaveSettingsFunction · 0.85

Tested by

no test coverage detected