MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / ClO_SetMusic

Function ClO_SetMusic

src/MenuOptions.c:542–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540
541static cc_bool ClO_GetMusic(void) { return Audio_MusicVolume > 0; }
542static void ClO_SetMusic(cc_bool v) {
543 Audio_SetMusic(v ? 100 : 0);
544 Options_SetInt(OPT_MUSIC_VOLUME, Audio_MusicVolume);
545}
546
547static cc_bool ClO_GetInvert(void) { return Camera.Invert; }
548static void ClO_SetInvert(cc_bool v) {

Callers

nothing calls this directly

Calls 2

Audio_SetMusicFunction · 0.85
Options_SetIntFunction · 0.85

Tested by

no test coverage detected