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

Function processMessagesMini

src/OpenLoco/src/Input.cpp:89–109  ·  view source on GitHub ↗

0x004072EC

Source from the content-addressed store, hash-verified

87
88 // 0x004072EC
89 bool processMessagesMini()
90 {
91 SDL_Event e;
92 while (SDL_PollEvent(&e))
93 {
94 switch (e.type)
95 {
96 case SDL_EVENT_QUIT:
97 return false;
98 case SDL_EVENT_WINDOW_MOVED:
99 Ui::windowPositionChanged(e.window.data1, e.window.data2);
100 break;
101 case SDL_EVENT_WINDOW_RESIZED:
102 case SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED:
103 case SDL_EVENT_WINDOW_DISPLAY_SCALE_CHANGED:
104 Ui::triggerResize();
105 break;
106 }
107 }
108 return false;
109 }
110
111 // 0x0040726D
112 bool processMessages()

Callers 8

openBrowsePromptFunction · 0.85
renderAndUpdateFunction · 0.85
updateProgressFunction · 0.85
generateFunction · 0.85
createIndexFunction · 0.85
addObjectsInFolderFunction · 0.85
createIndexFunction · 0.85
installObjectFunction · 0.85

Calls 2

windowPositionChangedFunction · 0.85
triggerResizeFunction · 0.85

Tested by

no test coverage detected