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

Function dispatchUpdateAll

src/OpenLoco/src/Ui/WindowManager.cpp:897–907  ·  view source on GitHub ↗

0x004CD3D0

Source from the content-addressed store, hash-verified

895
896 // 0x004CD3D0
897 void dispatchUpdateAll()
898 {
899 GameCommands::setUpdatingCompanyId(CompanyManager::getControllingId());
900
901 std::for_each(_windows.rbegin(), _windows.rend(), [](auto& w) {
902 w.callUpdate();
903 });
904
905 Ui::Windows::TextInput::sub_4CE6FF();
906 Ui::Windows::MapToolTip::open();
907 }
908
909 // 0x004CC6EA
910 void close(Window* window)

Callers 3

sub_431695Function · 0.85
openFunction · 0.85
openFunction · 0.85

Calls 7

setUpdatingCompanyIdFunction · 0.85
getControllingIdFunction · 0.85
sub_4CE6FFFunction · 0.85
rbeginMethod · 0.80
rendMethod · 0.80
callUpdateMethod · 0.80
openFunction · 0.70

Tested by

no test coverage detected