MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnToolsWorldObjectsClutter

Method OnToolsWorldObjectsClutter

editor/MainFrm.cpp:1774–1786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1772}
1773
1774void CMainFrame::OnToolsWorldObjectsClutter() {
1775 CWorldObjectsGenericDialog dlg;
1776
1777 dlg.m_type = OBJ_CLUTTER;
1778 dlg.m_current = D3EditState.current_clutter;
1779
1780 theApp.pause();
1781 dlg.DoModal();
1782 theApp.resume();
1783
1784 if (dlg.m_current != -1)
1785 D3EditState.current_clutter = dlg.m_current;
1786}
1787
1788void CMainFrame::OnToolsWorldObjectsBuildings() {
1789 CWorldObjectsGenericDialog dlg;

Callers

nothing calls this directly

Calls 3

pauseMethod · 0.80
DoModalMethod · 0.45
resumeMethod · 0.45

Tested by

no test coverage detected