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

Function enumtodoentities

source/src/world.cpp:587–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585COMMANDF(addtodoentity, "is", (int *n, const char *desc) { if(ents.inrange(*n)) addtodoentity(*n, desc); });
586
587void enumtodoentities()
588{
589 vector<char> res;
590 loopv(todoents) cvecprintf(res, "%d %s\n", todoents[i], escapestring(todoentdescs[i], true));
591 resultcharvector(res, -1);
592}
593COMMAND(enumtodoentities, "");
594
595void scalecomp(uchar &c, int intens)

Callers

nothing calls this directly

Calls 4

cvecprintfFunction · 0.85
escapestringFunction · 0.85
resultcharvectorFunction · 0.85
loopvFunction · 0.70

Tested by

no test coverage detected