| 1397 | } |
| 1398 | |
| 1399 | void CEditorView::OnRoomFaceSplitFace() { |
| 1400 | void SplitFace(room * rp, int facenum, int v0, int v1); |
| 1401 | |
| 1402 | if ((Curroomp != Markedroomp) || (Curface != Markedface)) { |
| 1403 | OutrageMessageBox("Cannot split face: the Marked & Current faces must be the same for this operation."); |
| 1404 | return; |
| 1405 | } |
| 1406 | |
| 1407 | int n_faces = Curroomp->num_faces; |
| 1408 | |
| 1409 | SplitFace(Curroomp, Curface, Curvert, Markedvert); |
| 1410 | |
| 1411 | Curface = n_faces - 1; |
| 1412 | Curedge = Curvert = 0; |
| 1413 | Markedroomp = NULL; |
| 1414 | } |
| 1415 | |
| 1416 | void CEditorView::OnRoomFaceDeleteVertOnEdge() { |
| 1417 | void DeleteVert(room * rp, int facenum, int vertnum); |
nothing calls this directly
no test coverage detected