OpenTTD Source 20251019-master-g9f7f314f81
|
Settings related to music. More...
#include <settings_type.h>
Data Fields | |
uint8_t | playlist |
The playlist (number) to play. | |
uint8_t | music_vol |
The requested music volume. | |
uint8_t | effect_vol |
The requested effects volume. | |
uint8_t | custom_1 [33] |
The order of the first custom playlist. | |
uint8_t | custom_2 [33] |
The order of the second custom playlist. | |
bool | playing |
Whether music is playing. | |
bool | shuffle |
Whether to shuffle the music. | |
Settings related to music.
Definition at line 271 of file settings_type.h.
uint8_t MusicSettings::custom_1[33] |
The order of the first custom playlist.
Definition at line 275 of file settings_type.h.
Referenced by MusicSystem::BuildPlaylists(), and MusicSystem::SaveCustomPlaylist().
uint8_t MusicSettings::custom_2[33] |
The order of the second custom playlist.
Definition at line 276 of file settings_type.h.
Referenced by MusicSystem::BuildPlaylists(), and MusicSystem::SaveCustomPlaylist().
uint8_t MusicSettings::effect_vol |
The requested effects volume.
Definition at line 274 of file settings_type.h.
Referenced by MusicWindow::DrawWidget(), GameOptionsWindow::DrawWidget(), MusicWindow::OnClick(), GameOptionsWindow::OnClick(), and AfterNewGRFScan::OnNewGRFsScanned().
uint8_t MusicSettings::music_vol |
The requested music volume.
Definition at line 273 of file settings_type.h.
Referenced by MusicWindow::DrawWidget(), GameOptionsWindow::DrawWidget(), MusicWindow::OnClick(), GameOptionsWindow::OnClick(), and AfterNewGRFScan::OnNewGRFsScanned().
bool MusicSettings::playing |
Whether music is playing.
Definition at line 277 of file settings_type.h.
Referenced by MusicSystem::ChangePlaylist(), MusicSystem::IsPlaying(), MusicSystem::Next(), MusicSystem::Play(), MusicSystem::Prev(), and MusicSystem::Stop().
uint8_t MusicSettings::playlist |
The playlist (number) to play.
Definition at line 272 of file settings_type.h.
Referenced by MusicSystem::ChangePlaylist(), MusicSystem::CheckStatus(), MusicTrackSelectionWindow::GetWidgetString(), MusicTrackSelectionWindow::OnInvalidateData(), and MusicWindow::OnInvalidateData().
bool MusicSettings::shuffle |
Whether to shuffle the music.
Definition at line 278 of file settings_type.h.
Referenced by MusicSystem::ChangePlaylist(), MusicSystem::IsShuffle(), MusicSystem::Shuffle(), and MusicSystem::Unshuffle().