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

Function updateDaily

src/OpenLoco/src/World/IndustryManager.cpp:99–109  ·  view source on GitHub ↗

0x00453487

Source from the content-addressed store, hash-verified

97
98 // 0x00453487
99 void updateDaily()
100 {
101 if (Game::hasFlags(GameStateFlags::tileManagerLoaded))
102 {
103 GameCommands::setUpdatingCompanyId(CompanyId::neutral);
104 for (auto& industry : industries())
105 {
106 industry.updateDaily();
107 }
108 }
109 }
110
111 // 0x0047EA42
112 uint8_t getMostCommonBuildingCargoType()

Callers

nothing calls this directly

Calls 4

setUpdatingCompanyIdFunction · 0.85
industriesFunction · 0.85
hasFlagsFunction · 0.70
updateDailyMethod · 0.45

Tested by

no test coverage detected