OpenTTD Source 20260208-master-g43af8e94d0
MusicSettings Struct Reference

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.

Detailed Description

Settings related to music.

Definition at line 308 of file settings_type.h.

Field Documentation

◆ custom_1

uint8_t MusicSettings::custom_1[33]

The order of the first custom playlist.

Definition at line 312 of file settings_type.h.

◆ custom_2

uint8_t MusicSettings::custom_2[33]

The order of the second custom playlist.

Definition at line 313 of file settings_type.h.

◆ effect_vol

uint8_t MusicSettings::effect_vol

The requested effects volume.

Definition at line 311 of file settings_type.h.

◆ music_vol

uint8_t MusicSettings::music_vol

The requested music volume.

Definition at line 310 of file settings_type.h.

◆ playing

bool MusicSettings::playing

Whether music is playing.

Definition at line 314 of file settings_type.h.

◆ playlist

uint8_t MusicSettings::playlist

The playlist (number) to play.

Definition at line 309 of file settings_type.h.

◆ shuffle

bool MusicSettings::shuffle

Whether to shuffle the music.

Definition at line 315 of file settings_type.h.


The documentation for this struct was generated from the following file: