MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ProcessMessages

Function ProcessMessages

legacy/hogedit/HogEdit.cpp:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269// Checks if there are any messages and translates and dispatches them
270#define MAX_MESSAGES 25
271void ProcessMessages(void) {
272 MSG msg;
273 int MsgCount;
274
275 for (MsgCount = MAX_MESSAGES; MsgCount && PeekMessage(&msg, NULL, 0, 0, PM_REMOVE); MsgCount--) {
276 TranslateMessage(&msg);
277 DispatchMessage(&msg);
278 }
279}
280
281// Updates the total files indicator
282void UpdateTotalFiles(int num_files) {

Callers 4

UpdateTotalFilesFunction · 0.85
UpdateStatusBarFunction · 0.85
OnActionInsertMethod · 0.85
OnActionImportMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected