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

Method conprintmenu

source/src/menus.cpp:1330–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330void gmenu::conprintmenu()
1331{
1332 if(title) conoutf( "[:: %s ::]", title);//if(items.length()) conoutf( " %03d items", items.length());
1333 loopv(items) { conoutf("%03d: %s%s%s", 1+i, items[i]->gettext(), items[i]->getaction()?"|\t|":"", items[i]->getaction()?items[i]->getaction():""); }
1334}
1335
1336const char *menufilesortorders[] = { "normal", "reverse", "ignorecase", "ignorecase_reverse", "" };
1337int (*menufilesortcmp[])(const char **, const char **) = { stringsort, stringsortrev, stringsortignorecase, stringsortignorecaserev };

Callers 1

menukeyFunction · 0.80

Calls 1

conoutfFunction · 0.70

Tested by

no test coverage detected