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

Method OnToolsWorldObjectsPowerups

editor/MainFrm.cpp:1746–1758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1744}
1745
1746void CMainFrame::OnToolsWorldObjectsPowerups() {
1747 CWorldObjectsGenericDialog dlg;
1748
1749 dlg.m_type = OBJ_POWERUP;
1750 dlg.m_current = D3EditState.current_powerup;
1751
1752 theApp.pause();
1753 dlg.DoModal();
1754 theApp.resume();
1755
1756 if (dlg.m_current != -1)
1757 D3EditState.current_powerup = dlg.m_current;
1758}
1759
1760void CMainFrame::OnToolsWorldObjectsRobots() {
1761 CWorldObjectsGenericDialog dlg;

Callers

nothing calls this directly

Calls 3

pauseMethod · 0.80
DoModalMethod · 0.45
resumeMethod · 0.45

Tested by

no test coverage detected