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

Function loopvrev

source/src/editing.cpp:367–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 int u = 0, r = 0;
366 maxremain /= sizeof(sqr);
367 loopvrev(undos)
368 {
369 u += undos[i]->xs * undos[i]->ys;
370 if(u > maxremain) freeblockp(undos.remove(i));
371 }
372 loopvrev(redos)
373 {
374 r += redos[i]->xs * redos[i]->ys;

Callers

nothing calls this directly

Calls 8

freeblockpFunction · 0.85
rlencodeundoFunction · 0.85
clientlogfFunction · 0.85
setsizeMethod · 0.80
removeMethod · 0.45
putMethod · 0.45
getbufMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected