| 16906 | } |
| 16907 | |
| 16908 | void cFodder::sleepLoop(int64 pMilliseconds) { |
| 16909 | #ifdef EMSCRIPTEN |
| 16910 | return; |
| 16911 | #endif |
| 16912 | uint64 TimeStarted = SDL_GetTicks(); |
| 16913 | uint64 TimeFinish = TimeStarted + pMilliseconds; |
| 16914 | |
| 16915 | do { |
| 16916 | mWindow->EventCheck(); |
| 16917 | |
| 16918 | if (SDL_GetTicks() >= TimeFinish) |
| 16919 | break; |
| 16920 | |
| 16921 | SDL_Delay(1); |
| 16922 | |
| 16923 | } while (1); |
| 16924 | |
| 16925 | } |
| 16926 | |
| 16927 | void cFodder::WonGame() { |
| 16928 |
nothing calls this directly
no test coverage detected