summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/table/company_settings.ini2
-rw-r--r--src/table/currency_settings.ini2
-rw-r--r--src/table/gameopt_settings.ini6
-rw-r--r--src/table/misc_settings.ini4
-rw-r--r--src/table/music_settings.ini2
-rw-r--r--src/table/settings.ini139
-rw-r--r--src/table/win32_settings.ini2
7 files changed, 14 insertions, 143 deletions
diff --git a/src/table/company_settings.ini b/src/table/company_settings.ini
index 8edd44b4f..16ecbb641 100644
--- a/src/table/company_settings.ini
+++ b/src/table/company_settings.ini
@@ -14,6 +14,8 @@ interval = 0
str = STR_NULL
proc = NULL
load = NULL
+from = 0
+to = SL_MAX_VERSION
diff --git a/src/table/currency_settings.ini b/src/table/currency_settings.ini
index 01c84ab50..04551ff3a 100644
--- a/src/table/currency_settings.ini
+++ b/src/table/currency_settings.ini
@@ -15,6 +15,8 @@ interval = 0
str = STR_NULL
proc = NULL
load = NULL
+from = 0
+to = SL_MAX_VERSION
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini
index f2a7da1ee..a33e3c051 100644
--- a/src/table/gameopt_settings.ini
+++ b/src/table/gameopt_settings.ini
@@ -42,6 +42,8 @@ interval = 0
str = STR_NULL
proc = NULL
load = NULL
+from = 0
+to = SL_MAX_VERSION
@@ -57,7 +59,6 @@ def = 0
min = 0
max = 0
full = NULL
-from = 0
to = 3
[SDTG_GENERAL]
@@ -73,7 +74,6 @@ min = 0
max = 0
full = NULL
from = 4
-to = SL_MAX_VERSION
##
[SDT_VAR]
@@ -131,14 +131,12 @@ max = MAX_SNOWLINE_HEIGHT * TILE_HEIGHT
[SDT_CONDNULL]
length = 1
-from = 0
to = 22
[SDTC_CONDOMANY]
var = gui.autosave
type = SLE_UINT8
from = 23
-to = SL_MAX_VERSION
flags = S
def = 1
max = 4
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini
index b06cc1e81..0c5a84cd8 100644
--- a/src/table/misc_settings.ini
+++ b/src/table/misc_settings.ini
@@ -19,6 +19,8 @@ interval = 0
str = STR_NULL
proc = NULL
load = NULL
+from = 0
+to = SL_MAX_VERSION
@@ -106,8 +108,6 @@ length = 2
flags = S
var = _cur_resolution
def = ""640,480""
-from = 0
-to = SL_MAX_VERSION
[SDTG_STR]
name = ""screenshot_format""
diff --git a/src/table/music_settings.ini b/src/table/music_settings.ini
index 44129ba4c..cb83725e6 100644
--- a/src/table/music_settings.ini
+++ b/src/table/music_settings.ini
@@ -15,6 +15,8 @@ interval = 0
str = STR_NULL
proc = NULL
load = NULL
+from = 0
+to = SL_MAX_VERSION
diff --git a/src/table/settings.ini b/src/table/settings.ini
index d7964b1ce..f04eaecb1 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -35,6 +35,8 @@ interval = 0
str = STR_NULL
proc = NULL
load = NULL
+from = 0
+to = SL_MAX_VERSION
@@ -45,7 +47,6 @@ base = GameSettings
var = difficulty.max_no_competitors
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 0
min = 0
max = MAX_COMPANIES-1
@@ -62,7 +63,6 @@ base = GameSettings
var = difficulty.number_towns
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NG
def = 2
min = 0
@@ -76,7 +76,6 @@ base = GameSettings
var = difficulty.industry_density
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NG
def = ID_END-1
min = 0
@@ -90,7 +89,6 @@ base = GameSettings
var = difficulty.max_loan
type = SLE_UINT32
from = 97
-to = SL_MAX_VERSION
guiflags = NS|CR
def = 300000
min = 100000
@@ -103,7 +101,6 @@ base = GameSettings
var = difficulty.initial_interest
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NS
def = 2
min = 2
@@ -116,7 +113,6 @@ base = GameSettings
var = difficulty.vehicle_costs
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NS
def = 0
min = 0
@@ -130,7 +126,6 @@ base = GameSettings
var = difficulty.competitor_speed
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 2
min = 0
max = 4
@@ -148,7 +143,6 @@ base = GameSettings
var = difficulty.vehicle_breakdowns
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 1
min = 0
max = 2
@@ -161,7 +155,6 @@ base = GameSettings
var = difficulty.subsidy_multiplier
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 2
min = 0
max = 3
@@ -174,7 +167,6 @@ base = GameSettings
var = difficulty.construction_cost
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NS
def = 0
min = 0
@@ -188,7 +180,6 @@ base = GameSettings
var = difficulty.terrain_type
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NG
def = 1
min = 0
@@ -202,7 +193,6 @@ base = GameSettings
var = difficulty.quantity_sea_lakes
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NG
def = 0
min = 0
@@ -216,7 +206,6 @@ base = GameSettings
var = difficulty.economy
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 0
min = 0
max = 1
@@ -229,7 +218,6 @@ base = GameSettings
var = difficulty.line_reverse_mode
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 0
min = 0
max = 1
@@ -242,7 +230,6 @@ base = GameSettings
var = difficulty.disasters
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 0
min = 0
max = 1
@@ -255,7 +242,6 @@ base = GameSettings
var = difficulty.town_council_tolerance
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 0
min = 0
max = 2
@@ -268,7 +254,6 @@ base = GameSettings
var = difficulty.diff_level
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
def = 3
min = 0
max = 3
@@ -281,7 +266,6 @@ base = GameSettings
var = game_creation.town_name
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NN
def = 0
max = 255
@@ -292,7 +276,6 @@ base = GameSettings
var = game_creation.landscape
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NN
def = 0
max = 3
@@ -304,7 +287,6 @@ base = GameSettings
var = game_creation.snow_line
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NN
def = DEF_SNOWLINE_HEIGHT * TILE_HEIGHT
min = MIN_SNOWLINE_HEIGHT * TILE_HEIGHT
@@ -315,7 +297,6 @@ base = GameSettings
var = vehicle.road_side
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
guiflags = NN
def = 1
max = 1
@@ -336,7 +317,6 @@ base = GameSettings
var = construction.command_pause_level
type = SLE_UINT8
from = 154
-to = SL_MAX_VERSION
guiflags = MS|NN
def = 1
min = 0
@@ -349,7 +329,6 @@ base = GameSettings
var = construction.terraform_per_64k_frames
type = SLE_UINT32
from = 156
-to = SL_MAX_VERSION
def = 64 << 16
min = 0
max = 1 << 30
@@ -360,7 +339,6 @@ base = GameSettings
var = construction.terraform_frame_burst
type = SLE_UINT16
from = 156
-to = SL_MAX_VERSION
def = 4096
min = 0
max = 1 << 30
@@ -371,7 +349,6 @@ base = GameSettings
var = construction.clear_per_64k_frames
type = SLE_UINT32
from = 156
-to = SL_MAX_VERSION
def = 64 << 16
min = 0
max = 1 << 30
@@ -382,7 +359,6 @@ base = GameSettings
var = construction.clear_frame_burst
type = SLE_UINT16
from = 156
-to = SL_MAX_VERSION
def = 4096
min = 0
max = 1 << 30
@@ -392,7 +368,6 @@ interval = 1
base = GameSettings
var = construction.autoslope
from = 75
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_AUTOSLOPE
@@ -407,7 +382,6 @@ base = GameSettings
var = construction.max_bridge_length
type = SLE_UINT16
from = 159
-to = SL_MAX_VERSION
guiflags = NN
def = 64
min = 1
@@ -420,7 +394,6 @@ base = GameSettings
var = construction.max_tunnel_length
type = SLE_UINT16
from = 159
-to = SL_MAX_VERSION
guiflags = NN
def = 64
min = 1
@@ -431,7 +404,6 @@ str = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH
# construction.longbridges
[SDT_CONDNULL]
length = 1
-from = 0
to = 158
[SDT_BOOL]
@@ -455,7 +427,6 @@ base = GameSettings
var = economy.town_layout
type = SLE_UINT8
from = 59
-to = SL_MAX_VERSION
guiflags = MS
def = TL_ORIGINAL
min = TL_BEGIN
@@ -468,7 +439,6 @@ proc = TownFoundingChanged
base = GameSettings
var = economy.allow_town_roads
from = 113
-to = SL_MAX_VERSION
guiflags = NN
def = true
str = STR_CONFIG_SETTING_ALLOW_TOWN_ROADS
@@ -478,7 +448,6 @@ base = GameSettings
var = economy.found_town
type = SLE_UINT8
from = 128
-to = SL_MAX_VERSION
guiflags = MS
def = TF_FORBIDDEN
min = TF_BEGIN
@@ -491,7 +460,6 @@ proc = TownFoundingChanged
base = GameSettings
var = economy.allow_town_level_crossings
from = 143
-to = SL_MAX_VERSION
guiflags = NN
def = true
str = STR_CONFIG_SETTING_ALLOW_TOWN_LEVEL_CROSSINGS
@@ -515,7 +483,6 @@ base = GameSettings
var = vehicle.roadveh_acceleration_model
type = SLE_UINT8
from = 139
-to = SL_MAX_VERSION
guiflags = MS
def = 0
min = 0
@@ -529,7 +496,6 @@ base = GameSettings
var = vehicle.train_slope_steepness
type = SLE_UINT8
from = 133
-to = SL_MAX_VERSION
def = 3
min = 0
max = 10
@@ -542,7 +508,6 @@ base = GameSettings
var = vehicle.roadveh_slope_steepness
type = SLE_UINT8
from = 139
-to = SL_MAX_VERSION
def = 7
min = 0
max = 10
@@ -561,7 +526,6 @@ base = GameSettings
var = vehicle.max_train_length
type = SLE_UINT8
from = 159
-to = SL_MAX_VERSION
def = 7
min = 1
max = 64
@@ -571,7 +535,6 @@ str = STR_CONFIG_SETTING_TRAIN_LENGTH
; vehicle.mammoth_trains
[SDT_CONDNULL]
length = 1
-from = 0
to = 158
[SDT_CONDVAR]
@@ -579,7 +542,6 @@ base = GameSettings
var = vehicle.smoke_amount
type = SLE_UINT8
from = 145
-to = SL_MAX_VERSION
guiflags = MS
def = 1
min = 0
@@ -589,7 +551,6 @@ str = STR_CONFIG_SETTING_SMOKE_AMOUNT
; order.gotodepot
[SDT_CONDNULL]
length = 1
-from = 0
to = 158
; path finder
@@ -603,7 +564,6 @@ str = STR_CONFIG_SETTING_ROAD_VEHICLE_QUEUEING
[SDT_CONDBOOL]
base = GameSettings
var = pf.new_pathfinding_all
-from = 0
to = 86
def = false
@@ -634,7 +594,6 @@ base = GameSettings
var = pf.pathfinder_for_trains
type = SLE_UINT8
from = 87
-to = SL_MAX_VERSION
guiflags = MS
def = 2
min = 1
@@ -647,7 +606,6 @@ base = GameSettings
var = pf.pathfinder_for_roadvehs
type = SLE_UINT8
from = 87
-to = SL_MAX_VERSION
guiflags = MS
def = 2
min = 1
@@ -660,7 +618,6 @@ base = GameSettings
var = pf.pathfinder_for_ships
type = SLE_UINT8
from = 87
-to = SL_MAX_VERSION
guiflags = MS
def = 0
min = 0
@@ -720,7 +677,6 @@ name = NULL
guiflags = NN
var = _old_vds.servint_ispercent
def = false
-from = 0
to = 119
[SDTG_CONDVAR]
@@ -731,7 +687,6 @@ var = _old_vds.servint_trains
def = 150
min = 5
max = 800
-from = 0
to = 119
[SDTG_CONDVAR]
@@ -742,7 +697,6 @@ var = _old_vds.servint_roadveh
def = 150
min = 5
max = 800
-from = 0
to = 119
[SDTG_CONDVAR]
@@ -753,7 +707,6 @@ var = _old_vds.servint_ships
def = 360
min = 5
max = 800
-from = 0
to = 119
[SDTG_CONDVAR]
@@ -764,7 +717,6 @@ var = _old_vds.servint_aircraft
def = 150
min = 5
max = 800
-from = 0
to = 119
[SDT_BOOL]
@@ -785,7 +737,6 @@ proc = UpdateConsists
base = GameSettings
var = vehicle.disable_elrails
from = 38
-to = SL_MAX_VERSION
guiflags = NN
def = false
str = STR_CONFIG_SETTING_DISABLE_ELRAILS
@@ -796,7 +747,6 @@ base = GameSettings
var = vehicle.freight_trains
type = SLE_UINT8
from = 39
-to = SL_MAX_VERSION
guiflags = NN
def = 1
min = 1
@@ -816,7 +766,6 @@ base = GameSettings
var = vehicle.plane_speed
type = SLE_UINT8
from = 90
-to = SL_MAX_VERSION
guiflags = NN
def = 4
min = 1
@@ -827,7 +776,6 @@ str = STR_CONFIG_SETTING_PLANE_SPEED
base = GameSettings
var = vehicle.dynamic_engines
from = 95
-to = SL_MAX_VERSION
guiflags = NN
def = true
str = STR_CONFIG_SETTING_DYNAMIC_ENGINES
@@ -838,7 +786,6 @@ base = GameSettings
var = vehicle.plane_crashes
type = SLE_UINT8
from = 138
-to = SL_MAX_VERSION
guiflags = MS
def = 2
min = 0
@@ -849,7 +796,6 @@ str = STR_CONFIG_SETTING_PLANE_CRASHES
; station.join_stations
[SDT_CONDNULL]
length = 1
-from = 0
to = 158
[SDTC_CONDBOOL]
@@ -880,7 +826,6 @@ def = false
; station.nonuniform_stations
[SDT_CONDNULL]
length = 1
-from = 0
to = 158
[SDT_VAR]
@@ -910,7 +855,6 @@ proc = StationCatchmentChanged
base = GameSettings
var = order.gradual_loading
from = 40
-to = SL_MAX_VERSION
guiflags = NN
def = true
str = STR_CONFIG_SETTING_GRADUAL_LOADING
@@ -919,7 +863,6 @@ str = STR_CONFIG_SETTING_GRADUAL_LOADING
base = GameSettings
var = construction.road_stop_on_town_road
from = 47
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD
@@ -927,7 +870,6 @@ str = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD
base = GameSettings
var = construction.road_stop_on_competitor_road
from = 114
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD
@@ -935,7 +877,6 @@ str = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD
base = GameSettings
var = station.adjacent_stations
from = 62
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_ADJACENT_STATIONS
@@ -943,7 +884,6 @@ str = STR_CONFIG_SETTING_ADJACENT_STATIONS
base = GameSettings
var = economy.station_noise_level
from = 96
-to = SL_MAX_VERSION
guiflags = NN
def = false
str = STR_CONFIG_SETTING_NOISE_LEVEL
@@ -953,7 +893,6 @@ proc = InvalidateTownViewWindow
base = GameSettings
var = station.distant_join_stations
from = 106
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS
proc = DeleteSelectStationWindow
@@ -981,7 +920,6 @@ base = GameSettings
var = construction.industry_platform
type = SLE_UINT8
from = 148
-to = SL_MAX_VERSION
def = 1
min = 0
max = 4
@@ -995,7 +933,6 @@ str = STR_CONFIG_SETTING_MULTIPINDTOWN
[SDT_CONDNULL]
length = 1
-from = 0
to = 140
[SDT_BOOL]
@@ -1009,7 +946,6 @@ proc = RedrawTownAuthority
base = GameSettings
var = economy.exclusive_rights
from = 79
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE
proc = RedrawTownAuthority
@@ -1018,7 +954,6 @@ proc = RedrawTownAuthority
base = GameSettings
var = economy.fund_roads
from = 160
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_ALLOW_FUND_ROAD
proc = RedrawTownAuthority
@@ -1027,7 +962,6 @@ proc = RedrawTownAuthority
base = GameSettings
var = economy.give_money
from = 79
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY
@@ -1042,7 +976,6 @@ str = STR_CONFIG_SETTING_SNOWLINE_HEIGHT
[SDT_CONDNULL]
length = 4
-from = 0
to = 143
[SDT_VAR]
@@ -1058,7 +991,6 @@ str = STR_CONFIG_SETTING_STARTING_YEAR
[SDT_CONDNULL]
length = 4
-from = 0
to = 104
[SDT_BOOL]
@@ -1079,7 +1011,6 @@ base = GameSettings
var = economy.feeder_payment_share
type = SLE_UINT8
from = 134
-to = SL_MAX_VERSION
def = 75
min = 0
max = 100
@@ -1090,7 +1021,6 @@ base = GameSettings
var = economy.town_growth_rate
type = SLE_UINT8
from = 54
-to = SL_MAX_VERSION
guiflags = MS
def = 2
min = 0
@@ -1102,7 +1032,6 @@ base = GameSettings
var = economy.larger_towns
type = SLE_UINT8
from = 54
-to = SL_MAX_VERSION
guiflags = D0
def = 4
min = 0
@@ -1115,7 +1044,6 @@ base = GameSettings
var = economy.initial_city_size
type = SLE_UINT8
from = 56
-to = SL_MAX_VERSION
def = 2
min = 1
max = 10
@@ -1126,14 +1054,12 @@ str = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER
base = GameSettings
var = economy.mod_road_rebuild
from = 77
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_MODIFIED_ROAD_REBUILD
; previously ai-new setting.
[SDT_CONDNULL]
length = 1
-from = 0
to = 106
[SDT_BOOL]
@@ -1171,7 +1097,6 @@ base = GameSettings
var = ai.ai_max_opcode_till_suspend
type = SLE_UINT32
from = 107
-to = SL_MAX_VERSION
guiflags = NG
def = 10000
min = 5000
@@ -1200,7 +1125,6 @@ max = 60
base = GameSettings
var = pf.reverse_at_signals
from = 159
-to = SL_MAX_VERSION
def = false
str = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS
@@ -1225,7 +1149,6 @@ base = GameSettings
var = economy.town_noise_population[0]
type = SLE_UINT16
from = 96
-to = SL_MAX_VERSION
def = 800
min = 200
max = 65535
@@ -1235,7 +1158,6 @@ base = GameSettings
var = economy.town_noise_population[1]
type = SLE_UINT16
from = 96
-to = SL_MAX_VERSION
def = 2000
min = 400
max = 65535
@@ -1245,7 +1167,6 @@ base = GameSettings
var = economy.town_noise_population[2]
type = SLE_UINT16
from = 96
-to = SL_MAX_VERSION
def = 4000
min = 800
max = 65535
@@ -1256,7 +1177,6 @@ base = GameSettings
var = pf.wait_for_pbs_path
type = SLE_UINT8
from = 100
-to = SL_MAX_VERSION
def = 30
min = 2
max = 255
@@ -1265,7 +1185,6 @@ max = 255
base = GameSettings
var = pf.reserve_paths
from = 100
-to = SL_MAX_VERSION
def = false
[SDT_CONDVAR]
@@ -1273,7 +1192,6 @@ base = GameSettings
var = pf.path_backoff_interval
type = SLE_UINT8
from = 100
-to = SL_MAX_VERSION
def = 20
min = 1
max = 255
@@ -1365,7 +1283,6 @@ base = GameSettings
var = pf.npf.npf_rail_pbs_cross_penalty
type = SLE_UINT
from = 100
-to = SL_MAX_VERSION
def = ( 3 * NPF_TILE_LENGTH)
min = 0
max = 100000
@@ -1375,7 +1292,6 @@ base = GameSettings
var = pf.npf.npf_rail_pbs_signal_back_penalty
type = SLE_UINT
from = 100
-to = SL_MAX_VERSION
def = ( 15 * NPF_TILE_LENGTH)
min = 0
max = 100000
@@ -1417,7 +1333,6 @@ base = GameSettings
var = pf.npf.npf_road_drive_through_penalty
type = SLE_UINT
from = 47
-to = SL_MAX_VERSION
def = ( 8 * NPF_TILE_LENGTH)
min = 0
max = 100000
@@ -1427,7 +1342,6 @@ base = GameSettings
var = pf.npf.npf_road_dt_occupied_penalty
type = SLE_UINT
from = 130
-to = SL_MAX_VERSION
def = ( 8 * NPF_TILE_LENGTH)
min = 0
max = 100000
@@ -1437,7 +1351,6 @@ base = GameSettings
var = pf.npf.npf_road_bay_occupied_penalty
type = SLE_UINT
from = 130
-to = SL_MAX_VERSION
def = ( 15 * NPF_TILE_LENGTH)
min = 0
max = 100000
@@ -1447,7 +1360,6 @@ base = GameSettings
var = pf.npf.maximum_go_to_depot_penalty
type = SLE_UINT
from = 131
-to = SL_MAX_VERSION
def = ( 20 * NPF_TILE_LENGTH)
min = 0
max = 1000000
@@ -1457,7 +1369,6 @@ max = 1000000
base = GameSettings
var = pf.yapf.disable_node_optimization
from = 28
-to = SL_MAX_VERSION
def = false
[SDT_CONDVAR]
@@ -1465,7 +1376,6 @@ base = GameSettings
var = pf.yapf.max_search_nodes
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 10000
min = 500
max = 1000000
@@ -1474,7 +1384,6 @@ max = 1000000
base = GameSettings
var = pf.yapf.rail_firstred_twoway_eol
from = 28
-to = SL_MAX_VERSION
def = false
[SDT_CONDVAR]
@@ -1482,7 +1391,6 @@ base = GameSettings
var = pf.yapf.rail_firstred_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 10 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1492,7 +1400,6 @@ base = GameSettings
var = pf.yapf.rail_firstred_exit_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 100 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1502,7 +1409,6 @@ base = GameSettings
var = pf.yapf.rail_lastred_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 10 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1512,7 +1418,6 @@ base = GameSettings
var = pf.yapf.rail_lastred_exit_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 100 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1522,7 +1427,6 @@ base = GameSettings
var = pf.yapf.rail_station_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 10 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1532,7 +1436,6 @@ base = GameSettings
var = pf.yapf.rail_slope_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 2 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1542,7 +1445,6 @@ base = GameSettings
var = pf.yapf.rail_curve45_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 1 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1552,7 +1454,6 @@ base = GameSettings
var = pf.yapf.rail_curve90_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 6 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1562,7 +1463,6 @@ base = GameSettings
var = pf.yapf.rail_depot_reverse_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 50 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1572,7 +1472,6 @@ base = GameSettings
var = pf.yapf.rail_crossing_penalty
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 3 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1582,7 +1481,6 @@ base = GameSettings
var = pf.yapf.rail_look_ahead_max_signals
type = SLE_UINT
from = 28
-to = SL_MAX_VERSION
def = 10
min = 1
max = 100
@@ -1592,7 +1490,6 @@ base = GameSettings
var = pf.yapf.rail_look_ahead_signal_p0
type = SLE_INT
from = 28
-to = SL_MAX_VERSION
def = 500
min = -1000000
max = 1000000
@@ -1602,7 +1499,6 @@ base = GameSettings
var = pf.yapf.rail_look_ahead_signal_p1
type = SLE_INT
from = 28
-to = SL_MAX_VERSION
def = -100
min = -1000000
max = 1000000
@@ -1612,7 +1508,6 @@ base = GameSettings
var = pf.yapf.rail_look_ahead_signal_p2
type = SLE_INT
from = 28
-to = SL_MAX_VERSION
def = 5
min = -1000000
max = 1000000
@@ -1622,7 +1517,6 @@ base = GameSettings
var = pf.yapf.rail_pbs_cross_penalty
type = SLE_UINT
from = 100
-to = SL_MAX_VERSION
def = 3 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1632,7 +1526,6 @@ base = GameSettings
var = pf.yapf.rail_pbs_station_penalty
type = SLE_UINT
from = 100
-to = SL_MAX_VERSION
def = 8 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1642,7 +1535,6 @@ base = GameSettings
var = pf.yapf.rail_pbs_signal_back_penalty
type = SLE_UINT
from = 100
-to = SL_MAX_VERSION
def = 15 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1652,7 +1544,6 @@ base = GameSettings
var = pf.yapf.rail_doubleslip_penalty
type = SLE_UINT
from = 100
-to = SL_MAX_VERSION
def = 1 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1662,7 +1553,6 @@ base = GameSettings
var = pf.yapf.rail_longer_platform_penalty
type = SLE_UINT
from = 33
-to = SL_MAX_VERSION
def = 8 * YAPF_TILE_LENGTH
min = 0
max = 20000
@@ -1672,7 +1562,6 @@ base = GameSettings
var = pf.yapf.rail_longer_platform_per_tile_penalty
type = SLE_UINT
from = 33
-to = SL_MAX_VERSION
def = 0 * YAPF_TILE_LENGTH
min = 0
max = 20000
@@ -1682,7 +1571,6 @@ base = GameSettings
var = pf.yapf.rail_shorter_platform_penalty
type = SLE_UINT
from = 33
-to = SL_MAX_VERSION
def = 40 * YAPF_TILE_LENGTH
min = 0
max = 20000
@@ -1692,7 +1580,6 @@ base = GameSettings
var = pf.yapf.rail_shorter_platform_per_tile_penalty
type = SLE_UINT
from = 33
-to = SL_MAX_VERSION
def = 0 * YAPF_TILE_LENGTH
min = 0
max = 20000
@@ -1702,7 +1589,6 @@ base = GameSettings
var = pf.yapf.road_slope_penalty
type = SLE_UINT
from = 33
-to = SL_MAX_VERSION
def = 2 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1712,7 +1598,6 @@ base = GameSettings
var = pf.yapf.road_curve_penalty
type = SLE_UINT
from = 33
-to = SL_MAX_VERSION
def = 1 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1722,7 +1607,6 @@ base = GameSettings
var = pf.yapf.road_crossing_penalty
type = SLE_UINT
from = 33
-to = SL_MAX_VERSION
def = 3 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1732,7 +1616,6 @@ base = GameSettings
var = pf.yapf.road_stop_penalty
type = SLE_UINT
from = 47
-to = SL_MAX_VERSION
def = 8 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1742,7 +1625,6 @@ base = GameSettings
var = pf.yapf.road_stop_occupied_penalty
type = SLE_UINT
from = 130
-to = SL_MAX_VERSION
def = 8 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1752,7 +1634,6 @@ base = GameSettings
var = pf.yapf.road_stop_bay_occupied_penalty
type = SLE_UINT
from = 130
-to = SL_MAX_VERSION
def = 15 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1762,7 +1643,6 @@ base = GameSettings
var = pf.yapf.maximum_go_to_depot_penalty
type = SLE_UINT
from = 131
-to = SL_MAX_VERSION
def = 20 * YAPF_TILE_LENGTH
min = 0
max = 1000000
@@ -1773,7 +1653,6 @@ base = GameSettings
var = game_creation.land_generator
type = SLE_UINT8
from = 30
-to = SL_MAX_VERSION
guiflags = MS
def = 1
min = 0
@@ -1785,7 +1664,6 @@ base = GameSettings
var = game_creation.oil_refinery_limit
type = SLE_UINT8
from = 30
-to = SL_MAX_VERSION
def = 32
min = 12
max = 48
@@ -1796,7 +1674,6 @@ base = GameSettings
var = game_creation.tgen_smoothness
type = SLE_UINT8
from = 30
-to = SL_MAX_VERSION
guiflags = MS
def = 1
min = 0
@@ -1817,7 +1694,6 @@ base = GameSettings
var = game_creation.generation_seed
type = SLE_UINT32
from = 30
-to = SL_MAX_VERSION
def = GENERATE_NEW_SEED
min = 0
max = UINT32_MAX
@@ -1827,7 +1703,6 @@ base = GameSettings
var = game_creation.tree_placer
type = SLE_UINT8
from = 30
-to = SL_MAX_VERSION
guiflags = MS
def = 2
min = 0
@@ -1878,7 +1753,6 @@ max = MAX_MAP_SIZE_BITS
base = GameSettings
var = construction.freeform_edges
from = 111
-to = SL_MAX_VERSION
def = true
str = STR_CONFIG_SETTING_ENABLE_FREEFORM_EDGES
proc = CheckFreeformEdges
@@ -1888,7 +1762,6 @@ base = GameSettings
var = game_creation.water_borders
type = SLE_UINT8
from = 111
-to = SL_MAX_VERSION
def = 15
min = 0
max = 16
@@ -1898,7 +1771,6 @@ base = GameSettings
var = game_creation.custom_town_number
type = SLE_UINT16
from = 115
-to = SL_MAX_VERSION
def = 1
min = 1
max = 5000
@@ -1908,7 +1780,6 @@ base = GameSettings
var = construction.extra_tree_placement
type = SLE_UINT8
from = 132
-to = SL_MAX_VERSION
guiflags = MS
def = 2
min = 0
@@ -1920,7 +1791,6 @@ base = GameSettings
var = game_creation.custom_sea_level
type = SLE_UINT8
from = 149
-to = SL_MAX_VERSION
def = 1
min = 2
max = 90
@@ -1932,7 +1802,6 @@ base = GameSettings
var = locale.currency
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
flags = N
def = 0
max = CUSTOM_CURRENCY_ID
@@ -1944,7 +1813,6 @@ base = GameSettings
var = locale.units
type = SLE_UINT8
from = 97
-to = SL_MAX_VERSION
flags = N
def = 1
max = 2
@@ -1956,7 +1824,6 @@ base = GameSettings
var = locale.digit_group_separator
type = SLE_STRQ
from = 118
-to = SL_MAX_VERSION
flags = N
def = NULL
proc = RedrawScreen
@@ -1966,7 +1833,6 @@ base = GameSettings
var = locale.digit_group_separator_currency
type = SLE_STRQ
from = 118
-to = SL_MAX_VERSION
flags = N
def = NULL
proc = RedrawScreen
@@ -1976,7 +1842,6 @@ base = GameSettings
var = locale.digit_decimal_separator
type = SLE_STRQ
from = 126
-to = SL_MAX_VERSION
flags = N
def = NULL
proc = RedrawScreen
diff --git a/src/table/win32_settings.ini b/src/table/win32_settings.ini
index fe1a945b6..1fd0cbf53 100644
--- a/src/table/win32_settings.ini
+++ b/src/table/win32_settings.ini
@@ -20,6 +20,8 @@ interval = 0
str = STR_NULL
proc = NULL
load = NULL
+from = 0
+to = SL_MAX_VERSION