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

Function OpenGRFParameterWindow

src/newgrf_gui.cpp:542–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540);
541
542void OpenGRFParameterWindow(bool is_baseset, GRFConfig &c, bool editable)
543{
544 CloseWindowByClass(WC_GRF_PARAMETERS);
545 new NewGRFParametersWindow(_newgrf_parameters_desc, is_baseset, c, editable);
546}
547
548/** Window for displaying the textfile of a NewGRF. */
549struct NewGRFTextfileWindow : public TextfileWindow {

Callers 2

OnClickMethod · 0.85
OnClickMethod · 0.85

Calls 1

CloseWindowByClassFunction · 0.85

Tested by

no test coverage detected