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

Function update

src/OpenLoco/src/World/IndustryManager.cpp:86–96  ·  view source on GitHub ↗

0x00453234

Source from the content-addressed store, hash-verified

84
85 // 0x00453234
86 void update()
87 {
88 if (Game::hasFlags(GameStateFlags::tileManagerLoaded) && !SceneManager::isEditorMode())
89 {
90 GameCommands::setUpdatingCompanyId(CompanyId::neutral);
91 for (auto& industry : industries())
92 {
93 industry.update();
94 }
95 }
96 }
97
98 // 0x00453487
99 void updateDaily()

Callers

nothing calls this directly

Calls 5

isEditorModeFunction · 0.85
setUpdatingCompanyIdFunction · 0.85
industriesFunction · 0.85
hasFlagsFunction · 0.70
updateMethod · 0.45

Tested by

no test coverage detected