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

Function run

src/OpenLoco/src/OpenLoco.cpp:729–744  ·  view source on GitHub ↗

0x00406386

Source from the content-addressed store, hash-verified

727
728 // 0x00406386
729 static void run()
730 {
731#ifdef _WIN32
732 CoInitializeEx(nullptr, COINIT_MULTITHREADED);
733#endif
734 initialise();
735
736 while (Input::processMessages())
737 {
738 update();
739 }
740
741#ifdef _WIN32
742 CoUninitialize();
743#endif
744 }
745
746 uint16_t getTimeSinceLastTick()
747 {

Callers 1

mainFunction · 0.85

Calls 3

processMessagesFunction · 0.85
initialiseFunction · 0.70
updateFunction · 0.70

Tested by

no test coverage detected