| 2625 | #include "DallasSoundDlg.h" |
| 2626 | |
| 2627 | void CWorldTexturesDialog::OnAmbientSoundSelect() { |
| 2628 | CDallasSoundDlg dlg; |
| 2629 | |
| 2630 | int selected = m_ambient_sound_combo.GetSelected(); |
| 2631 | if (selected != -1) |
| 2632 | dlg.m_SoundName = Sounds[selected].name; |
| 2633 | |
| 2634 | if (dlg.DoModal() == IDCANCEL) |
| 2635 | return; |
| 2636 | |
| 2637 | m_ambient_sound_combo.SetSelected(dlg.m_SoundIndex); |
| 2638 | } |
| 2639 | |
| 2640 | void CWorldTexturesDialog::OnCheckBreakable() { |
| 2641 | int n = D3EditState.texdlg_texture; |
nothing calls this directly
no test coverage detected