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

Function createAllMapAnimations

src/OpenLoco/src/World/IndustryManager.cpp:526–537  ·  view source on GitHub ↗

0x00459D2D

Source from the content-addressed store, hash-verified

524
525 // 0x00459D2D
526 void createAllMapAnimations()
527 {
528 if (!Game::hasFlags(GameStateFlags::tileManagerLoaded))
529 {
530 return;
531 }
532
533 for (auto& industry : industries())
534 {
535 industry.createMapAnimations();
536 }
537 }
538
539 // 0x048FE92
540 bool industryNearPosition(const World::Pos2& position, IndustryObjectFlags flags)

Callers 1

importSaveToGameStateFunction · 0.85

Calls 3

industriesFunction · 0.85
createMapAnimationsMethod · 0.80
hasFlagsFunction · 0.70

Tested by

no test coverage detected