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

Method OnPlaysound

editor/WorldSoundsDialog.cpp:794–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794void CWorldSoundsDialog::OnPlaysound() {
795 int n = D3EditState.current_sound;
796
797 if (Num_sounds < 1)
798 return;
799
800 Sound_system.BeginSoundFrame();
801 Sound_system.Play2dSound(n);
802 Sound_system.EndSoundFrame();
803}
804
805void CWorldSoundsDialog::OnKillfocusSoundinnerconeangleEdit() {
806 CEdit *ebox;

Callers

nothing calls this directly

Calls 3

BeginSoundFrameMethod · 0.80
Play2dSoundMethod · 0.80
EndSoundFrameMethod · 0.80

Tested by

no test coverage detected