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

Function System_WantGuiCapture

source/core/gamecontrol.cpp:201–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199extern int chatmodeon;
200
201bool 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
216bool System_DispatchEvent(event_t* ev)
217{

Callers 3

AutomapControlFunction · 0.85
System_DispatchEventFunction · 0.85
updatePauseStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected