summaryrefslogtreecommitdiff
path: root/src/table/settings/settings.ini
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-05-30 10:40:59 +0200
committerGitHub <noreply@github.com>2021-05-30 10:40:59 +0200
commite9e4588db105f5827c5356933023f6ce698fe6aa (patch)
tree064b5588764e6198578f6530616a231f04704057 /src/table/settings/settings.ini
parentbcd7a7aafe3d63117be74580298dcb20a53e4121 (diff)
downloadopenttd-e9e4588db105f5827c5356933023f6ce698fe6aa.tar.xz
Codechange: use setting name instead of index for HandleOldDiffCustom() (#9311)
Diffstat (limited to 'src/table/settings/settings.ini')
-rw-r--r--src/table/settings/settings.ini18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/table/settings/settings.ini b/src/table/settings/settings.ini
index 4f9ea607a..9281ed662 100644
--- a/src/table/settings/settings.ini
+++ b/src/table/settings/settings.ini
@@ -94,7 +94,7 @@ startup = false
; Saved settings variables.
-; Do not ADD or REMOVE something in this "difficulty.XXX" table or before it. It breaks savegame compatibility.
+; The next 18 entries are important for savegame compatibility. Do NOT remove those. See HandleOldDiffCustom() for more details.
[SDT_VAR]
var = difficulty.max_no_competitors
type = SLE_UINT8
@@ -106,10 +106,14 @@ interval = 1
post_cb = MaxNoAIsChange
cat = SC_BASIC
-[SDT_NULL]
-length = 1
+[SDT_VAR]
+var = difficulty.competitor_start_time
+type = SLE_UINT8
from = SLV_97
to = SLV_110
+def = 2
+min = 0
+max = 3
[SDT_VAR]
var = difficulty.number_towns
@@ -192,10 +196,14 @@ strhelp = STR_CONFIG_SETTING_CONSTRUCTION_SPEED_HELPTEXT
strval = STR_AI_SPEED_VERY_SLOW
cat = SC_BASIC
-[SDT_NULL]
-length = 1
+[SDT_VAR]
+var = difficulty.competitor_intelligence
+type = SLE_UINT8
from = SLV_97
to = SLV_110
+def = 0
+min = 0
+max = 2
[SDT_VAR]
var = difficulty.vehicle_breakdowns