MCPcopy Create free account
hub / github.com/diasurgical/devilution / InGameMenu

Function InGameMenu

SourceX/controls/plrctrls.cpp:19–28  ·  view source on GitHub ↗

Native game menu, controlled by simulating a keyboard.

Source from the content-addressed store, hash-verified

17
18// Native game menu, controlled by simulating a keyboard.
19bool InGameMenu()
20{
21 return stextflag > 0
22 || helpflag
23 || talkflag
24 || qtextflag
25 || gmenu_is_active()
26 || PauseMode == 2
27 || plr[myplr]._pInvincible;
28}
29
30namespace {
31

Callers 3

MovementFunction · 0.85
PerformSpellActionFunction · 0.85
GetGameActionFunction · 0.85

Calls 1

gmenu_is_activeFunction · 0.85

Tested by

no test coverage detected