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

Method OnRoomDeleteConnectedFaces

editor/editorView.cpp:1427–1441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1425}
1426
1427void CEditorView::OnRoomDeleteConnectedFaces() {
1428 if (OutrageMessageBox(
1429 MBOX_YESNO,
1430 "This function will delete all faces connected to room %d face %d. This could be very dangerous.\n\n"
1431 "Are you sure you want to continue?",
1432 ROOMNUM(Curroomp), Curface) != IDYES)
1433 return;
1434
1435 DeleteAllConnectedFaces(Curroomp, Curface);
1436
1437 Curface = 0;
1438
1439 if (Markedroomp == Curroomp)
1440 Markedroomp = NULL;
1441}
1442
1443void CEditorView::OnRoomRotatePlacedRoom45Degrees() {
1444 Placed_room_angle += 65536 / 8;

Callers

nothing calls this directly

Calls 2

OutrageMessageBoxFunction · 0.85
DeleteAllConnectedFacesFunction · 0.85

Tested by

no test coverage detected