| 214 | } |
| 215 | |
| 216 | bool 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 | |
| 228 | bool System_WantLeftButton() |
| 229 | { |
nothing calls this directly
no test coverage detected