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

Method OnDestroyBsp

editor/LightingDialog.cpp:1548–1558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1546}
1547
1548void CLightingDialog::OnDestroyBsp() {
1549 int answer = MessageBox("Are you sure you wish to destroy the BSP tree?", "Light Question", MB_YESNO);
1550 if (answer == IDNO)
1551 return;
1552
1553 if (BSP_initted) {
1554 DestroyBSPTree(&MineBSP);
1555 }
1556
1557 OutrageMessageBox("BSP tree destroyed!");
1558}
1559
1560void CLightingDialog::OnCombineFaces() {
1561 int c = IsDlgButtonChecked(IDC_COMBINE_FACES);

Callers

nothing calls this directly

Calls 2

DestroyBSPTreeFunction · 0.85
OutrageMessageBoxFunction · 0.85

Tested by

no test coverage detected