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

Method OnRoomBuildSmoothBridge

editor/editorView.cpp:1153–1165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1151void CEditorView::OnFileRemoveExtraPoints() { RemoveAllDuplicateAndUnusedPoints(); }
1152
1153void CEditorView::OnRoomBuildSmoothBridge() {
1154 if ((Markedroomp == NULL) || (Markedface == -1)) {
1155 OutrageMessageBox("You must have a marked face to use this function.");
1156 return;
1157 }
1158
1159 if ((Markedroomp == Curroomp) && (Markedface == Curface)) {
1160 OutrageMessageBox("The marked room:face must be different from the current room:face.");
1161 return;
1162 }
1163
1164 BuildSmoothBridge(Markedroomp, Markedface, Curroomp, Curface);
1165}
1166
1167void CEditorView::OnRoomJoinRoomsExact() {
1168 if ((Markedroomp == NULL) || (Markedface == -1)) {

Callers

nothing calls this directly

Calls 2

OutrageMessageBoxFunction · 0.85
BuildSmoothBridgeFunction · 0.85

Tested by

no test coverage detected