| 1546 | } |
| 1547 | |
| 1548 | void 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 | |
| 1560 | void CLightingDialog::OnCombineFaces() { |
| 1561 | int c = IsDlgButtonChecked(IDC_COMBINE_FACES); |
nothing calls this directly
no test coverage detected