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

Function DeferMessages

editor/TableFileFilterMng.cpp:2065–2071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2063// Processes any waiting messages
2064#define MAX_MESSAGES 10 // max messages to process during a message deferral
2065void DeferMessages(void) {
2066 MSG msg;
2067 for (int MsgCount = MAX_MESSAGES; MsgCount && PeekMessage(&msg, NULL, 0, 0, PM_REMOVE); MsgCount--) {
2068 TranslateMessage(&msg);
2069 DispatchMessage(&msg);
2070 }
2071}
2072
2073// Log file handles
2074CFILE *remaining_log_file = NULL;

Callers 8

ClearListMethod · 0.70
AddToListMethod · 0.70
RemoveFromListMethod · 0.70
LoadListMethod · 0.70
SaveListMethod · 0.70
ProcessPagesForLevelMethod · 0.70
ProcessPageMethod · 0.70
CreateNewTableFileMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected