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

Method OnEditDelete

editor/MainFrm.cpp:2400–2409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2398 }
2399}
2400
2401void CMainFrame::OnEditDelete() {
2402 if (N_selected_rooms == 0) {
2403 OutrageMessageBox("You must have rooms selected for this operation.");
2404 return;
2405 }
2406
2407 DeleteGroup(N_selected_rooms, Selected_rooms);
2408 EditorStatus("%d rooms deleted", N_selected_rooms);
2409 ClearRoomSelectedList();
2410}
2411
2412void CMainFrame::OnObjectDeleteObject() {

Callers

nothing calls this directly

Calls 4

OutrageMessageBoxFunction · 0.85
DeleteGroupFunction · 0.85
EditorStatusFunction · 0.85
ClearRoomSelectedListFunction · 0.85

Tested by

no test coverage detected