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

Method OnToolsWorldObjectsRobots

editor/MainFrm.cpp:1760–1772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1758}
1759
1760void CMainFrame::OnToolsWorldObjectsRobots() {
1761 CWorldObjectsGenericDialog dlg;
1762
1763 dlg.m_type = OBJ_ROBOT;
1764 dlg.m_current = D3EditState.current_robot;
1765
1766 theApp.pause();
1767 dlg.DoModal();
1768 theApp.resume();
1769
1770 if (dlg.m_current != -1)
1771 D3EditState.current_robot = dlg.m_current;
1772}
1773
1774void CMainFrame::OnToolsWorldObjectsClutter() {
1775 CWorldObjectsGenericDialog dlg;

Callers

nothing calls this directly

Calls 3

pauseMethod · 0.80
DoModalMethod · 0.45
resumeMethod · 0.45

Tested by

no test coverage detected