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

Function addtodoentity

source/src/world.cpp:580–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578COMMAND(cleartodoentities, "s");
579
580void addtodoentity(int n, const char *desc)
581{
582 todoents.add(n);
583 todoentdescs.add(newstring(desc));
584}
585COMMANDF(addtodoentity, "is", (int *n, const char *desc) { if(ents.inrange(*n)) addtodoentity(*n, desc); });
586
587void enumtodoentities()

Callers 2

world.cppFile · 0.85
restoreMethod · 0.85

Calls 2

newstringFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected