MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / markInUseIndustryObjects

Function markInUseIndustryObjects

src/OpenLoco/src/Objects/ObjectIndex.cpp:1012–1018  ·  view source on GitHub ↗

0x00473098

Source from the content-addressed store, hash-verified

1010
1011 // 0x00473098
1012 static void markInUseIndustryObjects(std::span<uint8_t> industryObjectFlags)
1013 {
1014 for (auto& ind : IndustryManager::industries())
1015 {
1016 industryObjectFlags[ind.objectId] = (1U << 0);
1017 }
1018 }
1019
1020 // 0x004730BC
1021 static void markInUseCompetitorObjects(std::span<uint8_t> competitorObjectFlags)

Callers 1

markInUseObjectsFunction · 0.85

Calls 1

industriesFunction · 0.85

Tested by

no test coverage detected