| 199 | extern int chatmodeon; |
| 200 | |
| 201 | bool System_WantGuiCapture() |
| 202 | { |
| 203 | bool wantCapt; |
| 204 | |
| 205 | if (menuactive == MENU_Off) |
| 206 | { |
| 207 | wantCapt = ConsoleState == c_down || ConsoleState == c_falling || chatmodeon; |
| 208 | } |
| 209 | else |
| 210 | { |
| 211 | wantCapt = (menuactive == MENU_On || menuactive == MENU_OnNoPause); |
| 212 | } |
| 213 | return wantCapt; |
| 214 | } |
| 215 | |
| 216 | bool System_DispatchEvent(event_t* ev) |
| 217 | { |
no outgoing calls
no test coverage detected