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

Method OnInitDialog

editor/WorldTexturesDialog.cpp:1434–1443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1432}
1433
1434BOOL CWorldTexturesDialog::OnInitDialog() {
1435 CDialog::OnInitDialog();
1436 CWnd::SetTimer(1, 100, NULL);
1437
1438 int n = D3EditState.texdlg_texture;
1439 m_ambient_sound_combo.Init(GameTextures[n].sound);
1440
1441 return TRUE; // return TRUE unless you set the focus to a control
1442 // EXCEPTION: OCX Property Pages should return FALSE
1443}
1444
1445void CWorldTexturesDialog::OnTimer(UINT nIDEvent) {
1446

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected