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

Function ShowScriptSettingsWindow

src/script/script_gui.cpp:588–593  ·  view source on GitHub ↗

* Open the Script settings window to change the Script settings for a Script. * @param slot The CompanyID of the Script to change the settings. */

Source from the content-addressed store, hash-verified

586 * @param slot The CompanyID of the Script to change the settings.
587 */
588void ShowScriptSettingsWindow(CompanyID slot)
589{
590 CloseWindowByClass(WC_SCRIPT_LIST);
591 CloseWindowByClass(WC_SCRIPT_SETTINGS);
592 new ScriptSettingsWindow(_script_settings_desc, slot);
593}
594
595
596/** Window for displaying the textfile of a AI. */

Callers 2

OnClickMethod · 0.85
OnClickMethod · 0.85

Calls 1

CloseWindowByClassFunction · 0.85

Tested by

no test coverage detected