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

Method OnUpdateRoomUnPlaceRoom

editor/editorView.cpp:900–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898}
899
900void CEditorView::OnUpdateRoomUnPlaceRoom(CCmdUI *pCmdUI) {
901 if (Placed_room != -1) {
902 pCmdUI->SetText((Placed_door != -1) ? "Un-place Door" : "Un-place Room");
903 pCmdUI->Enable(1);
904 } else if (Placed_group != NULL) {
905 pCmdUI->SetText("Un-place Group");
906 pCmdUI->Enable(1);
907 } else
908 pCmdUI->Enable(0);
909}
910
911void CEditorView::OnRoomSelectFaceByNumber() {
912 int n;

Callers

nothing calls this directly

Calls 2

SetTextMethod · 0.45
EnableMethod · 0.45

Tested by

no test coverage detected