(svn r24845) -Add: News ticker sound setting to adv. settings window.

This commit is contained in:
frosch
2012-12-23 21:08:42 +00:00
parent 7577ee2340
commit 888df85a3a
61 changed files with 26 additions and 65 deletions

View File

@@ -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.
};