MCPcopy Create free account
hub / github.com/assaultcube/AC / reloadmapsoundconfig

Function reloadmapsoundconfig

source/src/audiomanager.cpp:909–914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907COMMAND(mapsoundslotusage, "i");
908
909void reloadmapsoundconfig()
910{
911 vector<char> sc;
912 getcurrentmapconfig(sc, true); // only soundconfig
913 execute(sc.getbuf()); // cheap and easy way ;)
914}
915
916void deletemapsoundslot(int *n, char *opt) // delete mapsound slot - only if unused or "purge" is specified
917{

Callers 4

setlistenervolMethod · 0.85
deletemapsoundslotFunction · 0.85
editmapsoundslotFunction · 0.85
sortmapsoundslotsFunction · 0.85

Calls 3

getcurrentmapconfigFunction · 0.85
executeFunction · 0.85
getbufMethod · 0.45

Tested by

no test coverage detected