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

Method OnRoomBuildBridge

editor/editorView.cpp:861–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859}
860
861void CEditorView::OnRoomBuildBridge() {
862 if ((Markedroomp == NULL) || (Markedface == -1)) {
863 OutrageMessageBox("You must have a marked face to use this function.");
864 return;
865 }
866
867 if ((Markedroomp == Curroomp) && (Markedface == Curface)) {
868 OutrageMessageBox("The marked room:face must be different from the current room:face.");
869 return;
870 }
871
872 BuildBridge(Curroomp, Curface, Markedroomp, Markedface);
873}
874
875void CEditorView::OnRoomJoinRooms() {
876 if ((Markedroomp == NULL) || (Markedface == -1)) {

Callers

nothing calls this directly

Calls 2

OutrageMessageBoxFunction · 0.85
BuildBridgeFunction · 0.85

Tested by

no test coverage detected