MCPcopy Create free account
hub / github.com/assaultcube/AC / menusay

Function menusay

source/src/menus.cpp:1116–1119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1114}
1115
1116void menusay(const char *text)
1117{
1118 if(curmenu && curmenu->allowinput && curmenu->items.inrange(curmenu->menusel)) curmenu->items[curmenu->menusel]->say(text);
1119}
1120
1121// move menu selection forward or backward and skip empty items that are not selectable
1122int movemenuselection(int currentmenusel, int direction)

Callers 1

processtextinputFunction · 0.85

Calls 2

inrangeMethod · 0.80
sayMethod · 0.45

Tested by

no test coverage detected