MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Com_GetEvent

Function Com_GetEvent

code/qcommon/common.cpp:794–800  ·  view source on GitHub ↗

================= Com_GetEvent ================= */

Source from the content-addressed store, hash-verified

792=================
793*/
794sysEvent_t Com_GetEvent( void ) {
795 if ( com_pushedEventsHead > com_pushedEventsTail ) {
796 com_pushedEventsTail++;
797 return com_pushedEvents[ (com_pushedEventsTail-1) & (MAX_PUSHED_EVENTS-1) ];
798 }
799 return Com_GetRealEvent();
800}
801
802/*
803=================

Callers 1

Com_EventLoopFunction · 0.70

Calls 1

Com_GetRealEventFunction · 0.70

Tested by

no test coverage detected