Add: INR currency (#8136)
[openttd-github.git] / src / table / settings.ini
blob43bd3aec325e64c3ed8d8760cca661648750969c
1 ; This file is part of OpenTTD.
2 ; OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
3 ; OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
4 ; See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
7 [pre-amble]
8 /* Begin - Callback Functions for the various settings */
9 static bool v_PositionMainToolbar(int32 p1);
10 static bool v_PositionStatusbar(int32 p1);
11 static bool PopulationInLabelActive(int32 p1);
12 static bool RedrawScreen(int32 p1);
13 static bool RedrawSmallmap(int32 p1);
14 static bool StationSpreadChanged(int32 p1);
15 static bool InvalidateBuildIndustryWindow(int32 p1);
16 static bool CloseSignalGUI(int32 p1);
17 static bool InvalidateTownViewWindow(int32 p1);
18 static bool DeleteSelectStationWindow(int32 p1);
19 static bool UpdateConsists(int32 p1);
20 static bool TrainAccelerationModelChanged(int32 p1);
21 static bool RoadVehAccelerationModelChanged(int32 p1);
22 static bool TrainSlopeSteepnessChanged(int32 p1);
23 static bool RoadVehSlopeSteepnessChanged(int32 p1);
24 static bool DragSignalsDensityChanged(int32);
25 static bool TownFoundingChanged(int32 p1);
26 static bool DifficultyNoiseChange(int32 i);
27 static bool MaxNoAIsChange(int32 i);
28 static bool CheckRoadSide(int p1);
29 static bool ChangeMaxHeightLevel(int32 p1);
30 static bool CheckFreeformEdges(int32 p1);
31 static bool ChangeDynamicEngines(int32 p1);
32 static bool StationCatchmentChanged(int32 p1);
33 static bool InvalidateVehTimetableWindow(int32 p1);
34 static bool InvalidateCompanyLiveryWindow(int32 p1);
35 static bool InvalidateNewGRFChangeWindows(int32 p1);
36 static bool InvalidateIndustryViewWindow(int32 p1);
37 static bool InvalidateAISettingsWindow(int32 p1);
38 static bool RedrawTownAuthority(int32 p1);
39 static bool InvalidateCompanyInfrastructureWindow(int32 p1);
40 static bool InvalidateCompanyWindow(int32 p1);
41 static bool ZoomMinMaxChanged(int32 p1);
42 static bool MaxVehiclesChanged(int32 p1);
43 static bool InvalidateShipPathCache(int32 p1);
45 static bool UpdateClientName(int32 p1);
46 static bool UpdateServerPassword(int32 p1);
47 static bool UpdateRconPassword(int32 p1);
48 static bool UpdateClientConfigValues(int32 p1);
50 extern int32 _old_ending_year_slv_105;
52 /* End - Callback Functions for the various settings */
54 /* Some settings do not need to be synchronised when playing in multiplayer.
55 * These include for example the GUI settings and will not be saved with the
56 * savegame.
57 * It is also a bit tricky since you would think that service_interval
58 * for example doesn't need to be synched. Every client assigns the
59 * service_interval value to the v->service_interval, meaning that every client
60 * assigns his value. If the setting was company-based, that would mean that
61 * vehicles could decide on different moments that they are heading back to a
62 * service depot, causing desyncs on a massive scale. */
63 const SettingDesc _settings[] = {
64 [post-amble]
66 [templates]
67 SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
68 SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
69 SDTG_OMANY = SDTG_OMANY($name, $type, $flags, $guiflags, $var, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat),
70 SDTC_BOOL = SDTC_BOOL( $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
71 SDTC_LIST = SDTC_LIST( $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
72 SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat),
73 SDTC_STR = SDTC_STR( $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
74 SDTC_VAR = SDTC_VAR( $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
75 SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
76 SDT_OMANY = SDT_OMANY($base, $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $load, $cat),
77 SDT_STR = SDT_STR($base, $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
78 SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
79 SDT_NULL = SDT_NULL($length, $from, $to),
80 SDT_END = SDT_END()
82 [defaults]
83 flags = 0
84 guiflags = SGF_NONE
85 interval = 0
86 str = STR_NULL
87 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
88 strval = STR_NULL
89 proc = nullptr
90 load = nullptr
91 from = SL_MIN_VERSION
92 to = SL_MAX_VERSION
93 cat = SC_ADVANCED
97 ; Saved settings variables.
98 ; Do not ADD or REMOVE something in this "difficulty.XXX" table or before it. It breaks savegame compatibility.
99 [SDT_VAR]
100 base = GameSettings
101 var = difficulty.max_no_competitors
102 type = SLE_UINT8
103 from = SLV_97
104 def = 0
105 min = 0
106 max = MAX_COMPANIES - 1
107 interval = 1
108 proc = MaxNoAIsChange
109 cat = SC_BASIC
111 [SDT_NULL]
112 length = 1
113 from = SLV_97
114 to = SLV_110
116 [SDT_VAR]
117 base = GameSettings
118 var = difficulty.number_towns
119 type = SLE_UINT8
120 from = SLV_97
121 guiflags = SGF_NEWGAME_ONLY
122 def = 2
123 min = 0
124 max = 4
125 interval = 1
126 strval = STR_NUM_VERY_LOW
127 cat = SC_BASIC
129 [SDT_VAR]
130 base = GameSettings
131 var = difficulty.industry_density
132 type = SLE_UINT8
133 from = SLV_97
134 guiflags = SGF_MULTISTRING
135 def = ID_END - 1
136 min = 0
137 max = ID_END - 1
138 interval = 1
139 str = STR_CONFIG_SETTING_INDUSTRY_DENSITY
140 strhelp = STR_CONFIG_SETTING_INDUSTRY_DENSITY_HELPTEXT
141 strval = STR_FUNDING_ONLY
142 cat = SC_BASIC
144 [SDT_VAR]
145 base = GameSettings
146 var = difficulty.max_loan
147 type = SLE_UINT32
148 from = SLV_97
149 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO | SGF_CURRENCY
150 def = 300000
151 min = 100000
152 max = 500000
153 interval = 50000
154 str = STR_CONFIG_SETTING_MAXIMUM_INITIAL_LOAN
155 strhelp = STR_CONFIG_SETTING_MAXIMUM_INITIAL_LOAN_HELPTEXT
156 strval = STR_JUST_CURRENCY_LONG
157 cat = SC_BASIC
159 [SDT_VAR]
160 base = GameSettings
161 var = difficulty.initial_interest
162 type = SLE_UINT8
163 from = SLV_97
164 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
165 def = 2
166 min = 2
167 max = 4
168 interval = 1
169 str = STR_CONFIG_SETTING_INTEREST_RATE
170 strhelp = STR_CONFIG_SETTING_INTEREST_RATE_HELPTEXT
171 strval = STR_CONFIG_SETTING_PERCENTAGE
173 [SDT_VAR]
174 base = GameSettings
175 var = difficulty.vehicle_costs
176 type = SLE_UINT8
177 from = SLV_97
178 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO | SGF_MULTISTRING
179 def = 0
180 min = 0
181 max = 2
182 interval = 1
183 str = STR_CONFIG_SETTING_RUNNING_COSTS
184 strhelp = STR_CONFIG_SETTING_RUNNING_COSTS_HELPTEXT
185 strval = STR_SEA_LEVEL_LOW
186 cat = SC_BASIC
188 [SDT_VAR]
189 base = GameSettings
190 var = difficulty.competitor_speed
191 type = SLE_UINT8
192 from = SLV_97
193 guiflags = SGF_MULTISTRING
194 def = 2
195 min = 0
196 max = 4
197 interval = 1
198 str = STR_CONFIG_SETTING_CONSTRUCTION_SPEED
199 strhelp = STR_CONFIG_SETTING_CONSTRUCTION_SPEED_HELPTEXT
200 strval = STR_AI_SPEED_VERY_SLOW
201 cat = SC_BASIC
203 [SDT_NULL]
204 length = 1
205 from = SLV_97
206 to = SLV_110
208 [SDT_VAR]
209 base = GameSettings
210 var = difficulty.vehicle_breakdowns
211 type = SLE_UINT8
212 from = SLV_97
213 guiflags = SGF_MULTISTRING
214 def = 1
215 min = 0
216 max = 2
217 interval = 1
218 str = STR_CONFIG_SETTING_VEHICLE_BREAKDOWNS
219 strhelp = STR_CONFIG_SETTING_VEHICLE_BREAKDOWNS_HELPTEXT
220 strval = STR_DISASTER_NONE
221 cat = SC_BASIC
223 [SDT_VAR]
224 base = GameSettings
225 var = difficulty.subsidy_multiplier
226 type = SLE_UINT8
227 from = SLV_97
228 guiflags = SGF_MULTISTRING
229 def = 2
230 min = 0
231 max = 3
232 interval = 1
233 str = STR_CONFIG_SETTING_SUBSIDY_MULTIPLIER
234 strhelp = STR_CONFIG_SETTING_SUBSIDY_MULTIPLIER_HELPTEXT
235 strval = STR_SUBSIDY_X1_5
237 [SDT_VAR]
238 base = GameSettings
239 var = difficulty.construction_cost
240 type = SLE_UINT8
241 from = SLV_97
242 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO | SGF_MULTISTRING
243 def = 0
244 min = 0
245 max = 2
246 interval = 1
247 str = STR_CONFIG_SETTING_CONSTRUCTION_COSTS
248 strhelp = STR_CONFIG_SETTING_CONSTRUCTION_COSTS_HELPTEXT
249 strval = STR_SEA_LEVEL_LOW
250 cat = SC_BASIC
252 [SDT_VAR]
253 base = GameSettings
254 var = difficulty.terrain_type
255 type = SLE_UINT8
256 from = SLV_97
257 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
258 def = 1
259 min = 0
260 max = 4
261 interval = 1
262 str = STR_CONFIG_SETTING_TERRAIN_TYPE
263 strhelp = STR_CONFIG_SETTING_TERRAIN_TYPE_HELPTEXT
264 strval = STR_TERRAIN_TYPE_VERY_FLAT
265 cat = SC_BASIC
267 [SDT_VAR]
268 base = GameSettings
269 var = difficulty.quantity_sea_lakes
270 type = SLE_UINT8
271 from = SLV_97
272 guiflags = SGF_NEWGAME_ONLY
273 def = 0
274 min = 0
275 max = 4
276 interval = 1
277 strval = STR_SEA_LEVEL_VERY_LOW
278 cat = SC_BASIC
280 [SDT_BOOL]
281 base = GameSettings
282 var = difficulty.economy
283 from = SLV_97
284 def = false
285 str = STR_CONFIG_SETTING_RECESSIONS
286 strhelp = STR_CONFIG_SETTING_RECESSIONS_HELPTEXT
288 [SDT_BOOL]
289 base = GameSettings
290 var = difficulty.line_reverse_mode
291 from = SLV_97
292 def = false
293 str = STR_CONFIG_SETTING_TRAIN_REVERSING
294 strhelp = STR_CONFIG_SETTING_TRAIN_REVERSING_HELPTEXT
296 [SDT_BOOL]
297 base = GameSettings
298 var = difficulty.disasters
299 from = SLV_97
300 def = false
301 str = STR_CONFIG_SETTING_DISASTERS
302 strhelp = STR_CONFIG_SETTING_DISASTERS_HELPTEXT
303 cat = SC_BASIC
305 [SDT_VAR]
306 base = GameSettings
307 var = difficulty.town_council_tolerance
308 type = SLE_UINT8
309 from = SLV_97
310 guiflags = SGF_MULTISTRING
311 def = 0
312 min = 0
313 max = 2
314 interval = 1
315 str = STR_CONFIG_SETTING_CITY_APPROVAL
316 strhelp = STR_CONFIG_SETTING_CITY_APPROVAL_HELPTEXT
317 strval = STR_CITY_APPROVAL_PERMISSIVE
318 proc = DifficultyNoiseChange
320 [SDTG_VAR]
321 name = ""diff_level""
322 var = _old_diff_level
323 type = SLE_UINT8
324 flags = SLF_NOT_IN_CONFIG
325 from = SLV_97
326 to = SLV_178
327 def = 3
328 min = 0
329 max = 3
330 cat = SC_BASIC
332 ; There are only 21 predefined town_name values (0-20), but you can have more with newgrf action F so allow
333 ; these bigger values (21-255). Invalid values will fallback to english on use and (undefined string) in GUI.
334 [SDT_OMANY]
335 base = GameSettings
336 var = game_creation.town_name
337 type = SLE_UINT8
338 from = SLV_97
339 guiflags = SGF_NO_NETWORK
340 def = 0
341 max = 255
342 full = _town_names
343 cat = SC_BASIC
345 [SDT_OMANY]
346 base = GameSettings
347 var = game_creation.landscape
348 type = SLE_UINT8
349 from = SLV_97
350 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
351 def = 0
352 max = 3
353 full = _climates
354 load = ConvertLandscape
355 str = STR_CONFIG_SETTING_LANDSCAPE
356 strhelp = STR_CONFIG_SETTING_LANDSCAPE_HELPTEXT
357 strval = STR_CHEAT_SWITCH_CLIMATE_TEMPERATE_LANDSCAPE
358 cat = SC_BASIC
360 ; Snow line (or snow_line_height * TILE_HEIGHT)
361 [SDT_NULL]
362 length = 1
363 from = SLV_97
364 to = SLV_164
366 [SDT_OMANY]
367 base = GameSettings
368 var = vehicle.road_side
369 type = SLE_UINT8
370 from = SLV_97
371 guiflags = SGF_MULTISTRING | SGF_NO_NETWORK
372 def = 1
373 max = 1
374 full = _roadsides
375 str = STR_CONFIG_SETTING_ROAD_SIDE
376 strhelp = STR_CONFIG_SETTING_ROAD_SIDE_HELPTEXT
377 strval = STR_GAME_OPTIONS_ROAD_VEHICLES_DROPDOWN_LEFT
378 proc = CheckRoadSide
380 ; Construction
382 [SDT_VAR]
383 base = GameSettings
384 var = construction.max_heightlevel
385 type = SLE_UINT8
386 from = SLV_194
387 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
388 def = DEF_MAX_HEIGHTLEVEL
389 min = MIN_MAX_HEIGHTLEVEL
390 max = MAX_MAX_HEIGHTLEVEL
391 interval = 1
392 str = STR_CONFIG_SETTING_MAX_HEIGHTLEVEL
393 strhelp = STR_CONFIG_SETTING_MAX_HEIGHTLEVEL_HELPTEXT
394 strval = STR_JUST_INT
395 proc = ChangeMaxHeightLevel
396 cat = SC_BASIC
398 [SDT_BOOL]
399 base = GameSettings
400 var = construction.build_on_slopes
401 guiflags = SGF_NO_NETWORK
402 def = true
403 cat = SC_EXPERT
405 [SDT_VAR]
406 base = GameSettings
407 var = construction.command_pause_level
408 type = SLE_UINT8
409 from = SLV_154
410 guiflags = SGF_MULTISTRING | SGF_NO_NETWORK
411 def = 1
412 min = 0
413 max = 3
414 interval = 1
415 str = STR_CONFIG_SETTING_COMMAND_PAUSE_LEVEL
416 strhelp = STR_CONFIG_SETTING_COMMAND_PAUSE_LEVEL_HELPTEXT
417 strval = STR_CONFIG_SETTING_COMMAND_PAUSE_LEVEL_NO_ACTIONS
419 [SDT_VAR]
420 base = GameSettings
421 var = construction.terraform_per_64k_frames
422 type = SLE_UINT32
423 from = SLV_156
424 def = 64 << 16
425 min = 0
426 max = 1 << 30
427 interval = 1
428 cat = SC_EXPERT
430 [SDT_VAR]
431 base = GameSettings
432 var = construction.terraform_frame_burst
433 type = SLE_UINT16
434 from = SLV_156
435 def = 4096
436 min = 0
437 max = 1 << 30
438 interval = 1
439 cat = SC_EXPERT
441 [SDT_VAR]
442 base = GameSettings
443 var = construction.clear_per_64k_frames
444 type = SLE_UINT32
445 from = SLV_156
446 def = 64 << 16
447 min = 0
448 max = 1 << 30
449 interval = 1
450 cat = SC_EXPERT
452 [SDT_VAR]
453 base = GameSettings
454 var = construction.clear_frame_burst
455 type = SLE_UINT16
456 from = SLV_156
457 def = 4096
458 min = 0
459 max = 1 << 30
460 interval = 1
461 cat = SC_EXPERT
463 [SDT_VAR]
464 base = GameSettings
465 var = construction.tree_per_64k_frames
466 type = SLE_UINT32
467 from = SLV_175
468 def = 64 << 16
469 min = 0
470 max = 1 << 30
471 interval = 1
472 cat = SC_EXPERT
474 [SDT_VAR]
475 base = GameSettings
476 var = construction.tree_frame_burst
477 type = SLE_UINT16
478 from = SLV_175
479 def = 4096
480 min = 0
481 max = 1 << 30
482 interval = 1
483 cat = SC_EXPERT
485 [SDT_BOOL]
486 base = GameSettings
487 var = construction.autoslope
488 from = SLV_75
489 def = true
490 str = STR_CONFIG_SETTING_AUTOSLOPE
491 strhelp = STR_CONFIG_SETTING_AUTOSLOPE_HELPTEXT
492 cat = SC_EXPERT
494 [SDT_BOOL]
495 base = GameSettings
496 var = construction.extra_dynamite
497 def = true
498 str = STR_CONFIG_SETTING_EXTRADYNAMITE
499 strhelp = STR_CONFIG_SETTING_EXTRADYNAMITE_HELPTEXT
501 [SDT_VAR]
502 base = GameSettings
503 var = construction.max_bridge_length
504 type = SLE_UINT16
505 from = SLV_159
506 guiflags = SGF_NO_NETWORK
507 def = 64
508 min = 1
509 max = MAX_MAP_SIZE
510 interval = 1
511 str = STR_CONFIG_SETTING_MAX_BRIDGE_LENGTH
512 strhelp = STR_CONFIG_SETTING_MAX_BRIDGE_LENGTH_HELPTEXT
513 strval = STR_CONFIG_SETTING_TILE_LENGTH
515 [SDT_VAR]
516 base = GameSettings
517 var = construction.max_bridge_height
518 type = SLE_UINT8
519 from = SLV_194
520 guiflags = SGF_NO_NETWORK
521 def = 12
522 min = 1
523 max = MAX_TILE_HEIGHT
524 interval = 1
525 str = STR_CONFIG_SETTING_MAX_BRIDGE_HEIGHT
526 strhelp = STR_CONFIG_SETTING_MAX_BRIDGE_HEIGHT_HELPTEXT
527 strval = STR_JUST_COMMA
528 cat = SC_EXPERT
530 [SDT_VAR]
531 base = GameSettings
532 var = construction.max_tunnel_length
533 type = SLE_UINT16
534 from = SLV_159
535 guiflags = SGF_NO_NETWORK
536 def = 64
537 min = 1
538 max = MAX_MAP_SIZE
539 interval = 1
540 str = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH
541 strhelp = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH_HELPTEXT
542 strval = STR_CONFIG_SETTING_TILE_LENGTH
544 # construction.longbridges
545 [SDT_NULL]
546 length = 1
547 to = SLV_159
549 [SDT_VAR]
550 base = GameSettings
551 var = construction.train_signal_side
552 type = SLE_UINT8
553 guiflags = SGF_MULTISTRING | SGF_NO_NETWORK
554 def = 1
555 min = 0
556 max = 2
557 str = STR_CONFIG_SETTING_SIGNALSIDE
558 strhelp = STR_CONFIG_SETTING_SIGNALSIDE_HELPTEXT
559 strval = STR_CONFIG_SETTING_SIGNALSIDE_LEFT
560 proc = RedrawScreen
561 cat = SC_BASIC
563 [SDT_BOOL]
564 base = GameSettings
565 var = station.never_expire_airports
566 guiflags = SGF_NO_NETWORK
567 def = false
568 str = STR_CONFIG_SETTING_NEVER_EXPIRE_AIRPORTS
569 strhelp = STR_CONFIG_SETTING_NEVER_EXPIRE_AIRPORTS_HELPTEXT
571 [SDT_VAR]
572 base = GameSettings
573 var = economy.town_layout
574 type = SLE_UINT8
575 from = SLV_59
576 guiflags = SGF_MULTISTRING
577 def = TL_ORIGINAL
578 min = TL_BEGIN
579 max = NUM_TLS - 1
580 interval = 1
581 str = STR_CONFIG_SETTING_TOWN_LAYOUT
582 strhelp = STR_CONFIG_SETTING_TOWN_LAYOUT_HELPTEXT
583 strval = STR_CONFIG_SETTING_TOWN_LAYOUT_DEFAULT
584 proc = TownFoundingChanged
586 [SDT_BOOL]
587 base = GameSettings
588 var = economy.allow_town_roads
589 from = SLV_113
590 guiflags = SGF_NO_NETWORK
591 def = true
592 str = STR_CONFIG_SETTING_ALLOW_TOWN_ROADS
593 strhelp = STR_CONFIG_SETTING_ALLOW_TOWN_ROADS_HELPTEXT
595 [SDT_VAR]
596 base = GameSettings
597 var = economy.found_town
598 type = SLE_UINT8
599 from = SLV_128
600 guiflags = SGF_MULTISTRING
601 def = TF_FORBIDDEN
602 min = TF_BEGIN
603 max = TF_END - 1
604 interval = 1
605 str = STR_CONFIG_SETTING_TOWN_FOUNDING
606 strhelp = STR_CONFIG_SETTING_TOWN_FOUNDING_HELPTEXT
607 strval = STR_CONFIG_SETTING_TOWN_FOUNDING_FORBIDDEN
608 proc = TownFoundingChanged
609 cat = SC_BASIC
611 [SDT_BOOL]
612 base = GameSettings
613 var = economy.allow_town_level_crossings
614 from = SLV_143
615 guiflags = SGF_NO_NETWORK
616 def = true
617 str = STR_CONFIG_SETTING_ALLOW_TOWN_LEVEL_CROSSINGS
618 strhelp = STR_CONFIG_SETTING_ALLOW_TOWN_LEVEL_CROSSINGS_HELPTEXT
620 [SDT_VAR]
621 base = GameSettings
622 var = economy.town_cargogen_mode
623 type = SLE_UINT8
624 from = SLV_TOWN_CARGOGEN
625 guiflags = SGF_MULTISTRING
626 def = TCGM_BITCOUNT
627 min = TCGM_BEGIN
628 max = TCGM_END - 1
629 interval = 1
630 str = STR_CONFIG_SETTING_TOWN_CARGOGENMODE
631 strhelp = STR_CONFIG_SETTING_TOWN_CARGOGENMODE_HELPTEXT
632 strval = STR_CONFIG_SETTING_TOWN_CARGOGENMODE_ORIGINAL
633 cat = SC_ADVANCED
635 ; link graph
637 [SDT_VAR]
638 base = GameSettings
639 var = linkgraph.recalc_interval
640 type = SLE_UINT16
641 from = SLV_183
642 def = 4
643 min = 2
644 max = 32
645 interval = 2
646 str = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL
647 strval = STR_JUST_COMMA
648 strhelp = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL_HELPTEXT
650 [SDT_VAR]
651 base = GameSettings
652 var = linkgraph.recalc_time
653 type = SLE_UINT16
654 from = SLV_183
655 def = 16
656 min = 1
657 max = 4096
658 interval = 1
659 str = STR_CONFIG_SETTING_LINKGRAPH_TIME
660 strval = STR_JUST_COMMA
661 strhelp = STR_CONFIG_SETTING_LINKGRAPH_TIME_HELPTEXT
663 [SDT_VAR]
664 base = GameSettings
665 var = linkgraph.distribution_pax
666 type = SLE_UINT8
667 from = SLV_183
668 guiflags = SGF_MULTISTRING
669 def = DT_MANUAL
670 min = DT_MIN
671 max = DT_MAX
672 interval = 1
673 str = STR_CONFIG_SETTING_DISTRIBUTION_PAX
674 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
675 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_PAX_HELPTEXT
677 [SDT_VAR]
678 base = GameSettings
679 var = linkgraph.distribution_mail
680 type = SLE_UINT8
681 from = SLV_183
682 guiflags = SGF_MULTISTRING
683 def = DT_MANUAL
684 min = DT_MIN
685 max = DT_MAX
686 interval = 1
687 str = STR_CONFIG_SETTING_DISTRIBUTION_MAIL
688 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
689 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_MAIL_HELPTEXT
691 [SDT_VAR]
692 base = GameSettings
693 var = linkgraph.distribution_armoured
694 type = SLE_UINT8
695 from = SLV_183
696 guiflags = SGF_MULTISTRING
697 def = DT_MANUAL
698 min = DT_MIN
699 max = DT_MAX
700 interval = 1
701 str = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED
702 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
703 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED_HELPTEXT
705 [SDT_VAR]
706 base = GameSettings
707 var = linkgraph.distribution_default
708 type = SLE_UINT8
709 from = SLV_183
710 guiflags = SGF_MULTISTRING
711 def = DT_MANUAL
712 min = DT_BEGIN
713 max = DT_MAX_NONSYMMETRIC
714 interval = 1
715 str = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT
716 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
717 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT_HELPTEXT
719 [SDT_VAR]
720 base = GameSettings
721 var = linkgraph.accuracy
722 type = SLE_UINT8
723 from = SLV_183
724 def = 16
725 min = 2
726 max = 64
727 interval = 1
728 str = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY
729 strval = STR_JUST_COMMA
730 strhelp = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY_HELPTEXT
732 [SDT_VAR]
733 base = GameSettings
734 var = linkgraph.demand_distance
735 type = SLE_UINT8
736 from = SLV_183
737 def = 100
738 min = 0
739 max = 255
740 interval = 5
741 str = STR_CONFIG_SETTING_DEMAND_DISTANCE
742 strval = STR_CONFIG_SETTING_PERCENTAGE
743 strhelp = STR_CONFIG_SETTING_DEMAND_DISTANCE_HELPTEXT
745 [SDT_VAR]
746 base = GameSettings
747 var = linkgraph.demand_size
748 type = SLE_UINT8
749 from = SLV_183
750 def = 100
751 min = 0
752 max = 100
753 interval = 5
754 str = STR_CONFIG_SETTING_DEMAND_SIZE
755 strval = STR_CONFIG_SETTING_PERCENTAGE
756 strhelp = STR_CONFIG_SETTING_DEMAND_SIZE_HELPTEXT
758 [SDT_VAR]
759 base = GameSettings
760 var = linkgraph.short_path_saturation
761 type = SLE_UINT8
762 from = SLV_183
763 def = 80
764 min = 0
765 max = 250
766 interval = 5
767 str = STR_CONFIG_SETTING_SHORT_PATH_SATURATION
768 strval = STR_CONFIG_SETTING_PERCENTAGE
769 strhelp = STR_CONFIG_SETTING_SHORT_PATH_SATURATION_HELPTEXT
771 ; Vehicles
773 [SDT_VAR]
774 base = GameSettings
775 var = vehicle.train_acceleration_model
776 type = SLE_UINT8
777 guiflags = SGF_MULTISTRING
778 def = 1
779 min = 0
780 max = 1
781 interval = 1
782 str = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL
783 strhelp = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL_HELPTEXT
784 strval = STR_CONFIG_SETTING_ORIGINAL
785 proc = TrainAccelerationModelChanged
787 [SDT_VAR]
788 base = GameSettings
789 var = vehicle.roadveh_acceleration_model
790 type = SLE_UINT8
791 from = SLV_139
792 guiflags = SGF_MULTISTRING
793 def = 1
794 min = 0
795 max = 1
796 interval = 1
797 str = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL
798 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL_HELPTEXT
799 strval = STR_CONFIG_SETTING_ORIGINAL
800 proc = RoadVehAccelerationModelChanged
802 [SDT_VAR]
803 base = GameSettings
804 var = vehicle.train_slope_steepness
805 type = SLE_UINT8
806 from = SLV_133
807 def = 3
808 min = 0
809 max = 10
810 interval = 1
811 str = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS
812 strhelp = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS_HELPTEXT
813 strval = STR_CONFIG_SETTING_PERCENTAGE
814 proc = TrainSlopeSteepnessChanged
815 cat = SC_EXPERT
817 [SDT_VAR]
818 base = GameSettings
819 var = vehicle.roadveh_slope_steepness
820 type = SLE_UINT8
821 from = SLV_139
822 def = 7
823 min = 0
824 max = 10
825 interval = 1
826 str = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS
827 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS_HELPTEXT
828 strval = STR_CONFIG_SETTING_PERCENTAGE
829 proc = RoadVehSlopeSteepnessChanged
830 cat = SC_EXPERT
832 [SDT_BOOL]
833 base = GameSettings
834 var = pf.forbid_90_deg
835 def = false
836 str = STR_CONFIG_SETTING_FORBID_90_DEG
837 strhelp = STR_CONFIG_SETTING_FORBID_90_DEG_HELPTEXT
838 proc = InvalidateShipPathCache
839 cat = SC_EXPERT
841 [SDT_VAR]
842 base = GameSettings
843 var = vehicle.max_train_length
844 type = SLE_UINT8
845 from = SLV_159
846 def = 7
847 min = 1
848 max = 64
849 interval = 1
850 str = STR_CONFIG_SETTING_TRAIN_LENGTH
851 strhelp = STR_CONFIG_SETTING_TRAIN_LENGTH_HELPTEXT
852 strval = STR_CONFIG_SETTING_TILE_LENGTH
853 cat = SC_BASIC
855 ; vehicle.mammoth_trains
856 [SDT_NULL]
857 length = 1
858 to = SLV_159
860 [SDT_VAR]
861 base = GameSettings
862 var = vehicle.smoke_amount
863 type = SLE_UINT8
864 from = SLV_145
865 guiflags = SGF_MULTISTRING
866 def = 1
867 min = 0
868 max = 2
869 str = STR_CONFIG_SETTING_SMOKE_AMOUNT
870 strhelp = STR_CONFIG_SETTING_SMOKE_AMOUNT_HELPTEXT
871 strval = STR_CONFIG_SETTING_NONE
873 ; order.gotodepot
874 [SDT_NULL]
875 length = 1
876 to = SLV_159
878 ; path finder
880 [SDT_BOOL]
881 base = GameSettings
882 var = pf.roadveh_queue
883 def = true
884 cat = SC_EXPERT
886 [SDT_BOOL]
887 base = GameSettings
888 var = pf.new_pathfinding_all
889 to = SLV_87
890 def = false
891 cat = SC_EXPERT
893 [SDT_BOOL]
894 base = GameSettings
895 var = pf.yapf.ship_use_yapf
896 from = SLV_28
897 to = SLV_87
898 def = false
899 cat = SC_EXPERT
901 [SDT_BOOL]
902 base = GameSettings
903 var = pf.yapf.road_use_yapf
904 from = SLV_28
905 to = SLV_87
906 def = true
907 cat = SC_EXPERT
909 [SDT_BOOL]
910 base = GameSettings
911 var = pf.yapf.rail_use_yapf
912 from = SLV_28
913 to = SLV_87
914 def = true
915 cat = SC_EXPERT
918 [SDT_VAR]
919 base = GameSettings
920 var = pf.pathfinder_for_trains
921 type = SLE_UINT8
922 from = SLV_87
923 guiflags = SGF_MULTISTRING
924 def = 2
925 min = 1
926 max = 2
927 interval = 1
928 str = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS
929 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS_HELPTEXT
930 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
931 cat = SC_EXPERT
933 [SDT_VAR]
934 base = GameSettings
935 var = pf.pathfinder_for_roadvehs
936 type = SLE_UINT8
937 from = SLV_87
938 guiflags = SGF_MULTISTRING
939 def = 2
940 min = 1
941 max = 2
942 interval = 1
943 str = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES
944 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES_HELPTEXT
945 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
946 cat = SC_EXPERT
948 [SDT_VAR]
949 base = GameSettings
950 var = pf.pathfinder_for_ships
951 type = SLE_UINT8
952 from = SLV_87
953 guiflags = SGF_MULTISTRING
954 def = 2
955 min = 1
956 max = 2
957 interval = 1
958 str = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS
959 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS_HELPTEXT
960 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
961 proc = InvalidateShipPathCache
962 cat = SC_EXPERT
964 [SDT_BOOL]
965 base = GameSettings
966 var = vehicle.never_expire_vehicles
967 guiflags = SGF_NO_NETWORK
968 def = false
969 str = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES
970 strhelp = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES_HELPTEXT
972 [SDT_VAR]
973 base = GameSettings
974 var = vehicle.max_trains
975 type = SLE_UINT16
976 def = 500
977 min = 0
978 max = 5000
979 str = STR_CONFIG_SETTING_MAX_TRAINS
980 strhelp = STR_CONFIG_SETTING_MAX_TRAINS_HELPTEXT
981 strval = STR_JUST_COMMA
982 proc = MaxVehiclesChanged
983 cat = SC_BASIC
985 [SDT_VAR]
986 base = GameSettings
987 var = vehicle.max_roadveh
988 type = SLE_UINT16
989 def = 500
990 min = 0
991 max = 5000
992 str = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES
993 strhelp = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES_HELPTEXT
994 strval = STR_JUST_COMMA
995 proc = MaxVehiclesChanged
996 cat = SC_BASIC
998 [SDT_VAR]
999 base = GameSettings
1000 var = vehicle.max_aircraft
1001 type = SLE_UINT16
1002 def = 200
1003 min = 0
1004 max = 5000
1005 str = STR_CONFIG_SETTING_MAX_AIRCRAFT
1006 strhelp = STR_CONFIG_SETTING_MAX_AIRCRAFT_HELPTEXT
1007 strval = STR_JUST_COMMA
1008 proc = MaxVehiclesChanged
1009 cat = SC_BASIC
1011 [SDT_VAR]
1012 base = GameSettings
1013 var = vehicle.max_ships
1014 type = SLE_UINT16
1015 def = 300
1016 min = 0
1017 max = 5000
1018 str = STR_CONFIG_SETTING_MAX_SHIPS
1019 strhelp = STR_CONFIG_SETTING_MAX_SHIPS_HELPTEXT
1020 strval = STR_JUST_COMMA
1021 proc = MaxVehiclesChanged
1022 cat = SC_BASIC
1024 [SDTG_BOOL]
1025 name = nullptr
1026 guiflags = SGF_NO_NETWORK
1027 var = _old_vds.servint_ispercent
1028 def = false
1029 to = SLV_120
1031 [SDTG_VAR]
1032 name = nullptr
1033 type = SLE_UINT16
1034 guiflags = SGF_0ISDISABLED
1035 var = _old_vds.servint_trains
1036 def = 150
1037 min = 5
1038 max = 800
1039 to = SLV_120
1041 [SDTG_VAR]
1042 name = nullptr
1043 type = SLE_UINT16
1044 guiflags = SGF_0ISDISABLED
1045 var = _old_vds.servint_roadveh
1046 def = 150
1047 min = 5
1048 max = 800
1049 to = SLV_120
1051 [SDTG_VAR]
1052 name = nullptr
1053 type = SLE_UINT16
1054 guiflags = SGF_0ISDISABLED
1055 var = _old_vds.servint_ships
1056 def = 360
1057 min = 5
1058 max = 800
1059 to = SLV_120
1061 [SDTG_VAR]
1062 name = nullptr
1063 type = SLE_UINT16
1064 guiflags = SGF_0ISDISABLED
1065 var = _old_vds.servint_aircraft
1066 def = 150
1067 min = 5
1068 max = 800
1069 to = SLV_120
1071 [SDT_BOOL]
1072 base = GameSettings
1073 var = order.no_servicing_if_no_breakdowns
1074 def = true
1075 str = STR_CONFIG_SETTING_NOSERVICE
1076 strhelp = STR_CONFIG_SETTING_NOSERVICE_HELPTEXT
1078 [SDT_BOOL]
1079 base = GameSettings
1080 var = vehicle.wagon_speed_limits
1081 guiflags = SGF_NO_NETWORK
1082 def = true
1083 str = STR_CONFIG_SETTING_WAGONSPEEDLIMITS
1084 strhelp = STR_CONFIG_SETTING_WAGONSPEEDLIMITS_HELPTEXT
1085 proc = UpdateConsists
1087 [SDT_BOOL]
1088 base = GameSettings
1089 var = vehicle.disable_elrails
1090 from = SLV_38
1091 guiflags = SGF_NO_NETWORK
1092 def = false
1093 str = STR_CONFIG_SETTING_DISABLE_ELRAILS
1094 strhelp = STR_CONFIG_SETTING_DISABLE_ELRAILS_HELPTEXT
1095 proc = SettingsDisableElrail
1096 cat = SC_EXPERT
1098 [SDT_VAR]
1099 base = GameSettings
1100 var = vehicle.freight_trains
1101 type = SLE_UINT8
1102 from = SLV_39
1103 guiflags = SGF_NO_NETWORK
1104 def = 1
1105 min = 1
1106 max = 255
1107 interval = 1
1108 str = STR_CONFIG_SETTING_FREIGHT_TRAINS
1109 strhelp = STR_CONFIG_SETTING_FREIGHT_TRAINS_HELPTEXT
1110 strval = STR_JUST_COMMA
1111 proc = UpdateConsists
1113 ; order.timetabling
1114 [SDT_NULL]
1115 length = 1
1116 from = SLV_67
1117 to = SLV_159
1119 [SDT_VAR]
1120 base = GameSettings
1121 var = vehicle.plane_speed
1122 type = SLE_UINT8
1123 from = SLV_90
1124 guiflags = SGF_NO_NETWORK
1125 def = 4
1126 min = 1
1127 max = 4
1128 str = STR_CONFIG_SETTING_PLANE_SPEED
1129 strhelp = STR_CONFIG_SETTING_PLANE_SPEED_HELPTEXT
1130 strval = STR_CONFIG_SETTING_PLANE_SPEED_VALUE
1132 [SDT_BOOL]
1133 base = GameSettings
1134 var = vehicle.dynamic_engines
1135 from = SLV_95
1136 guiflags = SGF_NO_NETWORK
1137 def = true
1138 proc = ChangeDynamicEngines
1139 cat = SC_EXPERT
1141 [SDT_VAR]
1142 base = GameSettings
1143 var = vehicle.plane_crashes
1144 type = SLE_UINT8
1145 from = SLV_138
1146 guiflags = SGF_MULTISTRING
1147 def = 2
1148 min = 0
1149 max = 2
1150 interval = 1
1151 str = STR_CONFIG_SETTING_PLANE_CRASHES
1152 strhelp = STR_CONFIG_SETTING_PLANE_CRASHES_HELPTEXT
1153 strval = STR_CONFIG_SETTING_PLANE_CRASHES_NONE
1154 cat = SC_BASIC
1156 ; station.join_stations
1157 [SDT_NULL]
1158 length = 1
1159 to = SLV_159
1161 [SDTC_BOOL]
1162 var = gui.sg_full_load_any
1163 from = SLV_22
1164 to = SLV_93
1165 def = true
1167 [SDT_BOOL]
1168 base = GameSettings
1169 var = order.improved_load
1170 guiflags = SGF_NO_NETWORK
1171 def = true
1172 cat = SC_EXPERT
1174 [SDT_BOOL]
1175 base = GameSettings
1176 var = order.selectgoods
1177 def = true
1178 cat = SC_EXPERT
1180 [SDTC_BOOL]
1181 var = gui.sg_new_nonstop
1182 from = SLV_22
1183 to = SLV_93
1184 def = false
1186 ; station.nonuniform_stations
1187 [SDT_NULL]
1188 length = 1
1189 to = SLV_159
1191 [SDT_VAR]
1192 base = GameSettings
1193 var = station.station_spread
1194 type = SLE_UINT8
1195 def = 12
1196 min = 4
1197 max = 64
1198 str = STR_CONFIG_SETTING_STATION_SPREAD
1199 strhelp = STR_CONFIG_SETTING_STATION_SPREAD_HELPTEXT
1200 strval = STR_CONFIG_SETTING_TILE_LENGTH
1201 proc = StationSpreadChanged
1202 cat = SC_BASIC
1204 [SDT_BOOL]
1205 base = GameSettings
1206 var = order.serviceathelipad
1207 def = true
1208 str = STR_CONFIG_SETTING_SERVICEATHELIPAD
1209 strhelp = STR_CONFIG_SETTING_SERVICEATHELIPAD_HELPTEXT
1210 cat = SC_EXPERT
1212 [SDT_BOOL]
1213 base = GameSettings
1214 var = station.modified_catchment
1215 def = true
1216 str = STR_CONFIG_SETTING_CATCHMENT
1217 strhelp = STR_CONFIG_SETTING_CATCHMENT_HELPTEXT
1218 proc = StationCatchmentChanged
1219 cat = SC_EXPERT
1221 [SDT_BOOL]
1222 base = GameSettings
1223 var = station.serve_neutral_industries
1224 def = true
1225 from = SLV_SERVE_NEUTRAL_INDUSTRIES
1226 str = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES
1227 strhelp = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES_HELPTEXT
1228 proc = StationCatchmentChanged
1230 [SDT_BOOL]
1231 base = GameSettings
1232 var = order.gradual_loading
1233 from = SLV_40
1234 guiflags = SGF_NO_NETWORK
1235 def = true
1236 cat = SC_EXPERT
1238 [SDT_BOOL]
1239 base = GameSettings
1240 var = construction.road_stop_on_town_road
1241 from = SLV_47
1242 def = true
1243 str = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD
1244 strhelp = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD_HELPTEXT
1245 cat = SC_BASIC
1247 [SDT_BOOL]
1248 base = GameSettings
1249 var = construction.road_stop_on_competitor_road
1250 from = SLV_114
1251 def = true
1252 str = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD
1253 strhelp = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD_HELPTEXT
1254 cat = SC_BASIC
1256 [SDT_BOOL]
1257 base = GameSettings
1258 var = station.adjacent_stations
1259 from = SLV_62
1260 def = true
1261 cat = SC_EXPERT
1263 [SDT_BOOL]
1264 base = GameSettings
1265 var = economy.station_noise_level
1266 from = SLV_96
1267 guiflags = SGF_NO_NETWORK
1268 def = false
1269 str = STR_CONFIG_SETTING_NOISE_LEVEL
1270 strhelp = STR_CONFIG_SETTING_NOISE_LEVEL_HELPTEXT
1271 proc = InvalidateTownViewWindow
1273 [SDT_BOOL]
1274 base = GameSettings
1275 var = station.distant_join_stations
1276 from = SLV_106
1277 def = true
1278 str = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS
1279 strhelp = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS_HELPTEXT
1280 proc = DeleteSelectStationWindow
1283 [SDT_BOOL]
1284 base = GameSettings
1285 var = economy.inflation
1286 def = true
1287 str = STR_CONFIG_SETTING_INFLATION
1288 strhelp = STR_CONFIG_SETTING_INFLATION_HELPTEXT
1289 cat = SC_BASIC
1291 [SDT_VAR]
1292 base = GameSettings
1293 var = construction.raw_industry_construction
1294 type = SLE_UINT8
1295 guiflags = SGF_MULTISTRING
1296 def = 0
1297 min = 0
1298 max = 2
1299 str = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD
1300 strhelp = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_HELPTEXT
1301 strval = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_NONE
1302 proc = InvalidateBuildIndustryWindow
1303 cat = SC_BASIC
1305 [SDT_VAR]
1306 base = GameSettings
1307 var = construction.industry_platform
1308 type = SLE_UINT8
1309 from = SLV_148
1310 def = 1
1311 min = 0
1312 max = 4
1313 str = STR_CONFIG_SETTING_INDUSTRY_PLATFORM
1314 strhelp = STR_CONFIG_SETTING_INDUSTRY_PLATFORM_HELPTEXT
1315 strval = STR_CONFIG_SETTING_TILE_LENGTH
1316 cat = SC_EXPERT
1318 [SDT_BOOL]
1319 base = GameSettings
1320 var = economy.multiple_industry_per_town
1321 def = false
1322 str = STR_CONFIG_SETTING_MULTIPINDTOWN
1323 strhelp = STR_CONFIG_SETTING_MULTIPINDTOWN_HELPTEXT
1325 [SDT_NULL]
1326 length = 1
1327 to = SLV_141
1329 [SDT_BOOL]
1330 base = GameSettings
1331 var = economy.bribe
1332 def = true
1333 str = STR_CONFIG_SETTING_BRIBE
1334 strhelp = STR_CONFIG_SETTING_BRIBE_HELPTEXT
1335 proc = RedrawTownAuthority
1336 cat = SC_BASIC
1338 [SDT_BOOL]
1339 base = GameSettings
1340 var = economy.exclusive_rights
1341 from = SLV_79
1342 def = true
1343 str = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE
1344 strhelp = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE_HELPTEXT
1345 proc = RedrawTownAuthority
1346 cat = SC_BASIC
1348 [SDT_BOOL]
1349 base = GameSettings
1350 var = economy.fund_buildings
1351 from = SLV_165
1352 def = true
1353 str = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS
1354 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS_HELPTEXT
1355 proc = RedrawTownAuthority
1356 cat = SC_BASIC
1358 [SDT_BOOL]
1359 base = GameSettings
1360 var = economy.fund_roads
1361 from = SLV_160
1362 def = true
1363 str = STR_CONFIG_SETTING_ALLOW_FUND_ROAD
1364 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_ROAD_HELPTEXT
1365 proc = RedrawTownAuthority
1366 cat = SC_BASIC
1368 [SDT_BOOL]
1369 base = GameSettings
1370 var = economy.give_money
1371 from = SLV_79
1372 def = true
1373 str = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY
1374 strhelp = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY_HELPTEXT
1375 cat = SC_BASIC
1377 [SDT_VAR]
1378 base = GameSettings
1379 var = game_creation.snow_line_height
1380 type = SLE_UINT8
1381 guiflags = SGF_NO_NETWORK
1382 def = DEF_SNOWLINE_HEIGHT
1383 min = MIN_SNOWLINE_HEIGHT
1384 max = MAX_SNOWLINE_HEIGHT
1385 interval = 1
1386 str = STR_CONFIG_SETTING_SNOWLINE_HEIGHT
1387 strhelp = STR_CONFIG_SETTING_SNOWLINE_HEIGHT_HELPTEXT
1388 strval = STR_JUST_COMMA
1389 cat = SC_BASIC
1391 [SDT_NULL]
1392 length = 4
1393 to = SLV_144
1395 [SDT_VAR]
1396 base = GameSettings
1397 var = game_creation.starting_year
1398 type = SLE_INT32
1399 def = DEF_START_YEAR
1400 min = MIN_YEAR
1401 max = MAX_YEAR
1402 interval = 1
1403 str = STR_CONFIG_SETTING_STARTING_YEAR
1404 strval = STR_JUST_INT
1405 cat = SC_BASIC
1407 [SDTG_VAR]
1408 name = ""old_ending_year_slv_105""
1409 var = _old_ending_year_slv_105
1410 flags = SLF_NOT_IN_CONFIG
1411 type = SLE_INT32
1412 to = SLV_105
1413 def = DEF_END_YEAR
1414 min = MIN_YEAR
1415 max = MAX_YEAR
1417 [SDT_VAR]
1418 base = GameSettings
1419 var = game_creation.ending_year
1420 type = SLE_INT32
1421 from = SLV_ENDING_YEAR
1422 guiflags = SGF_0ISDISABLED
1423 def = DEF_END_YEAR
1424 min = MIN_YEAR
1425 max = MAX_YEAR
1426 interval = 1
1427 str = STR_CONFIG_SETTING_ENDING_YEAR
1428 strhelp = STR_CONFIG_SETTING_ENDING_YEAR_HELPTEXT
1429 strval = STR_CONFIG_SETTING_ENDING_YEAR_VALUE
1430 cat = SC_ADVANCED
1432 [SDT_BOOL]
1433 base = GameSettings
1434 var = economy.smooth_economy
1435 def = true
1436 str = STR_CONFIG_SETTING_SMOOTH_ECONOMY
1437 strhelp = STR_CONFIG_SETTING_SMOOTH_ECONOMY_HELPTEXT
1438 proc = InvalidateIndustryViewWindow
1439 cat = SC_BASIC
1441 [SDT_BOOL]
1442 base = GameSettings
1443 var = economy.allow_shares
1444 def = false
1445 str = STR_CONFIG_SETTING_ALLOW_SHARES
1446 strhelp = STR_CONFIG_SETTING_ALLOW_SHARES_HELPTEXT
1447 proc = InvalidateCompanyWindow
1449 [SDT_VAR]
1450 base = GameSettings
1451 var = economy.min_years_for_shares
1452 type = SLE_UINT8
1453 from = SLV_TRADING_AGE
1454 def = 6
1455 min = 0
1456 max = 255
1457 interval = 1
1458 str = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES
1459 strhelp = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES_HELPTEXT
1460 strval = STR_JUST_INT
1461 cat = SC_EXPERT
1463 [SDT_VAR]
1464 base = GameSettings
1465 var = economy.feeder_payment_share
1466 type = SLE_UINT8
1467 from = SLV_134
1468 def = 75
1469 min = 0
1470 max = 100
1471 str = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE
1472 strhelp = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE_HELPTEXT
1473 strval = STR_CONFIG_SETTING_PERCENTAGE
1474 cat = SC_EXPERT
1476 [SDT_VAR]
1477 base = GameSettings
1478 var = economy.town_growth_rate
1479 type = SLE_UINT8
1480 from = SLV_54
1481 guiflags = SGF_MULTISTRING
1482 def = 2
1483 min = 0
1484 max = 4
1485 str = STR_CONFIG_SETTING_TOWN_GROWTH
1486 strhelp = STR_CONFIG_SETTING_TOWN_GROWTH_HELPTEXT
1487 strval = STR_CONFIG_SETTING_TOWN_GROWTH_NONE
1489 [SDT_VAR]
1490 base = GameSettings
1491 var = economy.larger_towns
1492 type = SLE_UINT8
1493 from = SLV_54
1494 guiflags = SGF_0ISDISABLED
1495 def = 4
1496 min = 0
1497 max = 255
1498 interval = 1
1499 str = STR_CONFIG_SETTING_LARGER_TOWNS
1500 strhelp = STR_CONFIG_SETTING_LARGER_TOWNS_HELPTEXT
1501 strval = STR_CONFIG_SETTING_LARGER_TOWNS_VALUE
1503 [SDT_VAR]
1504 base = GameSettings
1505 var = economy.initial_city_size
1506 type = SLE_UINT8
1507 from = SLV_56
1508 def = 2
1509 min = 1
1510 max = 10
1511 interval = 1
1512 str = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER
1513 strhelp = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER_HELPTEXT
1514 strval = STR_JUST_COMMA
1516 [SDT_BOOL]
1517 base = GameSettings
1518 var = economy.mod_road_rebuild
1519 from = SLV_77
1520 def = true
1521 cat = SC_EXPERT
1523 ; previously ai-new setting.
1524 [SDT_NULL]
1525 length = 1
1526 to = SLV_107
1528 [SDT_OMANY]
1529 base = GameSettings
1530 var = script.settings_profile
1531 type = SLE_UINT8
1532 from = SLV_178
1533 guiflags = SGF_MULTISTRING
1534 def = SP_EASY
1535 min = SP_EASY
1536 max = SP_HARD
1537 full = _settings_profiles
1538 str = STR_CONFIG_SETTING_AI_PROFILE
1539 strhelp = STR_CONFIG_SETTING_AI_PROFILE_HELPTEXT
1540 strval = STR_CONFIG_SETTING_AI_PROFILE_EASY
1541 cat = SC_BASIC
1543 [SDT_BOOL]
1544 base = GameSettings
1545 var = ai.ai_in_multiplayer
1546 def = true
1547 str = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER
1548 strhelp = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER_HELPTEXT
1549 cat = SC_BASIC
1551 [SDT_BOOL]
1552 base = GameSettings
1553 var = ai.ai_disable_veh_train
1554 def = false
1555 str = STR_CONFIG_SETTING_AI_BUILDS_TRAINS
1556 strhelp = STR_CONFIG_SETTING_AI_BUILDS_TRAINS_HELPTEXT
1558 [SDT_BOOL]
1559 base = GameSettings
1560 var = ai.ai_disable_veh_roadveh
1561 def = false
1562 str = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES
1563 strhelp = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES_HELPTEXT
1565 [SDT_BOOL]
1566 base = GameSettings
1567 var = ai.ai_disable_veh_aircraft
1568 def = false
1569 str = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT
1570 strhelp = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT_HELPTEXT
1572 [SDT_BOOL]
1573 base = GameSettings
1574 var = ai.ai_disable_veh_ship
1575 def = false
1576 str = STR_CONFIG_SETTING_AI_BUILDS_SHIPS
1577 strhelp = STR_CONFIG_SETTING_AI_BUILDS_SHIPS_HELPTEXT
1579 [SDT_VAR]
1580 base = GameSettings
1581 var = script.script_max_opcode_till_suspend
1582 type = SLE_UINT32
1583 from = SLV_107
1584 guiflags = SGF_NEWGAME_ONLY
1585 def = 10000
1586 min = 500
1587 max = 250000
1588 interval = 2500
1589 str = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES
1590 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES_HELPTEXT
1591 strval = STR_JUST_COMMA
1592 cat = SC_EXPERT
1594 [SDT_VAR]
1595 base = GameSettings
1596 var = script.script_max_memory_megabytes
1597 type = SLE_UINT32
1598 from = SLV_SCRIPT_MEMLIMIT
1599 guiflags = SGF_NEWGAME_ONLY
1600 def = 1024
1601 min = 8
1602 max = 8192
1603 interval = 8
1604 str = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY
1605 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY_HELPTEXT
1606 strval = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY_VALUE
1607 cat = SC_EXPERT
1610 [SDT_VAR]
1611 base = GameSettings
1612 var = vehicle.extend_vehicle_life
1613 type = SLE_UINT8
1614 def = 0
1615 min = 0
1616 max = 100
1617 cat = SC_EXPERT
1619 [SDT_VAR]
1620 base = GameSettings
1621 var = economy.dist_local_authority
1622 type = SLE_UINT8
1623 def = 20
1624 min = 5
1625 max = 60
1626 cat = SC_EXPERT
1628 [SDT_BOOL]
1629 base = GameSettings
1630 var = pf.reverse_at_signals
1631 from = SLV_159
1632 def = false
1633 str = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS
1634 strhelp = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS_HELPTEXT
1636 [SDT_VAR]
1637 base = GameSettings
1638 var = pf.wait_oneway_signal
1639 type = SLE_UINT8
1640 def = 15
1641 min = 2
1642 max = 255
1643 cat = SC_EXPERT
1645 [SDT_VAR]
1646 base = GameSettings
1647 var = pf.wait_twoway_signal
1648 type = SLE_UINT8
1649 def = 41
1650 min = 2
1651 max = 255
1652 cat = SC_EXPERT
1654 [SDT_VAR]
1655 base = GameSettings
1656 var = economy.town_noise_population[0]
1657 type = SLE_UINT16
1658 from = SLV_96
1659 def = 800
1660 min = 200
1661 max = 65535
1662 cat = SC_EXPERT
1664 [SDT_VAR]
1665 base = GameSettings
1666 var = economy.town_noise_population[1]
1667 type = SLE_UINT16
1668 from = SLV_96
1669 def = 2000
1670 min = 400
1671 max = 65535
1672 cat = SC_EXPERT
1674 [SDT_VAR]
1675 base = GameSettings
1676 var = economy.town_noise_population[2]
1677 type = SLE_UINT16
1678 from = SLV_96
1679 def = 4000
1680 min = 800
1681 max = 65535
1682 cat = SC_EXPERT
1684 [SDT_BOOL]
1685 base = GameSettings
1686 var = economy.infrastructure_maintenance
1687 from = SLV_166
1688 def = false
1689 str = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE
1690 strhelp = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE_HELPTEXT
1691 proc = InvalidateCompanyInfrastructureWindow
1692 cat = SC_BASIC
1695 [SDT_VAR]
1696 base = GameSettings
1697 var = pf.wait_for_pbs_path
1698 type = SLE_UINT8
1699 from = SLV_100
1700 def = 30
1701 min = 2
1702 max = 255
1703 cat = SC_EXPERT
1705 [SDT_BOOL]
1706 base = GameSettings
1707 var = pf.reserve_paths
1708 from = SLV_100
1709 def = false
1710 cat = SC_EXPERT
1712 [SDT_VAR]
1713 base = GameSettings
1714 var = pf.path_backoff_interval
1715 type = SLE_UINT8
1716 from = SLV_100
1717 def = 20
1718 min = 1
1719 max = 255
1720 cat = SC_EXPERT
1723 ; Used to be pf.opf.pf_maxlength & pf.opf.pf_maxdepth
1724 [SDT_NULL]
1725 length = 3
1726 to = SLV_REMOVE_OPF
1729 [SDT_VAR]
1730 base = GameSettings
1731 var = pf.npf.npf_max_search_nodes
1732 type = SLE_UINT
1733 def = 10000
1734 min = 500
1735 max = 100000
1736 cat = SC_EXPERT
1738 [SDT_VAR]
1739 base = GameSettings
1740 var = pf.npf.npf_rail_firstred_penalty
1741 type = SLE_UINT
1742 def = 10 * NPF_TILE_LENGTH
1743 min = 0
1744 max = 100000
1745 cat = SC_EXPERT
1747 [SDT_VAR]
1748 base = GameSettings
1749 var = pf.npf.npf_rail_firstred_exit_penalty
1750 type = SLE_UINT
1751 def = 100 * NPF_TILE_LENGTH
1752 min = 0
1753 max = 100000
1754 cat = SC_EXPERT
1756 [SDT_VAR]
1757 base = GameSettings
1758 var = pf.npf.npf_rail_lastred_penalty
1759 type = SLE_UINT
1760 def = 10 * NPF_TILE_LENGTH
1761 min = 0
1762 max = 100000
1763 cat = SC_EXPERT
1765 [SDT_VAR]
1766 base = GameSettings
1767 var = pf.npf.npf_rail_station_penalty
1768 type = SLE_UINT
1769 def = 1 * NPF_TILE_LENGTH
1770 min = 0
1771 max = 100000
1772 cat = SC_EXPERT
1774 [SDT_VAR]
1775 base = GameSettings
1776 var = pf.npf.npf_rail_slope_penalty
1777 type = SLE_UINT
1778 def = 1 * NPF_TILE_LENGTH
1779 min = 0
1780 max = 100000
1781 cat = SC_EXPERT
1783 [SDT_VAR]
1784 base = GameSettings
1785 var = pf.npf.npf_rail_curve_penalty
1786 type = SLE_UINT
1787 def = 1 * NPF_TILE_LENGTH
1788 min = 0
1789 max = 100000
1790 cat = SC_EXPERT
1792 [SDT_VAR]
1793 base = GameSettings
1794 var = pf.npf.npf_rail_depot_reverse_penalty
1795 type = SLE_UINT
1796 def = 50 * NPF_TILE_LENGTH
1797 min = 0
1798 max = 100000
1799 cat = SC_EXPERT
1801 [SDT_VAR]
1802 base = GameSettings
1803 var = pf.npf.npf_rail_pbs_cross_penalty
1804 type = SLE_UINT
1805 from = SLV_100
1806 def = 3 * NPF_TILE_LENGTH
1807 min = 0
1808 max = 100000
1809 cat = SC_EXPERT
1811 [SDT_VAR]
1812 base = GameSettings
1813 var = pf.npf.npf_rail_pbs_signal_back_penalty
1814 type = SLE_UINT
1815 from = SLV_100
1816 def = 15 * NPF_TILE_LENGTH
1817 min = 0
1818 max = 100000
1819 cat = SC_EXPERT
1821 [SDT_VAR]
1822 base = GameSettings
1823 var = pf.npf.npf_buoy_penalty
1824 type = SLE_UINT
1825 def = 2 * NPF_TILE_LENGTH
1826 min = 0
1827 max = 100000
1828 cat = SC_EXPERT
1830 [SDT_VAR]
1831 base = GameSettings
1832 var = pf.npf.npf_water_curve_penalty
1833 type = SLE_UINT
1834 def = 1 * NPF_TILE_LENGTH
1835 min = 0
1836 max = 100000
1837 cat = SC_EXPERT
1839 [SDT_VAR]
1840 base = GameSettings
1841 var = pf.npf.npf_road_curve_penalty
1842 type = SLE_UINT
1843 def = 1 * NPF_TILE_LENGTH
1844 min = 0
1845 max = 100000
1846 cat = SC_EXPERT
1848 [SDT_VAR]
1849 base = GameSettings
1850 var = pf.npf.npf_crossing_penalty
1851 type = SLE_UINT
1852 def = 3 * NPF_TILE_LENGTH
1853 min = 0
1854 max = 100000
1855 cat = SC_EXPERT
1857 [SDT_VAR]
1858 base = GameSettings
1859 var = pf.npf.npf_road_drive_through_penalty
1860 type = SLE_UINT
1861 from = SLV_47
1862 def = 8 * NPF_TILE_LENGTH
1863 min = 0
1864 max = 100000
1865 cat = SC_EXPERT
1867 [SDT_VAR]
1868 base = GameSettings
1869 var = pf.npf.npf_road_dt_occupied_penalty
1870 type = SLE_UINT
1871 from = SLV_130
1872 def = 8 * NPF_TILE_LENGTH
1873 min = 0
1874 max = 100000
1875 cat = SC_EXPERT
1877 [SDT_VAR]
1878 base = GameSettings
1879 var = pf.npf.npf_road_bay_occupied_penalty
1880 type = SLE_UINT
1881 from = SLV_130
1882 def = 15 * NPF_TILE_LENGTH
1883 min = 0
1884 max = 100000
1885 cat = SC_EXPERT
1887 [SDT_VAR]
1888 base = GameSettings
1889 var = pf.npf.maximum_go_to_depot_penalty
1890 type = SLE_UINT
1891 from = SLV_131
1892 def = 20 * NPF_TILE_LENGTH
1893 min = 0
1894 max = 1000000
1895 cat = SC_EXPERT
1898 [SDT_BOOL]
1899 base = GameSettings
1900 var = pf.yapf.disable_node_optimization
1901 from = SLV_28
1902 def = false
1903 cat = SC_EXPERT
1905 [SDT_VAR]
1906 base = GameSettings
1907 var = pf.yapf.max_search_nodes
1908 type = SLE_UINT
1909 from = SLV_28
1910 def = 10000
1911 min = 500
1912 max = 1000000
1913 cat = SC_EXPERT
1915 [SDT_BOOL]
1916 base = GameSettings
1917 var = pf.yapf.rail_firstred_twoway_eol
1918 from = SLV_28
1919 def = false
1920 cat = SC_EXPERT
1922 [SDT_VAR]
1923 base = GameSettings
1924 var = pf.yapf.rail_firstred_penalty
1925 type = SLE_UINT
1926 from = SLV_28
1927 def = 10 * YAPF_TILE_LENGTH
1928 min = 0
1929 max = 1000000
1930 cat = SC_EXPERT
1932 [SDT_VAR]
1933 base = GameSettings
1934 var = pf.yapf.rail_firstred_exit_penalty
1935 type = SLE_UINT
1936 from = SLV_28
1937 def = 100 * YAPF_TILE_LENGTH
1938 min = 0
1939 max = 1000000
1940 cat = SC_EXPERT
1942 [SDT_VAR]
1943 base = GameSettings
1944 var = pf.yapf.rail_lastred_penalty
1945 type = SLE_UINT
1946 from = SLV_28
1947 def = 10 * YAPF_TILE_LENGTH
1948 min = 0
1949 max = 1000000
1950 cat = SC_EXPERT
1952 [SDT_VAR]
1953 base = GameSettings
1954 var = pf.yapf.rail_lastred_exit_penalty
1955 type = SLE_UINT
1956 from = SLV_28
1957 def = 100 * YAPF_TILE_LENGTH
1958 min = 0
1959 max = 1000000
1960 cat = SC_EXPERT
1962 [SDT_VAR]
1963 base = GameSettings
1964 var = pf.yapf.rail_station_penalty
1965 type = SLE_UINT
1966 from = SLV_28
1967 def = 10 * YAPF_TILE_LENGTH
1968 min = 0
1969 max = 1000000
1970 cat = SC_EXPERT
1972 [SDT_VAR]
1973 base = GameSettings
1974 var = pf.yapf.rail_slope_penalty
1975 type = SLE_UINT
1976 from = SLV_28
1977 def = 2 * YAPF_TILE_LENGTH
1978 min = 0
1979 max = 1000000
1980 cat = SC_EXPERT
1982 [SDT_VAR]
1983 base = GameSettings
1984 var = pf.yapf.rail_curve45_penalty
1985 type = SLE_UINT
1986 from = SLV_28
1987 def = 1 * YAPF_TILE_LENGTH
1988 min = 0
1989 max = 1000000
1990 cat = SC_EXPERT
1992 [SDT_VAR]
1993 base = GameSettings
1994 var = pf.yapf.rail_curve90_penalty
1995 type = SLE_UINT
1996 from = SLV_28
1997 def = 6 * YAPF_TILE_LENGTH
1998 min = 0
1999 max = 1000000
2000 cat = SC_EXPERT
2002 [SDT_VAR]
2003 base = GameSettings
2004 var = pf.yapf.rail_depot_reverse_penalty
2005 type = SLE_UINT
2006 from = SLV_28
2007 def = 50 * YAPF_TILE_LENGTH
2008 min = 0
2009 max = 1000000
2010 cat = SC_EXPERT
2012 [SDT_VAR]
2013 base = GameSettings
2014 var = pf.yapf.rail_crossing_penalty
2015 type = SLE_UINT
2016 from = SLV_28
2017 def = 3 * YAPF_TILE_LENGTH
2018 min = 0
2019 max = 1000000
2020 cat = SC_EXPERT
2022 [SDT_VAR]
2023 base = GameSettings
2024 var = pf.yapf.rail_look_ahead_max_signals
2025 type = SLE_UINT
2026 from = SLV_28
2027 def = 10
2028 min = 1
2029 max = 100
2030 cat = SC_EXPERT
2032 [SDT_VAR]
2033 base = GameSettings
2034 var = pf.yapf.rail_look_ahead_signal_p0
2035 type = SLE_INT
2036 from = SLV_28
2037 def = 500
2038 min = -1000000
2039 max = 1000000
2040 cat = SC_EXPERT
2042 [SDT_VAR]
2043 base = GameSettings
2044 var = pf.yapf.rail_look_ahead_signal_p1
2045 type = SLE_INT
2046 from = SLV_28
2047 def = -100
2048 min = -1000000
2049 max = 1000000
2050 cat = SC_EXPERT
2052 [SDT_VAR]
2053 base = GameSettings
2054 var = pf.yapf.rail_look_ahead_signal_p2
2055 type = SLE_INT
2056 from = SLV_28
2057 def = 5
2058 min = -1000000
2059 max = 1000000
2060 cat = SC_EXPERT
2062 [SDT_VAR]
2063 base = GameSettings
2064 var = pf.yapf.rail_pbs_cross_penalty
2065 type = SLE_UINT
2066 from = SLV_100
2067 def = 3 * YAPF_TILE_LENGTH
2068 min = 0
2069 max = 1000000
2070 cat = SC_EXPERT
2072 [SDT_VAR]
2073 base = GameSettings
2074 var = pf.yapf.rail_pbs_station_penalty
2075 type = SLE_UINT
2076 from = SLV_100
2077 def = 8 * YAPF_TILE_LENGTH
2078 min = 0
2079 max = 1000000
2080 cat = SC_EXPERT
2082 [SDT_VAR]
2083 base = GameSettings
2084 var = pf.yapf.rail_pbs_signal_back_penalty
2085 type = SLE_UINT
2086 from = SLV_100
2087 def = 15 * YAPF_TILE_LENGTH
2088 min = 0
2089 max = 1000000
2090 cat = SC_EXPERT
2092 [SDT_VAR]
2093 base = GameSettings
2094 var = pf.yapf.rail_doubleslip_penalty
2095 type = SLE_UINT
2096 from = SLV_100
2097 def = 1 * YAPF_TILE_LENGTH
2098 min = 0
2099 max = 1000000
2100 cat = SC_EXPERT
2102 [SDT_VAR]
2103 base = GameSettings
2104 var = pf.yapf.rail_longer_platform_penalty
2105 type = SLE_UINT
2106 from = SLV_33
2107 def = 8 * YAPF_TILE_LENGTH
2108 min = 0
2109 max = 20000
2110 cat = SC_EXPERT
2112 [SDT_VAR]
2113 base = GameSettings
2114 var = pf.yapf.rail_longer_platform_per_tile_penalty
2115 type = SLE_UINT
2116 from = SLV_33
2117 def = 0 * YAPF_TILE_LENGTH
2118 min = 0
2119 max = 20000
2120 cat = SC_EXPERT
2122 [SDT_VAR]
2123 base = GameSettings
2124 var = pf.yapf.rail_shorter_platform_penalty
2125 type = SLE_UINT
2126 from = SLV_33
2127 def = 40 * YAPF_TILE_LENGTH
2128 min = 0
2129 max = 20000
2130 cat = SC_EXPERT
2132 [SDT_VAR]
2133 base = GameSettings
2134 var = pf.yapf.rail_shorter_platform_per_tile_penalty
2135 type = SLE_UINT
2136 from = SLV_33
2137 def = 0 * YAPF_TILE_LENGTH
2138 min = 0
2139 max = 20000
2140 cat = SC_EXPERT
2142 [SDT_VAR]
2143 base = GameSettings
2144 var = pf.yapf.road_slope_penalty
2145 type = SLE_UINT
2146 from = SLV_33
2147 def = 2 * YAPF_TILE_LENGTH
2148 min = 0
2149 max = 1000000
2150 cat = SC_EXPERT
2152 [SDT_VAR]
2153 base = GameSettings
2154 var = pf.yapf.road_curve_penalty
2155 type = SLE_UINT
2156 from = SLV_33
2157 def = 1 * YAPF_TILE_LENGTH
2158 min = 0
2159 max = 1000000
2160 cat = SC_EXPERT
2162 [SDT_VAR]
2163 base = GameSettings
2164 var = pf.yapf.road_crossing_penalty
2165 type = SLE_UINT
2166 from = SLV_33
2167 def = 3 * YAPF_TILE_LENGTH
2168 min = 0
2169 max = 1000000
2170 cat = SC_EXPERT
2172 [SDT_VAR]
2173 base = GameSettings
2174 var = pf.yapf.road_stop_penalty
2175 type = SLE_UINT
2176 from = SLV_47
2177 def = 8 * YAPF_TILE_LENGTH
2178 min = 0
2179 max = 1000000
2180 cat = SC_EXPERT
2182 [SDT_VAR]
2183 base = GameSettings
2184 var = pf.yapf.road_stop_occupied_penalty
2185 type = SLE_UINT
2186 from = SLV_130
2187 def = 8 * YAPF_TILE_LENGTH
2188 min = 0
2189 max = 1000000
2190 cat = SC_EXPERT
2192 [SDT_VAR]
2193 base = GameSettings
2194 var = pf.yapf.road_stop_bay_occupied_penalty
2195 type = SLE_UINT
2196 from = SLV_130
2197 def = 15 * YAPF_TILE_LENGTH
2198 min = 0
2199 max = 1000000
2200 cat = SC_EXPERT
2202 [SDT_VAR]
2203 base = GameSettings
2204 var = pf.yapf.maximum_go_to_depot_penalty
2205 type = SLE_UINT
2206 from = SLV_131
2207 def = 20 * YAPF_TILE_LENGTH
2208 min = 0
2209 max = 1000000
2210 cat = SC_EXPERT
2212 [SDT_VAR]
2213 base = GameSettings
2214 var = pf.yapf.ship_curve45_penalty
2215 type = SLE_UINT
2216 from = SLV_SHIP_CURVE_PENALTY
2217 def = 1 * YAPF_TILE_LENGTH
2218 min = 0
2219 max = 1000000
2220 cat = SC_EXPERT
2222 [SDT_VAR]
2223 base = GameSettings
2224 var = pf.yapf.ship_curve90_penalty
2225 type = SLE_UINT
2226 from = SLV_SHIP_CURVE_PENALTY
2227 def = 6 * YAPF_TILE_LENGTH
2228 min = 0
2229 max = 1000000
2230 cat = SC_EXPERT
2233 [SDT_VAR]
2234 base = GameSettings
2235 var = game_creation.land_generator
2236 type = SLE_UINT8
2237 from = SLV_30
2238 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2239 def = 1
2240 min = 0
2241 max = 1
2242 str = STR_CONFIG_SETTING_LAND_GENERATOR
2243 strhelp = STR_CONFIG_SETTING_LAND_GENERATOR_HELPTEXT
2244 strval = STR_CONFIG_SETTING_LAND_GENERATOR_ORIGINAL
2246 [SDT_VAR]
2247 base = GameSettings
2248 var = game_creation.oil_refinery_limit
2249 type = SLE_UINT8
2250 from = SLV_30
2251 def = 32
2252 min = 12
2253 max = 48
2254 str = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE
2255 strval = STR_CONFIG_SETTING_TILE_LENGTH
2256 strhelp = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE_HELPTEXT
2258 [SDT_VAR]
2259 base = GameSettings
2260 var = game_creation.tgen_smoothness
2261 type = SLE_UINT8
2262 from = SLV_30
2263 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2264 def = 1
2265 min = TGEN_SMOOTHNESS_BEGIN
2266 max = TGEN_SMOOTHNESS_END - 1
2267 str = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN
2268 strhelp = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_HELPTEXT
2269 strval = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_VERY_SMOOTH
2270 cat = SC_BASIC
2272 [SDT_VAR]
2273 base = GameSettings
2274 var = game_creation.variety
2275 type = SLE_UINT8
2276 from = SLV_197
2277 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2278 def = 0
2279 min = 0
2280 max = 5
2281 str = STR_CONFIG_SETTING_VARIETY
2282 strhelp = STR_CONFIG_SETTING_VARIETY_HELPTEXT
2283 strval = STR_VARIETY_NONE
2285 [SDT_VAR]
2286 base = GameSettings
2287 var = game_creation.generation_seed
2288 type = SLE_UINT32
2289 from = SLV_30
2290 def = GENERATE_NEW_SEED
2291 min = 0
2292 max = UINT32_MAX
2293 cat = SC_EXPERT
2295 [SDT_VAR]
2296 base = GameSettings
2297 var = game_creation.tree_placer
2298 type = SLE_UINT8
2299 from = SLV_30
2300 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
2301 def = 2
2302 min = 0
2303 max = 2
2304 str = STR_CONFIG_SETTING_TREE_PLACER
2305 strhelp = STR_CONFIG_SETTING_TREE_PLACER_HELPTEXT
2306 strval = STR_CONFIG_SETTING_TREE_PLACER_NONE
2308 [SDT_VAR]
2309 base = GameSettings
2310 var = game_creation.heightmap_rotation
2311 type = SLE_UINT8
2312 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2313 guiflags = SGF_MULTISTRING
2314 def = 0
2315 min = 0
2316 max = 1
2317 str = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION
2318 strval = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION_COUNTER_CLOCKWISE
2319 cat = SC_BASIC
2321 [SDT_VAR]
2322 base = GameSettings
2323 var = game_creation.se_flat_world_height
2324 type = SLE_UINT8
2325 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2326 def = 1
2327 min = 0
2328 max = 15
2329 str = STR_CONFIG_SETTING_SE_FLAT_WORLD_HEIGHT
2330 strval = STR_JUST_COMMA
2331 cat = SC_BASIC
2334 [SDT_VAR]
2335 base = GameSettings
2336 var = game_creation.map_x
2337 type = SLE_UINT8
2338 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2339 def = 8
2340 min = MIN_MAP_SIZE_BITS
2341 max = MAX_MAP_SIZE_BITS
2342 cat = SC_BASIC
2344 [SDT_VAR]
2345 base = GameSettings
2346 var = game_creation.map_y
2347 type = SLE_UINT8
2348 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2349 def = 8
2350 min = MIN_MAP_SIZE_BITS
2351 max = MAX_MAP_SIZE_BITS
2352 cat = SC_BASIC
2354 [SDT_BOOL]
2355 base = GameSettings
2356 var = construction.freeform_edges
2357 from = SLV_111
2358 def = true
2359 proc = CheckFreeformEdges
2360 cat = SC_EXPERT
2362 [SDT_VAR]
2363 base = GameSettings
2364 var = game_creation.water_borders
2365 type = SLE_UINT8
2366 from = SLV_111
2367 def = 15
2368 min = 0
2369 max = 16
2371 [SDT_VAR]
2372 base = GameSettings
2373 var = game_creation.custom_town_number
2374 type = SLE_UINT16
2375 from = SLV_115
2376 def = 1
2377 min = 1
2378 max = 5000
2379 cat = SC_BASIC
2381 [SDT_VAR]
2382 base = GameSettings
2383 var = construction.extra_tree_placement
2384 type = SLE_UINT8
2385 from = SLV_132
2386 guiflags = SGF_MULTISTRING
2387 def = 2
2388 min = 0
2389 max = 2
2390 str = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT
2391 strhelp = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_HELPTEXT
2392 strval = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_NONE
2393 cat = SC_BASIC
2395 [SDT_VAR]
2396 base = GameSettings
2397 var = game_creation.custom_sea_level
2398 type = SLE_UINT8
2399 from = SLV_149
2400 def = CUSTOM_SEA_LEVEL_MIN_PERCENTAGE
2401 min = CUSTOM_SEA_LEVEL_MIN_PERCENTAGE
2402 max = CUSTOM_SEA_LEVEL_MAX_PERCENTAGE
2403 cat = SC_BASIC
2405 [SDT_VAR]
2406 base = GameSettings
2407 var = game_creation.min_river_length
2408 type = SLE_UINT8
2409 from = SLV_163
2410 def = 16
2411 min = 2
2412 max = 255
2413 cat = SC_EXPERT
2415 [SDT_VAR]
2416 base = GameSettings
2417 var = game_creation.river_route_random
2418 type = SLE_UINT8
2419 from = SLV_163
2420 def = 5
2421 min = 1
2422 max = 255
2423 cat = SC_EXPERT
2425 [SDT_VAR]
2426 base = GameSettings
2427 var = game_creation.amount_of_rivers
2428 type = SLE_UINT8
2429 from = SLV_163
2430 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2431 def = 2
2432 min = 0
2433 max = 3
2434 str = STR_CONFIG_SETTING_RIVER_AMOUNT
2435 strhelp = STR_CONFIG_SETTING_RIVER_AMOUNT_HELPTEXT
2436 strval = STR_RIVERS_NONE
2438 ; locale
2440 [SDT_OMANY]
2441 base = GameSettings
2442 var = locale.currency
2443 type = SLE_UINT8
2444 from = SLV_97
2445 flags = SLF_NO_NETWORK_SYNC
2446 def = 0
2447 max = CURRENCY_END - 1
2448 full = _locale_currencies
2449 proc = RedrawScreen
2450 cat = SC_BASIC
2452 [SDTG_OMANY]
2453 name = ""units""
2454 var = _old_units
2455 type = SLE_UINT8
2456 from = SLV_97
2457 to = SLV_184
2458 flags = SLF_NOT_IN_CONFIG
2459 def = 1
2460 max = 2
2461 full = _locale_units
2462 proc = RedrawScreen
2463 cat = SC_BASIC
2465 [SDT_OMANY]
2466 base = GameSettings
2467 var = locale.units_velocity
2468 type = SLE_UINT8
2469 from = SLV_184
2470 flags = SLF_NO_NETWORK_SYNC
2471 guiflags = SGF_MULTISTRING
2472 def = 1
2473 max = 2
2474 full = _locale_units
2475 proc = RedrawScreen
2476 cat = SC_BASIC
2477 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY
2478 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_HELPTEXT
2479 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_IMPERIAL
2481 [SDT_OMANY]
2482 base = GameSettings
2483 var = locale.units_power
2484 type = SLE_UINT8
2485 from = SLV_184
2486 flags = SLF_NO_NETWORK_SYNC
2487 guiflags = SGF_MULTISTRING
2488 def = 1
2489 max = 2
2490 full = _locale_units
2491 proc = RedrawScreen
2492 cat = SC_BASIC
2493 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER
2494 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_HELPTEXT
2495 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_IMPERIAL
2497 [SDT_OMANY]
2498 base = GameSettings
2499 var = locale.units_weight
2500 type = SLE_UINT8
2501 from = SLV_184
2502 flags = SLF_NO_NETWORK_SYNC
2503 guiflags = SGF_MULTISTRING
2504 def = 1
2505 max = 2
2506 full = _locale_units
2507 proc = RedrawScreen
2508 cat = SC_BASIC
2509 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT
2510 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_HELPTEXT
2511 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_IMPERIAL
2513 [SDT_OMANY]
2514 base = GameSettings
2515 var = locale.units_volume
2516 type = SLE_UINT8
2517 from = SLV_184
2518 flags = SLF_NO_NETWORK_SYNC
2519 guiflags = SGF_MULTISTRING
2520 def = 1
2521 max = 2
2522 full = _locale_units
2523 proc = RedrawScreen
2524 cat = SC_BASIC
2525 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME
2526 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_HELPTEXT
2527 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_IMPERIAL
2529 [SDT_OMANY]
2530 base = GameSettings
2531 var = locale.units_force
2532 type = SLE_UINT8
2533 from = SLV_184
2534 flags = SLF_NO_NETWORK_SYNC
2535 guiflags = SGF_MULTISTRING
2536 def = 2
2537 max = 2
2538 full = _locale_units
2539 proc = RedrawScreen
2540 cat = SC_BASIC
2541 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE
2542 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_HELPTEXT
2543 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_IMPERIAL
2545 [SDT_OMANY]
2546 base = GameSettings
2547 var = locale.units_height
2548 type = SLE_UINT8
2549 from = SLV_184
2550 flags = SLF_NO_NETWORK_SYNC
2551 guiflags = SGF_MULTISTRING
2552 def = 1
2553 max = 2
2554 full = _locale_units
2555 proc = RedrawScreen
2556 cat = SC_BASIC
2557 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT
2558 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_HELPTEXT
2559 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_IMPERIAL
2561 [SDT_STR]
2562 base = GameSettings
2563 var = locale.digit_group_separator
2564 type = SLE_STRQ
2565 from = SLV_118
2566 flags = SLF_NO_NETWORK_SYNC
2567 def = nullptr
2568 proc = RedrawScreen
2569 cat = SC_BASIC
2571 [SDT_STR]
2572 base = GameSettings
2573 var = locale.digit_group_separator_currency
2574 type = SLE_STRQ
2575 from = SLV_118
2576 flags = SLF_NO_NETWORK_SYNC
2577 def = nullptr
2578 proc = RedrawScreen
2579 cat = SC_BASIC
2581 [SDT_STR]
2582 base = GameSettings
2583 var = locale.digit_decimal_separator
2584 type = SLE_STRQ
2585 from = SLV_126
2586 flags = SLF_NO_NETWORK_SYNC
2587 def = nullptr
2588 proc = RedrawScreen
2589 cat = SC_BASIC
2592 ;***************************************************************************
2593 ; Unsaved setting variables.
2595 [SDTC_OMANY]
2596 var = gui.autosave
2597 type = SLE_UINT8
2598 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2599 guiflags = SGF_MULTISTRING
2600 def = 1
2601 max = 4
2602 full = _autosave_interval
2603 str = STR_CONFIG_SETTING_AUTOSAVE
2604 strhelp = STR_CONFIG_SETTING_AUTOSAVE_HELPTEXT
2605 strval = STR_GAME_OPTIONS_AUTOSAVE_DROPDOWN_OFF
2606 cat = SC_BASIC
2608 [SDTC_BOOL]
2609 var = gui.threaded_saves
2610 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2611 def = true
2612 cat = SC_EXPERT
2614 [SDTC_OMANY]
2615 var = gui.date_format_in_default_names
2616 type = SLE_UINT8
2617 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2618 guiflags = SGF_MULTISTRING
2619 def = 0
2620 max = 2
2621 full = _savegame_date
2622 str = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES
2623 strhelp = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_HELPTEXT
2624 strval = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_LONG
2626 [SDTC_BOOL]
2627 var = gui.show_finances
2628 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2629 def = true
2630 str = STR_CONFIG_SETTING_SHOWFINANCES
2631 strhelp = STR_CONFIG_SETTING_SHOWFINANCES_HELPTEXT
2632 cat = SC_BASIC
2634 [SDTC_VAR]
2635 var = gui.auto_scrolling
2636 type = SLE_UINT8
2637 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2638 guiflags = SGF_MULTISTRING
2639 def = 0
2640 min = 0
2641 max = 3
2642 str = STR_CONFIG_SETTING_AUTOSCROLL
2643 strhelp = STR_CONFIG_SETTING_AUTOSCROLL_HELPTEXT
2644 strval = STR_CONFIG_SETTING_AUTOSCROLL_DISABLED
2645 cat = SC_BASIC
2647 [SDTC_VAR]
2648 var = gui.scroll_mode
2649 type = SLE_UINT8
2650 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2651 guiflags = SGF_MULTISTRING
2652 def = 0
2653 min = 0
2654 max = 3
2655 str = STR_CONFIG_SETTING_SCROLLMODE
2656 strhelp = STR_CONFIG_SETTING_SCROLLMODE_HELPTEXT
2657 strval = STR_CONFIG_SETTING_SCROLLMODE_DEFAULT
2658 cat = SC_BASIC
2660 [SDTC_BOOL]
2661 var = gui.smooth_scroll
2662 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2663 def = false
2664 str = STR_CONFIG_SETTING_SMOOTH_SCROLLING
2665 strhelp = STR_CONFIG_SETTING_SMOOTH_SCROLLING_HELPTEXT
2667 [SDTC_BOOL]
2668 var = gui.right_mouse_wnd_close
2669 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2670 def = false
2671 str = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE
2672 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE_HELPTEXT
2673 cat = SC_BASIC
2675 [SDTC_BOOL]
2676 var = gui.measure_tooltip
2677 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2678 def = true
2679 str = STR_CONFIG_SETTING_MEASURE_TOOLTIP
2680 strhelp = STR_CONFIG_SETTING_MEASURE_TOOLTIP_HELPTEXT
2681 cat = SC_BASIC
2683 [SDTC_VAR]
2684 var = gui.errmsg_duration
2685 type = SLE_UINT8
2686 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2687 def = 5
2688 min = 0
2689 max = 20
2690 str = STR_CONFIG_SETTING_ERRMSG_DURATION
2691 strhelp = STR_CONFIG_SETTING_ERRMSG_DURATION_HELPTEXT
2692 strval = STR_CONFIG_SETTING_ERRMSG_DURATION_VALUE
2694 [SDTC_VAR]
2695 var = gui.hover_delay_ms
2696 type = SLE_UINT16
2697 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2698 guiflags = SGF_0ISDISABLED
2699 def = 250
2700 min = 50
2701 max = 6000
2702 interval = 50
2703 str = STR_CONFIG_SETTING_HOVER_DELAY
2704 strhelp = STR_CONFIG_SETTING_HOVER_DELAY_HELPTEXT
2705 strval = STR_CONFIG_SETTING_HOVER_DELAY_VALUE
2707 [SDTC_OMANY]
2708 var = gui.osk_activation
2709 type = SLE_UINT8
2710 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2711 str = STR_CONFIG_SETTING_OSK_ACTIVATION
2712 strhelp = STR_CONFIG_SETTING_OSK_ACTIVATION_HELPTEXT
2713 strval = STR_CONFIG_SETTING_OSK_ACTIVATION_DISABLED
2714 guiflags = SGF_MULTISTRING
2715 full = _osk_activation
2716 def = 1
2717 min = 0
2718 max = 3
2719 cat = SC_BASIC
2721 [SDTC_VAR]
2722 var = gui.toolbar_pos
2723 type = SLE_UINT8
2724 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2725 guiflags = SGF_MULTISTRING
2726 def = 1
2727 min = 0
2728 max = 2
2729 str = STR_CONFIG_SETTING_TOOLBAR_POS
2730 strhelp = STR_CONFIG_SETTING_TOOLBAR_POS_HELPTEXT
2731 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2732 proc = v_PositionMainToolbar
2733 cat = SC_BASIC
2735 [SDTC_VAR]
2736 var = gui.statusbar_pos
2737 type = SLE_UINT8
2738 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2739 guiflags = SGF_MULTISTRING
2740 def = 1
2741 min = 0
2742 max = 2
2743 str = STR_CONFIG_SETTING_STATUSBAR_POS
2744 strhelp = STR_CONFIG_SETTING_STATUSBAR_POS_HELPTEXT
2745 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2746 proc = v_PositionStatusbar
2747 cat = SC_BASIC
2749 [SDTC_VAR]
2750 var = gui.window_snap_radius
2751 type = SLE_UINT8
2752 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2753 guiflags = SGF_0ISDISABLED
2754 def = 10
2755 min = 1
2756 max = 32
2757 str = STR_CONFIG_SETTING_SNAP_RADIUS
2758 strhelp = STR_CONFIG_SETTING_SNAP_RADIUS_HELPTEXT
2759 strval = STR_CONFIG_SETTING_SNAP_RADIUS_VALUE
2760 cat = SC_EXPERT
2762 [SDTC_VAR]
2763 var = gui.window_soft_limit
2764 type = SLE_UINT8
2765 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2766 guiflags = SGF_0ISDISABLED
2767 def = 20
2768 min = 5
2769 max = 255
2770 interval = 1
2771 str = STR_CONFIG_SETTING_SOFT_LIMIT
2772 strhelp = STR_CONFIG_SETTING_SOFT_LIMIT_HELPTEXT
2773 strval = STR_CONFIG_SETTING_SOFT_LIMIT_VALUE
2774 cat = SC_EXPERT
2776 [SDTC_VAR]
2777 var = gui.zoom_min
2778 type = SLE_UINT8
2779 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2780 guiflags = SGF_MULTISTRING
2781 def = ZOOM_LVL_MIN
2782 min = ZOOM_LVL_MIN
2783 max = ZOOM_LVL_OUT_4X
2784 str = STR_CONFIG_SETTING_ZOOM_MIN
2785 strhelp = STR_CONFIG_SETTING_ZOOM_MIN_HELPTEXT
2786 strval = STR_CONFIG_SETTING_ZOOM_LVL_MIN
2787 proc = ZoomMinMaxChanged
2789 [SDTC_VAR]
2790 var = gui.zoom_max
2791 type = SLE_UINT8
2792 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2793 guiflags = SGF_MULTISTRING
2794 def = ZOOM_LVL_MAX
2795 min = ZOOM_LVL_OUT_8X
2796 max = ZOOM_LVL_MAX
2797 str = STR_CONFIG_SETTING_ZOOM_MAX
2798 strhelp = STR_CONFIG_SETTING_ZOOM_MAX_HELPTEXT
2799 strval = STR_CONFIG_SETTING_ZOOM_LVL_OUT_2X
2800 proc = ZoomMinMaxChanged
2802 [SDTC_BOOL]
2803 var = gui.population_in_label
2804 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2805 def = true
2806 str = STR_CONFIG_SETTING_POPULATION_IN_LABEL
2807 strhelp = STR_CONFIG_SETTING_POPULATION_IN_LABEL_HELPTEXT
2808 proc = PopulationInLabelActive
2810 [SDTC_BOOL]
2811 var = gui.link_terraform_toolbar
2812 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2813 def = false
2814 str = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR
2815 strhelp = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR_HELPTEXT
2817 [SDTC_VAR]
2818 var = gui.smallmap_land_colour
2819 type = SLE_UINT8
2820 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2821 guiflags = SGF_MULTISTRING
2822 def = 0
2823 min = 0
2824 max = 2
2825 str = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR
2826 strhelp = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_HELPTEXT
2827 strval = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_GREEN
2828 proc = RedrawSmallmap
2830 [SDTC_VAR]
2831 var = gui.liveries
2832 type = SLE_UINT8
2833 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2834 guiflags = SGF_MULTISTRING
2835 def = 2
2836 min = 0
2837 max = 2
2838 str = STR_CONFIG_SETTING_LIVERIES
2839 strhelp = STR_CONFIG_SETTING_LIVERIES_HELPTEXT
2840 strval = STR_CONFIG_SETTING_LIVERIES_NONE
2841 proc = InvalidateCompanyLiveryWindow
2843 [SDTC_VAR]
2844 var = gui.starting_colour
2845 type = SLE_UINT8
2846 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2847 guiflags = SGF_MULTISTRING
2848 def = COLOUR_END
2849 min = 0
2850 max = COLOUR_END
2851 str = STR_CONFIG_SETTING_COMPANY_STARTING_COLOUR
2852 strhelp = STR_CONFIG_SETTING_COMPANY_STARTING_COLOUR_HELPTEXT
2853 strval = STR_COLOUR_DARK_BLUE
2855 [SDTC_BOOL]
2856 var = gui.prefer_teamchat
2857 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2858 def = false
2859 str = STR_CONFIG_SETTING_PREFER_TEAMCHAT
2860 strhelp = STR_CONFIG_SETTING_PREFER_TEAMCHAT_HELPTEXT
2861 cat = SC_BASIC
2863 [SDTC_VAR]
2864 var = gui.scrollwheel_scrolling
2865 type = SLE_UINT8
2866 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2867 guiflags = SGF_MULTISTRING
2868 def = 0
2869 min = 0
2870 max = 2
2871 str = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING
2872 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING_HELPTEXT
2873 strval = STR_CONFIG_SETTING_SCROLLWHEEL_ZOOM
2874 cat = SC_BASIC
2876 [SDTC_VAR]
2877 var = gui.scrollwheel_multiplier
2878 type = SLE_UINT8
2879 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2880 def = 5
2881 min = 1
2882 max = 15
2883 interval = 1
2884 str = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER
2885 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER_HELPTEXT
2886 strval = STR_JUST_COMMA
2887 cat = SC_BASIC
2889 [SDTC_BOOL]
2890 var = gui.pause_on_newgame
2891 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2892 def = false
2893 str = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME
2894 strhelp = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME_HELPTEXT
2895 cat = SC_BASIC
2897 [SDTC_VAR]
2898 var = gui.advanced_vehicle_list
2899 type = SLE_UINT8
2900 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2901 guiflags = SGF_MULTISTRING
2902 def = 1
2903 min = 0
2904 max = 2
2905 str = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS
2906 strhelp = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS_HELPTEXT
2907 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2909 [SDTC_BOOL]
2910 var = gui.timetable_in_ticks
2911 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2912 def = false
2913 str = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS
2914 strhelp = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS_HELPTEXT
2915 proc = InvalidateVehTimetableWindow
2916 cat = SC_EXPERT
2918 [SDTC_BOOL]
2919 var = gui.timetable_arrival_departure
2920 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2921 def = true
2922 str = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE
2923 strhelp = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE_HELPTEXT
2924 proc = InvalidateVehTimetableWindow
2926 [SDTC_BOOL]
2927 var = gui.quick_goto
2928 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2929 def = false
2930 str = STR_CONFIG_SETTING_QUICKGOTO
2931 strhelp = STR_CONFIG_SETTING_QUICKGOTO_HELPTEXT
2932 cat = SC_BASIC
2934 [SDTC_VAR]
2935 var = gui.loading_indicators
2936 type = SLE_UINT8
2937 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2938 guiflags = SGF_MULTISTRING
2939 def = 1
2940 min = 0
2941 max = 2
2942 str = STR_CONFIG_SETTING_LOADING_INDICATORS
2943 strhelp = STR_CONFIG_SETTING_LOADING_INDICATORS_HELPTEXT
2944 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2945 proc = RedrawScreen
2946 cat = SC_BASIC
2948 [SDTC_VAR]
2949 var = gui.default_rail_type
2950 type = SLE_UINT8
2951 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2952 guiflags = SGF_MULTISTRING
2953 def = 0
2954 min = 0
2955 max = 2
2956 str = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE
2957 strhelp = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_HELPTEXT
2958 strval = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_FIRST
2959 cat = SC_BASIC
2961 [SDTC_BOOL]
2962 var = gui.enable_signal_gui
2963 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2964 def = true
2965 str = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI
2966 strhelp = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI_HELPTEXT
2967 proc = CloseSignalGUI
2968 cat = SC_EXPERT
2970 [SDTC_VAR]
2971 var = gui.coloured_news_year
2972 type = SLE_INT32
2973 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2974 def = 2000
2975 min = MIN_YEAR
2976 max = MAX_YEAR
2977 interval = 1
2978 str = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR
2979 strhelp = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR_HELPTEXT
2980 strval = STR_JUST_INT
2981 cat = SC_EXPERT
2983 [SDTC_VAR]
2984 var = gui.drag_signals_density
2985 type = SLE_UINT8
2986 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2987 def = 4
2988 min = 1
2989 max = 20
2990 str = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY
2991 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_HELPTEXT
2992 strval = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_VALUE
2993 proc = DragSignalsDensityChanged
2994 cat = SC_BASIC
2996 [SDTC_BOOL]
2997 var = gui.drag_signals_fixed_distance
2998 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2999 def = false
3000 str = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE
3001 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE_HELPTEXT
3002 cat = SC_EXPERT
3004 [SDTC_VAR]
3005 var = gui.semaphore_build_before
3006 type = SLE_INT32
3007 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3008 def = 1950
3009 min = MIN_YEAR
3010 max = MAX_YEAR
3011 interval = 1
3012 str = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE
3013 strhelp = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE_HELPTEXT
3014 strval = STR_JUST_INT
3015 proc = ResetSignalVariant
3017 [SDTC_BOOL]
3018 var = gui.vehicle_income_warn
3019 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3020 def = true
3021 str = STR_CONFIG_SETTING_WARN_INCOME_LESS
3022 strhelp = STR_CONFIG_SETTING_WARN_INCOME_LESS_HELPTEXT
3023 cat = SC_BASIC
3025 [SDTC_VAR]
3026 var = gui.order_review_system
3027 type = SLE_UINT8
3028 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3029 guiflags = SGF_MULTISTRING
3030 def = 2
3031 min = 0
3032 max = 2
3033 str = STR_CONFIG_SETTING_ORDER_REVIEW
3034 strhelp = STR_CONFIG_SETTING_ORDER_REVIEW_HELPTEXT
3035 strval = STR_CONFIG_SETTING_ORDER_REVIEW_OFF
3036 cat = SC_BASIC
3038 [SDTC_BOOL]
3039 var = gui.lost_vehicle_warn
3040 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3041 def = true
3042 str = STR_CONFIG_SETTING_WARN_LOST_VEHICLE
3043 strhelp = STR_CONFIG_SETTING_WARN_LOST_VEHICLE_HELPTEXT
3045 [SDTC_BOOL]
3046 var = gui.disable_unsuitable_building
3047 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3048 def = true
3049 str = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING
3050 strhelp = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING_HELPTEXT
3051 proc = RedrawScreen
3052 cat = SC_EXPERT
3054 [SDTC_BOOL]
3055 var = gui.new_nonstop
3056 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3057 def = false
3058 str = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT
3059 strhelp = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT_HELPTEXT
3060 cat = SC_BASIC
3062 [SDTC_VAR]
3063 var = gui.stop_location
3064 type = SLE_UINT8
3065 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3066 guiflags = SGF_MULTISTRING
3067 def = 2
3068 min = 0
3069 max = 2
3070 interval = 1
3071 str = STR_CONFIG_SETTING_STOP_LOCATION
3072 strhelp = STR_CONFIG_SETTING_STOP_LOCATION_HELPTEXT
3073 strval = STR_CONFIG_SETTING_STOP_LOCATION_NEAR_END
3074 cat = SC_BASIC
3076 [SDTC_BOOL]
3077 var = gui.keep_all_autosave
3078 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3079 def = false
3081 [SDTC_BOOL]
3082 var = gui.autosave_on_exit
3083 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3084 def = false
3085 cat = SC_BASIC
3087 [SDTC_BOOL]
3088 var = gui.autosave_on_network_disconnect
3089 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3090 def = true
3091 cat = SC_EXPERT
3093 [SDTC_VAR]
3094 var = gui.max_num_autosaves
3095 type = SLE_UINT8
3096 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3097 def = 16
3098 min = 0
3099 max = 255
3101 [SDTC_BOOL]
3102 var = gui.auto_euro
3103 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3104 def = true
3106 [SDTC_VAR]
3107 var = gui.news_message_timeout
3108 type = SLE_UINT8
3109 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3110 def = 2
3111 min = 1
3112 max = 255
3114 [SDTC_BOOL]
3115 var = gui.show_track_reservation
3116 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3117 def = false
3118 str = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION
3119 strhelp = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION_HELPTEXT
3120 proc = RedrawScreen
3121 cat = SC_BASIC
3123 [SDTC_VAR]
3124 var = gui.default_signal_type
3125 type = SLE_UINT8
3126 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3127 guiflags = SGF_MULTISTRING
3128 def = 1
3129 min = 0
3130 max = 2
3131 interval = 1
3132 str = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE
3133 strhelp = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE_HELPTEXT
3134 strval = STR_CONFIG_SETTING_DEFAULT_SIGNAL_NORMAL
3135 cat = SC_BASIC
3137 [SDTC_VAR]
3138 var = gui.cycle_signal_types
3139 type = SLE_UINT8
3140 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3141 guiflags = SGF_MULTISTRING
3142 def = 2
3143 min = 0
3144 max = 2
3145 interval = 1
3146 str = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES
3147 strhelp = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES_HELPTEXT
3148 strval = STR_CONFIG_SETTING_CYCLE_SIGNAL_NORMAL
3150 [SDTC_VAR]
3151 var = gui.station_numtracks
3152 type = SLE_UINT8
3153 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3154 def = 1
3155 min = 1
3156 max = 7
3158 [SDTC_VAR]
3159 var = gui.station_platlength
3160 type = SLE_UINT8
3161 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3162 def = 5
3163 min = 1
3164 max = 7
3165 cat = SC_BASIC
3167 [SDTC_BOOL]
3168 var = gui.station_dragdrop
3169 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3170 def = true
3171 cat = SC_BASIC
3173 [SDTC_BOOL]
3174 var = gui.station_show_coverage
3175 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3176 def = false
3177 cat = SC_BASIC
3179 [SDTC_BOOL]
3180 var = gui.persistent_buildingtools
3181 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3182 def = true
3183 str = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS
3184 strhelp = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS_HELPTEXT
3185 cat = SC_BASIC
3187 [SDTC_BOOL]
3188 var = gui.expenses_layout
3189 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3190 def = false
3191 str = STR_CONFIG_SETTING_EXPENSES_LAYOUT
3192 strhelp = STR_CONFIG_SETTING_EXPENSES_LAYOUT_HELPTEXT
3193 proc = RedrawScreen
3195 [SDTC_VAR]
3196 var = gui.station_gui_group_order
3197 type = SLE_UINT8
3198 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3199 def = 0
3200 min = 0
3201 max = 5
3202 interval = 1
3204 [SDTC_VAR]
3205 var = gui.station_gui_sort_by
3206 type = SLE_UINT8
3207 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3208 def = 0
3209 min = 0
3210 max = 3
3211 interval = 1
3213 [SDTC_VAR]
3214 var = gui.station_gui_sort_order
3215 type = SLE_UINT8
3216 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3217 def = 0
3218 min = 0
3219 max = 1
3220 interval = 1
3222 [SDTC_VAR]
3223 var = gui.missing_strings_threshold
3224 type = SLE_UINT8
3225 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3226 def = 25
3227 min = 1
3228 max = UINT8_MAX
3229 cat = SC_EXPERT
3231 [SDTC_VAR]
3232 var = gui.graph_line_thickness
3233 type = SLE_UINT8
3234 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3235 def = 3
3236 min = 1
3237 max = 5
3238 str = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS
3239 strhelp = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS_HELPTEXT
3240 strval = STR_JUST_COMMA
3241 proc = RedrawScreen
3243 [SDTC_BOOL]
3244 var = gui.show_newgrf_name
3245 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3246 def = false
3247 str = STR_CONFIG_SETTING_SHOW_NEWGRF_NAME
3248 strhelp = STR_CONFIG_SETTING_SHOW_NEWGRF_NAME_HELPTEXT
3249 proc = RedrawScreen
3250 cat = SC_ADVANCED
3252 ; For the dedicated build we'll enable dates in logs by default.
3253 [SDTC_BOOL]
3254 ifdef = DEDICATED
3255 var = gui.show_date_in_logs
3256 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3257 def = true
3259 [SDTC_BOOL]
3260 ifndef = DEDICATED
3261 var = gui.show_date_in_logs
3262 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3263 def = false
3265 [SDTC_VAR]
3266 var = gui.settings_restriction_mode
3267 type = SLE_UINT8
3268 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3269 def = 0
3270 min = 0
3271 max = 2
3273 [SDTC_VAR]
3274 var = gui.developer
3275 type = SLE_UINT8
3276 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3277 def = 1
3278 min = 0
3279 max = 2
3280 cat = SC_EXPERT
3282 [SDTC_BOOL]
3283 var = gui.newgrf_developer_tools
3284 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3285 def = false
3286 proc = InvalidateNewGRFChangeWindows
3287 cat = SC_EXPERT
3289 [SDTC_BOOL]
3290 var = gui.ai_developer_tools
3291 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3292 def = false
3293 proc = InvalidateAISettingsWindow
3294 cat = SC_EXPERT
3296 [SDTC_BOOL]
3297 var = gui.scenario_developer
3298 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3299 def = false
3300 proc = InvalidateNewGRFChangeWindows
3302 [SDTC_BOOL]
3303 var = gui.newgrf_show_old_versions
3304 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3305 def = false
3306 cat = SC_EXPERT
3308 [SDTC_VAR]
3309 var = gui.newgrf_default_palette
3310 type = SLE_UINT8
3311 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3312 guiflags = SGF_MULTISTRING
3313 def = 1
3314 min = 0
3315 max = 1
3316 proc = UpdateNewGRFConfigPalette
3317 cat = SC_EXPERT
3319 [SDTC_VAR]
3320 var = gui.console_backlog_timeout
3321 type = SLE_UINT16
3322 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3323 def = 100
3324 min = 10
3325 max = 65500
3327 [SDTC_VAR]
3328 var = gui.console_backlog_length
3329 type = SLE_UINT16
3330 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3331 def = 100
3332 min = 10
3333 max = 65500
3335 [SDTC_BOOL]
3336 var = sound.news_ticker
3337 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3338 def = true
3339 str = STR_CONFIG_SETTING_SOUND_TICKER
3340 strhelp = STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT
3342 [SDTC_BOOL]
3343 var = sound.news_full
3344 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3345 def = true
3346 str = STR_CONFIG_SETTING_SOUND_NEWS
3347 strhelp = STR_CONFIG_SETTING_SOUND_NEWS_HELPTEXT
3349 [SDTC_BOOL]
3350 var = sound.new_year
3351 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3352 def = true
3353 str = STR_CONFIG_SETTING_SOUND_NEW_YEAR
3354 strhelp = STR_CONFIG_SETTING_SOUND_NEW_YEAR_HELPTEXT
3356 [SDTC_BOOL]
3357 var = sound.confirm
3358 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3359 def = true
3360 str = STR_CONFIG_SETTING_SOUND_CONFIRM
3361 strhelp = STR_CONFIG_SETTING_SOUND_CONFIRM_HELPTEXT
3363 [SDTC_BOOL]
3364 var = sound.click_beep
3365 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3366 def = true
3367 str = STR_CONFIG_SETTING_SOUND_CLICK
3368 strhelp = STR_CONFIG_SETTING_SOUND_CLICK_HELPTEXT
3370 [SDTC_BOOL]
3371 var = sound.disaster
3372 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3373 def = true
3374 str = STR_CONFIG_SETTING_SOUND_DISASTER
3375 strhelp = STR_CONFIG_SETTING_SOUND_DISASTER_HELPTEXT
3377 [SDTC_BOOL]
3378 var = sound.vehicle
3379 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3380 def = true
3381 str = STR_CONFIG_SETTING_SOUND_VEHICLE
3382 strhelp = STR_CONFIG_SETTING_SOUND_VEHICLE_HELPTEXT
3384 [SDTC_BOOL]
3385 var = sound.ambient
3386 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3387 def = true
3388 str = STR_CONFIG_SETTING_SOUND_AMBIENT
3389 strhelp = STR_CONFIG_SETTING_SOUND_AMBIENT_HELPTEXT
3391 [SDTC_VAR]
3392 var = music.playlist
3393 type = SLE_UINT8
3394 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3395 def = 0
3396 min = 0
3397 max = 5
3398 interval = 1
3399 cat = SC_BASIC
3401 [SDTC_VAR]
3402 var = music.music_vol
3403 type = SLE_UINT8
3404 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3405 def = 127
3406 min = 0
3407 max = 127
3408 interval = 1
3409 cat = SC_BASIC
3411 [SDTC_VAR]
3412 var = music.effect_vol
3413 type = SLE_UINT8
3414 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3415 def = 127
3416 min = 0
3417 max = 127
3418 interval = 1
3419 cat = SC_BASIC
3421 [SDTC_LIST]
3422 var = music.custom_1
3423 type = SLE_UINT8
3424 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3425 def = nullptr
3426 cat = SC_BASIC
3428 [SDTC_LIST]
3429 var = music.custom_2
3430 type = SLE_UINT8
3431 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3432 def = nullptr
3433 cat = SC_BASIC
3435 [SDTC_BOOL]
3436 var = music.playing
3437 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3438 def = true
3439 cat = SC_BASIC
3441 [SDTC_BOOL]
3442 var = music.shuffle
3443 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3444 def = false
3445 cat = SC_BASIC
3447 [SDTC_OMANY]
3448 var = news_display.arrival_player
3449 type = SLE_UINT8
3450 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3451 guiflags = SGF_MULTISTRING
3452 def = 2
3453 max = 2
3454 full = _news_display
3455 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN
3456 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN_HELPTEXT
3457 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3459 [SDTC_OMANY]
3460 var = news_display.arrival_other
3461 type = SLE_UINT8
3462 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3463 guiflags = SGF_MULTISTRING
3464 def = 1
3465 max = 2
3466 full = _news_display
3467 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER
3468 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER_HELPTEXT
3469 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3471 [SDTC_OMANY]
3472 var = news_display.accident
3473 type = SLE_UINT8
3474 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3475 guiflags = SGF_MULTISTRING
3476 def = 2
3477 max = 2
3478 full = _news_display
3479 str = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS
3480 strhelp = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS_HELPTEXT
3481 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3483 [SDTC_OMANY]
3484 var = news_display.company_info
3485 type = SLE_UINT8
3486 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3487 guiflags = SGF_MULTISTRING
3488 def = 2
3489 max = 2
3490 full = _news_display
3491 str = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION
3492 strhelp = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION_HELPTEXT
3493 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3495 [SDTC_OMANY]
3496 var = news_display.open
3497 type = SLE_UINT8
3498 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3499 guiflags = SGF_MULTISTRING
3500 def = 1
3501 max = 2
3502 full = _news_display
3503 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN
3504 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN_HELPTEXT
3505 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3507 [SDTC_OMANY]
3508 var = news_display.close
3509 type = SLE_UINT8
3510 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3511 guiflags = SGF_MULTISTRING
3512 def = 1
3513 max = 2
3514 full = _news_display
3515 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE
3516 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE_HELPTEXT
3517 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3519 [SDTC_OMANY]
3520 var = news_display.economy
3521 type = SLE_UINT8
3522 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3523 guiflags = SGF_MULTISTRING
3524 def = 2
3525 max = 2
3526 full = _news_display
3527 str = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES
3528 strhelp = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES_HELPTEXT
3529 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3531 [SDTC_OMANY]
3532 var = news_display.production_player
3533 type = SLE_UINT8
3534 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3535 guiflags = SGF_MULTISTRING
3536 def = 1
3537 max = 2
3538 full = _news_display
3539 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY
3540 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY_HELPTEXT
3541 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3543 [SDTC_OMANY]
3544 var = news_display.production_other
3545 type = SLE_UINT8
3546 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3547 guiflags = SGF_MULTISTRING
3548 def = 0
3549 max = 2
3550 full = _news_display
3551 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_OTHER
3552 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_OTHER_HELPTEXT
3553 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3555 [SDTC_OMANY]
3556 var = news_display.production_nobody
3557 type = SLE_UINT8
3558 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3559 guiflags = SGF_MULTISTRING
3560 def = 0
3561 max = 2
3562 full = _news_display
3563 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED
3564 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED_HELPTEXT
3565 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3567 [SDTC_OMANY]
3568 var = news_display.advice
3569 type = SLE_UINT8
3570 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3571 guiflags = SGF_MULTISTRING
3572 def = 2
3573 max = 2
3574 full = _news_display
3575 str = STR_CONFIG_SETTING_NEWS_ADVICE
3576 strhelp = STR_CONFIG_SETTING_NEWS_ADVICE_HELPTEXT
3577 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3579 [SDTC_OMANY]
3580 var = news_display.new_vehicles
3581 type = SLE_UINT8
3582 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3583 guiflags = SGF_MULTISTRING
3584 def = 2
3585 max = 2
3586 full = _news_display
3587 str = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES
3588 strhelp = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES_HELPTEXT
3589 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3591 [SDTC_OMANY]
3592 var = news_display.acceptance
3593 type = SLE_UINT8
3594 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3595 guiflags = SGF_MULTISTRING
3596 def = 2
3597 max = 2
3598 full = _news_display
3599 str = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE
3600 strhelp = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE_HELPTEXT
3601 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3603 [SDTC_OMANY]
3604 var = news_display.subsidies
3605 type = SLE_UINT8
3606 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3607 guiflags = SGF_MULTISTRING
3608 def = 1
3609 max = 2
3610 full = _news_display
3611 str = STR_CONFIG_SETTING_NEWS_SUBSIDIES
3612 strhelp = STR_CONFIG_SETTING_NEWS_SUBSIDIES_HELPTEXT
3613 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3615 [SDTC_OMANY]
3616 var = news_display.general
3617 type = SLE_UINT8
3618 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3619 guiflags = SGF_MULTISTRING
3620 def = 2
3621 max = 2
3622 full = _news_display
3623 str = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION
3624 strhelp = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION_HELPTEXT
3625 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3627 [SDTC_VAR]
3628 var = gui.network_chat_box_width_pct
3629 type = SLE_UINT16
3630 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3631 def = 40
3632 min = 10
3633 max = 100
3634 cat = SC_EXPERT
3636 [SDTC_VAR]
3637 var = gui.network_chat_box_height
3638 type = SLE_UINT8
3639 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3640 def = 25
3641 min = 5
3642 max = 255
3643 cat = SC_EXPERT
3645 [SDTC_VAR]
3646 var = gui.network_chat_timeout
3647 type = SLE_UINT16
3648 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3649 def = 20
3650 min = 1
3651 max = 65535
3652 cat = SC_EXPERT
3654 [SDTC_VAR]
3655 var = network.sync_freq
3656 type = SLE_UINT16
3657 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3658 guiflags = SGF_NETWORK_ONLY
3659 def = 100
3660 min = 0
3661 max = 100
3662 cat = SC_EXPERT
3664 [SDTC_VAR]
3665 var = network.frame_freq
3666 type = SLE_UINT8
3667 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3668 guiflags = SGF_NETWORK_ONLY
3669 def = 0
3670 min = 0
3671 max = 100
3672 cat = SC_EXPERT
3674 [SDTC_VAR]
3675 var = network.commands_per_frame
3676 type = SLE_UINT16
3677 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3678 guiflags = SGF_NETWORK_ONLY
3679 def = 2
3680 min = 1
3681 max = 65535
3682 cat = SC_EXPERT
3684 [SDTC_VAR]
3685 var = network.max_commands_in_queue
3686 type = SLE_UINT16
3687 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3688 guiflags = SGF_NETWORK_ONLY
3689 def = 16
3690 min = 1
3691 max = 65535
3692 cat = SC_EXPERT
3694 [SDTC_VAR]
3695 var = network.bytes_per_frame
3696 type = SLE_UINT16
3697 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3698 guiflags = SGF_NETWORK_ONLY
3699 def = 8
3700 min = 1
3701 max = 65535
3702 cat = SC_EXPERT
3704 [SDTC_VAR]
3705 var = network.bytes_per_frame_burst
3706 type = SLE_UINT16
3707 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3708 guiflags = SGF_NETWORK_ONLY
3709 def = 256
3710 min = 1
3711 max = 65535
3712 cat = SC_EXPERT
3714 [SDTC_VAR]
3715 var = network.max_init_time
3716 type = SLE_UINT16
3717 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3718 guiflags = SGF_NETWORK_ONLY
3719 def = 100
3720 min = 0
3721 max = 32000
3722 cat = SC_EXPERT
3724 [SDTC_VAR]
3725 var = network.max_join_time
3726 type = SLE_UINT16
3727 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3728 guiflags = SGF_NETWORK_ONLY
3729 def = 500
3730 min = 0
3731 max = 32000
3733 [SDTC_VAR]
3734 var = network.max_download_time
3735 type = SLE_UINT16
3736 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3737 guiflags = SGF_NETWORK_ONLY
3738 def = 1000
3739 min = 0
3740 max = 32000
3742 [SDTC_VAR]
3743 var = network.max_password_time
3744 type = SLE_UINT16
3745 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3746 guiflags = SGF_NETWORK_ONLY
3747 def = 2000
3748 min = 0
3749 max = 32000
3751 [SDTC_VAR]
3752 var = network.max_lag_time
3753 type = SLE_UINT16
3754 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3755 guiflags = SGF_NETWORK_ONLY
3756 def = 500
3757 min = 0
3758 max = 32000
3760 [SDTC_BOOL]
3761 var = network.pause_on_join
3762 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3763 guiflags = SGF_NETWORK_ONLY
3764 def = true
3766 [SDTC_VAR]
3767 var = network.server_port
3768 type = SLE_UINT16
3769 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3770 guiflags = SGF_NETWORK_ONLY
3771 def = NETWORK_DEFAULT_PORT
3772 min = 0
3773 max = 65535
3774 cat = SC_EXPERT
3776 [SDTC_VAR]
3777 var = network.server_admin_port
3778 type = SLE_UINT16
3779 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3780 guiflags = SGF_NETWORK_ONLY
3781 def = NETWORK_ADMIN_PORT
3782 min = 0
3783 max = 65535
3784 cat = SC_EXPERT
3786 [SDTC_BOOL]
3787 var = network.server_admin_chat
3788 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3789 guiflags = SGF_NETWORK_ONLY
3790 def = true
3791 cat = SC_EXPERT
3793 [SDTC_BOOL]
3794 var = network.server_advertise
3795 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3796 guiflags = SGF_NETWORK_ONLY
3797 def = false
3799 [SDTC_VAR]
3800 var = network.lan_internet
3801 type = SLE_UINT8
3802 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3803 guiflags = SGF_NETWORK_ONLY
3804 def = 1
3805 min = 0
3806 max = 1
3808 [SDTC_STR]
3809 var = network.client_name
3810 type = SLE_STRB
3811 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3812 def = nullptr
3813 proc = UpdateClientName
3814 cat = SC_BASIC
3816 [SDTC_STR]
3817 var = network.server_password
3818 type = SLE_STRB
3819 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3820 guiflags = SGF_NETWORK_ONLY
3821 def = nullptr
3822 proc = UpdateServerPassword
3823 cat = SC_BASIC
3825 [SDTC_STR]
3826 var = network.rcon_password
3827 type = SLE_STRB
3828 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3829 guiflags = SGF_NETWORK_ONLY
3830 def = nullptr
3831 proc = UpdateRconPassword
3832 cat = SC_BASIC
3834 [SDTC_STR]
3835 var = network.admin_password
3836 type = SLE_STRB
3837 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3838 guiflags = SGF_NETWORK_ONLY
3839 def = nullptr
3840 cat = SC_BASIC
3842 [SDTC_STR]
3843 var = network.default_company_pass
3844 type = SLE_STRB
3845 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3846 def = nullptr
3848 [SDTC_STR]
3849 var = network.server_name
3850 type = SLE_STRB
3851 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3852 guiflags = SGF_NETWORK_ONLY
3853 def = nullptr
3854 cat = SC_BASIC
3856 [SDTC_STR]
3857 var = network.connect_to_ip
3858 type = SLE_STRB
3859 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3860 def = nullptr
3862 [SDTC_STR]
3863 var = network.network_id
3864 type = SLE_STRB
3865 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3866 guiflags = SGF_NETWORK_ONLY
3867 def = nullptr
3869 [SDTC_BOOL]
3870 var = network.autoclean_companies
3871 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3872 guiflags = SGF_NETWORK_ONLY
3873 def = false
3875 [SDTC_VAR]
3876 var = network.autoclean_unprotected
3877 type = SLE_UINT8
3878 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3879 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3880 def = 12
3881 min = 0
3882 max = 240
3884 [SDTC_VAR]
3885 var = network.autoclean_protected
3886 type = SLE_UINT8
3887 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3888 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3889 def = 36
3890 min = 0
3891 max = 240
3893 [SDTC_VAR]
3894 var = network.autoclean_novehicles
3895 type = SLE_UINT8
3896 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3897 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3898 def = 0
3899 min = 0
3900 max = 240
3902 [SDTC_VAR]
3903 var = network.max_companies
3904 type = SLE_UINT8
3905 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3906 guiflags = SGF_NETWORK_ONLY
3907 def = 15
3908 min = 1
3909 max = MAX_COMPANIES
3910 proc = UpdateClientConfigValues
3911 cat = SC_BASIC
3913 [SDTC_VAR]
3914 var = network.max_clients
3915 type = SLE_UINT8
3916 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3917 guiflags = SGF_NETWORK_ONLY
3918 def = 25
3919 min = 2
3920 max = MAX_CLIENTS
3921 cat = SC_BASIC
3923 [SDTC_VAR]
3924 var = network.max_spectators
3925 type = SLE_UINT8
3926 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3927 guiflags = SGF_NETWORK_ONLY
3928 def = 15
3929 min = 0
3930 max = MAX_CLIENTS
3931 proc = UpdateClientConfigValues
3932 cat = SC_BASIC
3934 [SDTC_VAR]
3935 var = network.restart_game_year
3936 type = SLE_INT32
3937 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3938 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3939 def = 0
3940 min = MIN_YEAR
3941 max = MAX_YEAR
3942 interval = 1
3944 [SDTC_VAR]
3945 var = network.min_active_clients
3946 type = SLE_UINT8
3947 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3948 guiflags = SGF_NETWORK_ONLY
3949 def = 0
3950 min = 0
3951 max = MAX_CLIENTS
3953 [SDTC_OMANY]
3954 var = network.server_lang
3955 type = SLE_UINT8
3956 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3957 guiflags = SGF_NETWORK_ONLY
3958 def = 0
3959 max = 35
3960 full = _server_langs
3961 cat = SC_BASIC
3963 [SDTC_BOOL]
3964 var = network.reload_cfg
3965 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3966 guiflags = SGF_NETWORK_ONLY
3967 def = false
3968 cat = SC_EXPERT
3970 [SDTC_STR]
3971 var = network.last_host
3972 type = SLE_STRB
3973 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3974 def = """"
3975 cat = SC_EXPERT
3977 [SDTC_VAR]
3978 var = network.last_port
3979 type = SLE_UINT16
3980 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3981 def = 0
3982 min = 0
3983 max = UINT16_MAX
3984 cat = SC_EXPERT
3986 [SDTC_BOOL]
3987 var = network.no_http_content_downloads
3988 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3989 def = false
3990 cat = SC_EXPERT
3992 ; Since the network code (CmdChangeSetting and friends) use the index in this array to decide
3993 ; which setting the server is talking about all conditional compilation of this array must be at the
3994 ; end. This isn't really the best solution, the settings the server can tell the client about should
3995 ; either use a separate array or some other form of identifier.
3998 ; We might need to emulate a right mouse button on mac
3999 [SDTC_VAR]
4000 ifdef = __APPLE__
4001 var = gui.right_mouse_btn_emulation
4002 type = SLE_UINT8
4003 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
4004 guiflags = SGF_MULTISTRING
4005 def = 0
4006 min = 0
4007 max = 2
4008 str = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU
4009 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_HELPTEXT
4010 strval = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_COMMAND
4011 cat = SC_BASIC
4013 [SDT_END]