Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ makeundo
Function
makeundo
source/src/editing.cpp:386–393 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
384
}
385
386
void makeundo(block &sel)
387
{
388
storeposition(sel.p);
389
undos.add(blockcopy(sel));
390
pruneundos(undomegs<<20);
391
unsavededits++;
392
undolevel++;
393
}
394
395
void restoreposition(short p[])
396
{
Callers
5
mapmrproper
Function · 0.85
netblockpastexy
Function · 0.85
loopvj
Function · 0.85
loopv
Function · 0.85
selfliprotate
Function · 0.85
Calls
4
storeposition
Function · 0.85
blockcopy
Function · 0.85
pruneundos
Function · 0.85
add
Method · 0.45
Tested by
no test coverage detected