MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / history_removeLast

Function history_removeLast

TheForceEngine/TFE_Editor/history.cpp:385–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 }
384
385 void history_removeLast()
386 {
387 const u32 prevAddr = s_history.back();
388 s_history.pop_back();
389 s_historyBuffer.resize(prevAddr);
390
391 assert(s_curPosInHistory > 0);
392 s_curPosInHistory--;
393
394 s_curBufferAddr = (u32)s_historyBuffer.size();
395 }
396
397 void history_collapse()
398 {

Callers 4

cmd_sectorWallSnapshotFunction · 0.85

Calls 2

resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected