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

Function loopv

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

if(items.length()) conoutf( " %03d items", items.length());

Source from the content-addressed store, hash-verified

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", "" };

Callers 9

showmenuFunction · 0.70
closemenuFunction · 0.70
displaycurvalueMethod · 0.70
keyMethod · 0.70
initMethod · 0.70
headeritemsMethod · 0.70
renderMethod · 0.70
addchangeFunction · 0.70
refreshapplymenuFunction · 0.70

Calls 10

escapestringFunction · 0.85
newstringFunction · 0.85
getfiledescFunction · 0.85
copystringFunction · 0.85
strtoupperFunction · 0.85
concatstringFunction · 0.85
conoutfFunction · 0.70
gettextMethod · 0.45
getactionMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected