|
OpenTTD Source 20260721-master-g25ec12c62d
|
Settings related to music. More...
#include <settings_type.h>
Data Fields | |
| PlaylistChoice | playlist |
| The playlist (number) to play. | |
| uint8_t | music_vol |
| The requested music volume. | |
| uint8_t | effect_vol |
| The requested effects volume. | |
| std::array< uint8_t, PLAYLIST_ITEMS > | custom_1 |
| The order of the first custom playlist. | |
| std::array< uint8_t, PLAYLIST_ITEMS > | custom_2 |
| The order of the second custom playlist. | |
| bool | playing |
| Whether music is playing. | |
| bool | shuffle |
| Whether to shuffle the music. | |
Static Public Attributes | |
| static constexpr size_t | PLAYLIST_ITEMS = 33 |
| Number of items in a playlist. | |
Settings related to music.
Definition at line 349 of file settings_type.h.
| std::array<uint8_t, PLAYLIST_ITEMS> MusicSettings::custom_1 |
The order of the first custom playlist.
Definition at line 354 of file settings_type.h.
| std::array<uint8_t, PLAYLIST_ITEMS> MusicSettings::custom_2 |
The order of the second custom playlist.
Definition at line 355 of file settings_type.h.
| uint8_t MusicSettings::effect_vol |
The requested effects volume.
Definition at line 353 of file settings_type.h.
| uint8_t MusicSettings::music_vol |
The requested music volume.
Definition at line 352 of file settings_type.h.
| bool MusicSettings::playing |
Whether music is playing.
Definition at line 356 of file settings_type.h.
| PlaylistChoice MusicSettings::playlist |
The playlist (number) to play.
Definition at line 351 of file settings_type.h.
|
staticconstexpr |
Number of items in a playlist.
Definition at line 350 of file settings_type.h.
| bool MusicSettings::shuffle |
Whether to shuffle the music.
Definition at line 357 of file settings_type.h.