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

Method CopyFromControls

editor/TerrainSoundDialog.cpp:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void CTerrainSoundDialog::CopyFromControls() {
119 UpdateData(true);
120
121 m_bands[m_current].low_alt = m_low_alt;
122 m_bands[m_current].high_alt = m_high_alt;
123 m_bands[m_current].low_volume = m_low_volume;
124 m_bands[m_current].high_volume = m_high_volume;
125 m_bands[m_current].sound_index = m_sound_combo.GetSelected();
126}
127
128void CTerrainSoundDialog::OnTerrainSoundNext() {
129 ASSERT(m_current < NUM_TERRAIN_SOUND_BANDS - 1);

Callers

nothing calls this directly

Calls 1

GetSelectedMethod · 0.45

Tested by

no test coverage detected