MCPcopy Create free account
hub / github.com/ZDoom/Raze / System_DispatchEvent

Function System_DispatchEvent

source/core/gamecontrol.cpp:216–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216bool System_DispatchEvent(event_t* ev)
217{
218 if (ev->type == EV_Mouse && !System_WantGuiCapture())
219 {
220 gameInput.MouseAddToPos(ev->x, ev->y);
221 return true;
222 }
223
224 inputState.AddEvent(ev);
225 return false;
226}
227
228bool System_WantLeftButton()
229{

Callers

nothing calls this directly

Calls 3

System_WantGuiCaptureFunction · 0.85
MouseAddToPosMethod · 0.80
AddEventMethod · 0.80

Tested by

no test coverage detected