Home
last modified time | relevance | path

Searched refs:master_sound_enabled (Results 1 – 6 of 6) sorted by relevance

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/audio/
H A DAudio.cpp366 gConfigSound.master_sound_enabled = !gConfigSound.master_sound_enabled; in ToggleAllSounds()
367 if (gConfigSound.master_sound_enabled) in ToggleAllSounds()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/audio/
H A DAudioMixer.cpp223 …if ((group != MixerGroup::Sound || gConfigSound.sound_enabled) && gConfigSound.master_sound_enabled in GetNextAudioChunk()
384 …volumeAdjust *= gConfigSound.master_sound_enabled ? (static_cast<float>(gConfigSound.master_volume… in ApplyVolume()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/config/
H A DConfig.h133 bool master_sound_enabled; member
H A DConfig.cpp356 model->master_sound_enabled = reader->GetBoolean("master_sound", true); in ReadSound()
372 writer->WriteBoolean("master_sound", model->master_sound_enabled); in WriteSound()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/windows/
H A DOptions.cpp1555 gConfigSound.master_sound_enabled = !gConfigSound.master_sound_enabled; in AudioMouseUp()
1556 if (!gConfigSound.master_sound_enabled) in AudioMouseUp()
1738 WidgetSetCheckboxValue(this, WIDX_MASTER_SOUND_CHECKBOX, gConfigSound.master_sound_enabled); in AudioPrepareDraw()
1741 WidgetSetEnabled(this, WIDX_SOUND_CHECKBOX, gConfigSound.master_sound_enabled); in AudioPrepareDraw()
1742 WidgetSetEnabled(this, WIDX_MUSIC_CHECKBOX, gConfigSound.master_sound_enabled); in AudioPrepareDraw()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/
H A DContext.cpp481 gGameSoundsOff = !gConfigSound.master_sound_enabled; in Initialise()