MCPcopy Create free account
hub / github.com/NetHack/NetHack / assign_soundlib

Function assign_soundlib

src/sounds.c:1797–1805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1795}
1796
1797void
1798assign_soundlib(int idx)
1799{
1800 if (!IndexOk(idx, soundlib_choices))
1801 panic("assign_soundlib: invalid soundlib (%d)", idx);
1802
1803 gc.chosen_soundlib
1804 = (uint32_t) soundlib_choices[idx].sndprocs->soundlib_id;
1805}
1806
1807#if 0
1808staticfn void

Callers 5

qt_init_nhwindowsMethod · 0.85
mainFunction · 0.85
MAINFunction · 0.85
optfn_soundlibFunction · 0.85
choose_soundlibFunction · 0.85

Calls 1

panicFunction · 0.50

Tested by

no test coverage detected