| 909 | } |
| 910 | |
| 911 | void CEditorView::OnRoomSelectFaceByNumber() { |
| 912 | int n; |
| 913 | |
| 914 | if (InputNumber(&n, "Select Face", "Enter face number to select", this)) { |
| 915 | |
| 916 | if (n >= Curroomp->num_faces) { |
| 917 | OutrageMessageBox("Invalid face number."); |
| 918 | return; |
| 919 | } |
| 920 | |
| 921 | Curface = n; |
| 922 | Curedge = Curvert = 0; |
| 923 | |
| 924 | EditorStatus("Face %d selected.", Curface); |
| 925 | |
| 926 | State_changed = 1; |
| 927 | } |
| 928 | } |
| 929 | |
| 930 | void CEditorView::OnRoomSaveCurrentRoom() { theApp.main_frame->m_RoomDialog->OnSaveRoomLocally(); } |
| 931 |
nothing calls this directly
no test coverage detected