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

Function MakeCompanyButtonRowsScriptDebug

src/script/script_gui.cpp:1197–1200  ·  view source on GitHub ↗

Make a number of rows with buttons for each company for the Script debug window. */

Source from the content-addressed store, hash-verified

1195
1196/** Make a number of rows with buttons for each company for the Script debug window. */
1197std::unique_ptr<NWidgetBase> MakeCompanyButtonRowsScriptDebug()
1198{
1199 return MakeCompanyButtonRows(WID_SCRD_COMPANY_BUTTON_START, WID_SCRD_COMPANY_BUTTON_END, COLOUR_GREY, 5, STR_AI_DEBUG_SELECT_AI_TOOLTIP, false);
1200}
1201
1202/** Widgets for the Script debug window. */
1203static constexpr std::initializer_list<NWidgetPart> _nested_script_debug_widgets = {

Callers

nothing calls this directly

Calls 1

MakeCompanyButtonRowsFunction · 0.85

Tested by

no test coverage detected