MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Window_ProcessEvents

Function Window_ProcessEvents

src/Window_Terminal.c:476–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476void Window_ProcessEvents(float delta) {
477 if (pendingResize) {
478 pendingResize = false;
479 UpdateDimensions();
480 Event_RaiseVoid(&WindowEvents.Resized);
481 }
482
483 if (pendingClose) {
484 pendingClose = false;
485 Window_Main.Exists = false;
486 Event_RaiseVoid(&WindowEvents.Closing);
487 return;
488 }
489
490 ProcessConsoleEvents(delta);
491}
492
493void Gamepads_PreInit(void) { }
494

Callers

nothing calls this directly

Calls 3

UpdateDimensionsFunction · 0.85
Event_RaiseVoidFunction · 0.85
ProcessConsoleEventsFunction · 0.85

Tested by

no test coverage detected