From 345c3203d74b485f5f6569b87c06ad9af79422a2 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 23 Dec 2012 21:08:42 +0000 Subject: (svn r24845) -Add: News ticker sound setting to adv. settings window. --- src/settings_type.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/settings_type.h') diff --git a/src/settings_type.h b/src/settings_type.h index a6326c3df..6a20b700d 100644 --- a/src/settings_type.h +++ b/src/settings_type.h @@ -162,6 +162,11 @@ struct GUISettings { } }; +/** Settings related to sound effects. */ +struct SoundSettings { + bool news_ticker; ///< Play a ticker sound when a news item is published. +}; + /** Settings related to music. */ struct MusicSettings { byte playlist; ///< The playlist (number) to play @@ -514,6 +519,7 @@ struct ClientSettings { GUISettings gui; ///< settings related to the GUI NetworkSettings network; ///< settings related to the network CompanySettings company; ///< default values for per-company settings + SoundSettings sound; ///< sound effect settings MusicSettings music; ///< settings related to music/sound NewsSettings news_display; ///< news display settings. }; -- cgit v1.2.3-54-g00ecf