MCPcopy Create free account
hub / github.com/DFHack/dfhack / clear_engines

Function clear_engines

plugins/siege-engine.cpp:442–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440 */
441
442static void clear_engines()
443{
444 for (auto it = engines.begin(); it != engines.end(); ++it)
445 delete it->second;
446 engines.clear();
447 coord_engines.clear();
448}
449
450static void load_engines()
451{

Callers 2

load_enginesFunction · 0.85
enable_hooksFunction · 0.85

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected