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

Method SetParams

src/newgrf_config.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void GRFConfig::SetParams(std::span<const uint32_t> pars)
59{
60 this->param.assign(std::begin(pars), std::end(pars));
61}
62
63/**
64 * Return whether this NewGRF can replace an older version of the same NewGRF.

Callers 2

GRFLoadConfigFunction · 0.80
openttd_mainFunction · 0.80

Calls 3

beginFunction · 0.50
endFunction · 0.50
assignMethod · 0.45

Tested by

no test coverage detected