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

Function MiO_SetMusic

src/MenuOptions.c:1122–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1120
1121static int MiO_GetMusic(void) { return Audio_MusicVolume; }
1122static void MiO_SetMusic(int v) {
1123 Options_SetInt(OPT_MUSIC_VOLUME, v);
1124 Audio_SetMusic(v);
1125}
1126
1127static int MiO_GetSounds(void) { return Audio_SoundsVolume; }
1128static void MiO_SetSounds(int v) {

Callers

nothing calls this directly

Calls 2

Options_SetIntFunction · 0.85
Audio_SetMusicFunction · 0.85

Tested by

no test coverage detected