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

Function InitializeIndustries

src/industry_cmd.cpp:3151–3157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3149
3150
3151void InitializeIndustries()
3152{
3153 Industry::industries.fill({});
3154 _industry_sound_tile = TileIndex{};
3155
3156 _industry_builder.Reset();
3157}
3158
3159/** Verify whether the generated industries are complete, and warn the user if not. */
3160void CheckIndustries()

Callers 1

InitializeGameFunction · 0.85

Calls 2

fillMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected