| 1361 | } |
| 1362 | |
| 1363 | void CEditorView::OnRoomDeleteVert() { |
| 1364 | if (Curroomp->faces[Curface].num_verts <= 3) { |
| 1365 | OutrageMessageBox("You cannot delete a vertex from a face with three or fewer vertices."); |
| 1366 | return; |
| 1367 | } |
| 1368 | |
| 1369 | if (OutrageMessageBox(MBOX_YESNO, "Are you sure you want to delete vertex %d (%d) from room %d face %d?", Curvert, |
| 1370 | Curroomp->faces[Curface].face_verts[Curvert], ROOMNUM(Curroomp), Curface) == IDYES) { |
| 1371 | DeletePointFromFace(Curroomp, Curface, Curvert); |
| 1372 | Curvert = 0; |
| 1373 | } |
| 1374 | } |
| 1375 | |
| 1376 | void CEditorView::OnRoomFaceAddVertToEdge() { |
| 1377 | void SplitEdge(room * rp, int facenum, int edgenum, float position); |
nothing calls this directly
no test coverage detected