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

Method OnButtonLighting

editor/editorView.cpp:741–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739}
740
741void CEditorView::OnButtonLighting() {
742 Lighting_on = !Lighting_on;
743 EditorStatus("Lighting turned %s", Lighting_on ? "ON" : "OFF");
744 State_changed = 1;
745}
746
747void CEditorView::OnUpdateButtonLighting(CCmdUI *pCmdUI) { pCmdUI->SetCheck(Lighting_on); }
748

Callers

nothing calls this directly

Calls 1

EditorStatusFunction · 0.85

Tested by

no test coverage detected