summaryrefslogtreecommitdiff
path: root/src/table
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/table
parentbc84f30fc12d01230b9cb4d091fd03186fa83f03 (diff)
downloadopenttd-345c3203d74b485f5f6569b87c06ad9af79422a2.tar.xz
(svn r24845) -Add: News ticker sound setting to adv. settings window.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/misc_settings.ini5
-rw-r--r--src/table/settings.ini7
2 files changed, 7 insertions, 5 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini
index 919e964ca..6d9e7bbea 100644
--- a/src/table/misc_settings.ini
+++ b/src/table/misc_settings.ini
@@ -43,11 +43,6 @@ def = (1 << DO_SHOW_TOWN_NAMES | 1 << DO_SHOW_STATION_NAMES | 1 << DO_SHOW_
full = ""SHOW_TOWN_NAMES|SHOW_STATION_NAMES|SHOW_SIGNS|FULL_ANIMATION||FULL_DETAIL|WAYPOINTS|SHOW_COMPETITOR_SIGNS""
[SDTG_BOOL]
-name = ""news_ticker_sound""
-var = _news_ticker_sound
-def = true
-
-[SDTG_BOOL]
name = ""fullscreen""
var = _fullscreen
def = false
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 517e1fdf6..42be320cc 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -2913,6 +2913,13 @@ def = 100
min = 10
max = 65500
+[SDTC_BOOL]
+var = sound.news_ticker
+flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
+def = true
+str = STR_CONFIG_SETTING_SOUND_TICKER
+strhelp = STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT
+
[SDTC_VAR]
var = music.playlist
type = SLE_UINT8