0x00406386
| 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 | { |
no test coverage detected