OpenTTD Source 20241224-master-gf74b0cf984
SoundSettings Struct Reference

Settings related to sound effects. More...

#include <settings_type.h>

Data Fields

bool news_ticker
 Play a ticker sound when a news item is published.
 
bool news_full
 Play sound effects associated to certain news types.
 
bool new_year
 Play sound on new year, summarising the performance during the last year.
 
bool confirm
 Play sound effect on successful constructions or other actions.
 
bool click_beep
 Beep on a random selection of buttons.
 
bool disaster
 Play disaster and accident sounds.
 
bool vehicle
 Play vehicle sound effects.
 
bool ambient
 Play ambient, industry and town sounds.
 

Detailed Description

Settings related to sound effects.

Definition at line 244 of file settings_type.h.

Field Documentation

◆ ambient

◆ click_beep

◆ confirm

bool SoundSettings::confirm

Play sound effect on successful constructions or other actions.

Definition at line 248 of file settings_type.h.

Referenced by CcBuildBridge(), CcBuildRailTunnel(), CcBuildRoadTunnel(), CcRoadStop(), CommonRaiseLowerBigLand(), GenerateRockyArea(), BuildTreesWindow::OnClick(), and BuildTreesWindow::UpdateMode().

◆ disaster

bool SoundSettings::disaster

◆ new_year

bool SoundSettings::new_year

Play sound on new year, summarising the performance during the last year.

Definition at line 247 of file settings_type.h.

◆ news_full

bool SoundSettings::news_full

Play sound effects associated to certain news types.

Definition at line 246 of file settings_type.h.

Referenced by ShowNewspaper().

◆ news_ticker

bool SoundSettings::news_ticker

Play a ticker sound when a news item is published.

Definition at line 245 of file settings_type.h.

Referenced by ShowTicker().

◆ vehicle

bool SoundSettings::vehicle

Play vehicle sound effects.

Definition at line 251 of file settings_type.h.

Referenced by PlayVehicleSound().


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