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

Method OnRoomCombine

editor/editorView.cpp:1315–1325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1313}
1314
1315void CEditorView::OnRoomCombine() {
1316 if (Markedroomp == NULL) {
1317 OutrageMessageBox("You must have a Marked Room for this operation.");
1318 return;
1319 }
1320
1321 int marked_roomnum = ROOMNUM(Markedroomp);
1322
1323 if (CombineRooms(Curroomp, Markedroomp))
1324 EditorStatus("Room %d merged into room %d\n", marked_roomnum, ROOMNUM(Curroomp));
1325}
1326
1327void FixDegenerateFaces();
1328

Callers

nothing calls this directly

Calls 3

OutrageMessageBoxFunction · 0.85
CombineRoomsFunction · 0.85
EditorStatusFunction · 0.85

Tested by

no test coverage detected