summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-28 15:41:03 +0100
committerCharles Pigott <charlespigott@googlemail.com>2021-02-28 18:04:51 +0000
commitc3dc27e37e177675c8a54ef507de48b61ed6da2c (patch)
treee42eb666cf8f22c17a0a4042bc62043ecda6c3b8 /src/table
parent73fd634209a9d54dd167a579e4bb3cced177b896 (diff)
downloadopenttd-c3dc27e37e177675c8a54ef507de48b61ed6da2c.tar.xz
Add: settings to limit your fast-forward game speed
By default this setting is set to 2500% normal game speed.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 5907c09a7..52602a3df 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -3364,6 +3364,20 @@ max = 1000
cat = SC_EXPERT
startup = true
+[SDTC_VAR]
+var = gui.fast_forward_speed_limit
+type = SLE_UINT16
+flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
+guiflags = SGF_0ISDISABLED | SGF_NO_NETWORK
+def = 2500
+min = 0
+max = 100000
+interval = 10
+str = STR_CONFIG_SETTING_FAST_FORWARD_SPEED_LIMIT
+strhelp = STR_CONFIG_SETTING_FAST_FORWARD_SPEED_LIMIT_HELPTEXT
+strval = STR_CONFIG_SETTING_FAST_FORWARD_SPEED_LIMIT_VAL
+cat = SC_BASIC
+
[SDTC_BOOL]
var = sound.news_ticker
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC