Idle heartbeat used by blocking waits (progress screen, debug window, triWaitFrames). Tickles the watchdog and pumps OS events so the window stays responsive; does not run a full AppIdle — callers that want that call AppIdle() directly.
| 49 | // stays responsive; does not run a full AppIdle — callers that want that |
| 50 | // call AppIdle() directly. |
| 51 | void ProcessMessagesNoWait() |
| 52 | { |
| 53 | GDebugger.ProcessAlive(); |
| 54 | if (GEngine) |
| 55 | GEngine->HandleEvents(); |
| 56 | else |
| 57 | SDL_PumpEvents(); |
| 58 | } |
| 59 | |
| 60 | void RenderFrame(float deltaT, bool enableDraw) |
| 61 | { |