summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-12-23 21:08:42 +0000
committerfrosch <frosch@openttd.org>2012-12-23 21:08:42 +0000
commit345c3203d74b485f5f6569b87c06ad9af79422a2 (patch)
treeed4274819b03b7b8b15fba1cd7281d620543e547 /src/settings_type.h
parentbc84f30fc12d01230b9cb4d091fd03186fa83f03 (diff)
downloadopenttd-345c3203d74b485f5f6569b87c06ad9af79422a2.tar.xz
(svn r24845) -Add: News ticker sound setting to adv. settings window.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h6
1 files changed, 6 insertions, 0 deletions
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.
};