(svn r27950) -Merge: Documentation updates from 1.7 branch
[openttd.git] / src / table / settings.ini
blob23fca32a43a61954da9dc01bf5f8b6645775ad7b
1 ; $Id$
3 ; This file is part of OpenTTD.
4 ; 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.
5 ; 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.
6 ; 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/>.
9 [pre-amble]
10 /* Begin - Callback Functions for the various settings */
11 static bool v_PositionMainToolbar(int32 p1);
12 static bool v_PositionStatusbar(int32 p1);
13 static bool PopulationInLabelActive(int32 p1);
14 static bool RedrawScreen(int32 p1);
15 static bool RedrawSmallmap(int32 p1);
16 static bool StationSpreadChanged(int32 p1);
17 static bool InvalidateBuildIndustryWindow(int32 p1);
18 static bool CloseSignalGUI(int32 p1);
19 static bool InvalidateTownViewWindow(int32 p1);
20 static bool DeleteSelectStationWindow(int32 p1);
21 static bool UpdateConsists(int32 p1);
22 static bool TrainAccelerationModelChanged(int32 p1);
23 static bool RoadVehAccelerationModelChanged(int32 p1);
24 static bool TrainSlopeSteepnessChanged(int32 p1);
25 static bool RoadVehSlopeSteepnessChanged(int32 p1);
26 static bool DragSignalsDensityChanged(int32);
27 static bool TownFoundingChanged(int32 p1);
28 static bool DifficultyNoiseChange(int32 i);
29 static bool MaxNoAIsChange(int32 i);
30 static bool CheckRoadSide(int p1);
31 static bool ChangeMaxHeightLevel(int32 p1);
32 static bool CheckFreeformEdges(int32 p1);
33 static bool ChangeDynamicEngines(int32 p1);
34 static bool StationCatchmentChanged(int32 p1);
35 static bool InvalidateVehTimetableWindow(int32 p1);
36 static bool InvalidateCompanyLiveryWindow(int32 p1);
37 static bool InvalidateNewGRFChangeWindows(int32 p1);
38 static bool InvalidateIndustryViewWindow(int32 p1);
39 static bool InvalidateAISettingsWindow(int32 p1);
40 static bool RedrawTownAuthority(int32 p1);
41 static bool InvalidateCompanyInfrastructureWindow(int32 p1);
42 static bool InvalidateCompanyWindow(int32 p1);
43 static bool ZoomMinMaxChanged(int32 p1);
44 static bool MaxVehiclesChanged(int32 p1);
46 #ifdef ENABLE_NETWORK
47 static bool UpdateClientName(int32 p1);
48 static bool UpdateServerPassword(int32 p1);
49 static bool UpdateRconPassword(int32 p1);
50 static bool UpdateClientConfigValues(int32 p1);
51 #endif /* ENABLE_NETWORK */
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 = 0
85 interval = 0
86 str = STR_NULL
87 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
88 strval = STR_NULL
89 proc = NULL
90 load = NULL
91 from = 0
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 compatability.
99 [SDT_VAR]
100 base = GameSettings
101 var = difficulty.max_no_competitors
102 type = SLE_UINT8
103 from = 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 = 97
114 to = 109
116 [SDT_VAR]
117 base = GameSettings
118 var = difficulty.number_towns
119 type = SLE_UINT8
120 from = 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 = 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 = 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 = 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 = 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 = 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 = 97
206 to = 109
208 [SDT_VAR]
209 base = GameSettings
210 var = difficulty.vehicle_breakdowns
211 type = SLE_UINT8
212 from = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 97
326 to = 177
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 = 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 = 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 = 97
364 to = 163
366 [SDT_OMANY]
367 base = GameSettings
368 var = vehicle.road_side
369 type = SLE_UINT8
370 from = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 158
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 = 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 = 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 = 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 = 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 ; link graph
622 [SDT_VAR]
623 base = GameSettings
624 var = linkgraph.recalc_interval
625 type = SLE_UINT16
626 from = 183
627 def = 4
628 min = 2
629 max = 32
630 interval = 2
631 str = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL
632 strval = STR_JUST_COMMA
633 strhelp = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL_HELPTEXT
635 [SDT_VAR]
636 base = GameSettings
637 var = linkgraph.recalc_time
638 type = SLE_UINT16
639 from = 183
640 def = 16
641 min = 1
642 max = 4096
643 interval = 1
644 str = STR_CONFIG_SETTING_LINKGRAPH_TIME
645 strval = STR_JUST_COMMA
646 strhelp = STR_CONFIG_SETTING_LINKGRAPH_TIME_HELPTEXT
648 [SDT_VAR]
649 base = GameSettings
650 var = linkgraph.distribution_pax
651 type = SLE_UINT8
652 from = 183
653 guiflags = SGF_MULTISTRING
654 def = DT_MANUAL
655 min = DT_MIN
656 max = DT_MAX
657 interval = 1
658 str = STR_CONFIG_SETTING_DISTRIBUTION_PAX
659 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
660 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_PAX_HELPTEXT
662 [SDT_VAR]
663 base = GameSettings
664 var = linkgraph.distribution_mail
665 type = SLE_UINT8
666 from = 183
667 guiflags = SGF_MULTISTRING
668 def = DT_MANUAL
669 min = DT_MIN
670 max = DT_MAX
671 interval = 1
672 str = STR_CONFIG_SETTING_DISTRIBUTION_MAIL
673 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
674 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_MAIL_HELPTEXT
676 [SDT_VAR]
677 base = GameSettings
678 var = linkgraph.distribution_armoured
679 type = SLE_UINT8
680 from = 183
681 guiflags = SGF_MULTISTRING
682 def = DT_MANUAL
683 min = DT_MIN
684 max = DT_MAX
685 interval = 1
686 str = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED
687 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
688 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED_HELPTEXT
690 [SDT_VAR]
691 base = GameSettings
692 var = linkgraph.distribution_default
693 type = SLE_UINT8
694 from = 183
695 guiflags = SGF_MULTISTRING
696 def = DT_MANUAL
697 min = DT_BEGIN
698 max = DT_MAX_NONSYMMETRIC
699 interval = 1
700 str = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT
701 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
702 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT_HELPTEXT
704 [SDT_VAR]
705 base = GameSettings
706 var = linkgraph.accuracy
707 type = SLE_UINT8
708 from = 183
709 def = 16
710 min = 2
711 max = 64
712 interval = 1
713 str = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY
714 strval = STR_JUST_COMMA
715 strhelp = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY_HELPTEXT
717 [SDT_VAR]
718 base = GameSettings
719 var = linkgraph.demand_distance
720 type = SLE_UINT8
721 from = 183
722 def = 100
723 min = 0
724 max = 255
725 interval = 5
726 str = STR_CONFIG_SETTING_DEMAND_DISTANCE
727 strval = STR_CONFIG_SETTING_PERCENTAGE
728 strhelp = STR_CONFIG_SETTING_DEMAND_DISTANCE_HELPTEXT
730 [SDT_VAR]
731 base = GameSettings
732 var = linkgraph.demand_size
733 type = SLE_UINT8
734 from = 183
735 def = 100
736 min = 0
737 max = 100
738 interval = 5
739 str = STR_CONFIG_SETTING_DEMAND_SIZE
740 strval = STR_CONFIG_SETTING_PERCENTAGE
741 strhelp = STR_CONFIG_SETTING_DEMAND_SIZE_HELPTEXT
743 [SDT_VAR]
744 base = GameSettings
745 var = linkgraph.short_path_saturation
746 type = SLE_UINT8
747 from = 183
748 def = 80
749 min = 0
750 max = 250
751 interval = 5
752 str = STR_CONFIG_SETTING_SHORT_PATH_SATURATION
753 strval = STR_CONFIG_SETTING_PERCENTAGE
754 strhelp = STR_CONFIG_SETTING_SHORT_PATH_SATURATION_HELPTEXT
756 ; Vehicles
758 [SDT_VAR]
759 base = GameSettings
760 var = vehicle.train_acceleration_model
761 type = SLE_UINT8
762 guiflags = SGF_MULTISTRING
763 def = 1
764 min = 0
765 max = 1
766 interval = 1
767 str = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL
768 strhelp = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL_HELPTEXT
769 strval = STR_CONFIG_SETTING_ORIGINAL
770 proc = TrainAccelerationModelChanged
772 [SDT_VAR]
773 base = GameSettings
774 var = vehicle.roadveh_acceleration_model
775 type = SLE_UINT8
776 from = 139
777 guiflags = SGF_MULTISTRING
778 def = 1
779 min = 0
780 max = 1
781 interval = 1
782 str = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL
783 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL_HELPTEXT
784 strval = STR_CONFIG_SETTING_ORIGINAL
785 proc = RoadVehAccelerationModelChanged
787 [SDT_VAR]
788 base = GameSettings
789 var = vehicle.train_slope_steepness
790 type = SLE_UINT8
791 from = 133
792 def = 3
793 min = 0
794 max = 10
795 interval = 1
796 str = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS
797 strhelp = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS_HELPTEXT
798 strval = STR_CONFIG_SETTING_PERCENTAGE
799 proc = TrainSlopeSteepnessChanged
800 cat = SC_EXPERT
802 [SDT_VAR]
803 base = GameSettings
804 var = vehicle.roadveh_slope_steepness
805 type = SLE_UINT8
806 from = 139
807 def = 7
808 min = 0
809 max = 10
810 interval = 1
811 str = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS
812 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS_HELPTEXT
813 strval = STR_CONFIG_SETTING_PERCENTAGE
814 proc = RoadVehSlopeSteepnessChanged
815 cat = SC_EXPERT
817 [SDT_BOOL]
818 base = GameSettings
819 var = pf.forbid_90_deg
820 def = false
821 str = STR_CONFIG_SETTING_FORBID_90_DEG
822 strhelp = STR_CONFIG_SETTING_FORBID_90_DEG_HELPTEXT
823 cat = SC_EXPERT
825 [SDT_VAR]
826 base = GameSettings
827 var = vehicle.max_train_length
828 type = SLE_UINT8
829 from = 159
830 def = 7
831 min = 1
832 max = 64
833 interval = 1
834 str = STR_CONFIG_SETTING_TRAIN_LENGTH
835 strhelp = STR_CONFIG_SETTING_TRAIN_LENGTH_HELPTEXT
836 strval = STR_CONFIG_SETTING_TILE_LENGTH
837 cat = SC_BASIC
839 ; vehicle.mammoth_trains
840 [SDT_NULL]
841 length = 1
842 to = 158
844 [SDT_VAR]
845 base = GameSettings
846 var = vehicle.smoke_amount
847 type = SLE_UINT8
848 from = 145
849 guiflags = SGF_MULTISTRING
850 def = 1
851 min = 0
852 max = 2
853 str = STR_CONFIG_SETTING_SMOKE_AMOUNT
854 strhelp = STR_CONFIG_SETTING_SMOKE_AMOUNT_HELPTEXT
855 strval = STR_CONFIG_SETTING_NONE
857 ; order.gotodepot
858 [SDT_NULL]
859 length = 1
860 to = 158
862 ; path finder
864 [SDT_BOOL]
865 base = GameSettings
866 var = pf.roadveh_queue
867 def = true
868 cat = SC_EXPERT
870 [SDT_BOOL]
871 base = GameSettings
872 var = pf.new_pathfinding_all
873 to = 86
874 def = false
875 cat = SC_EXPERT
877 [SDT_BOOL]
878 base = GameSettings
879 var = pf.yapf.ship_use_yapf
880 from = 28
881 to = 86
882 def = false
883 cat = SC_EXPERT
885 [SDT_BOOL]
886 base = GameSettings
887 var = pf.yapf.road_use_yapf
888 from = 28
889 to = 86
890 def = true
891 cat = SC_EXPERT
893 [SDT_BOOL]
894 base = GameSettings
895 var = pf.yapf.rail_use_yapf
896 from = 28
897 to = 86
898 def = true
899 cat = SC_EXPERT
902 [SDT_VAR]
903 base = GameSettings
904 var = pf.pathfinder_for_trains
905 type = SLE_UINT8
906 from = 87
907 guiflags = SGF_MULTISTRING
908 def = 2
909 min = 1
910 max = 2
911 interval = 1
912 str = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS
913 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS_HELPTEXT
914 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
915 cat = SC_EXPERT
917 [SDT_VAR]
918 base = GameSettings
919 var = pf.pathfinder_for_roadvehs
920 type = SLE_UINT8
921 from = 87
922 guiflags = SGF_MULTISTRING
923 def = 2
924 min = 1
925 max = 2
926 interval = 1
927 str = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES
928 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES_HELPTEXT
929 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
930 cat = SC_EXPERT
932 [SDT_VAR]
933 base = GameSettings
934 var = pf.pathfinder_for_ships
935 type = SLE_UINT8
936 from = 87
937 guiflags = SGF_MULTISTRING
938 def = 2
939 min = 0
940 max = 2
941 interval = 1
942 str = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS
943 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS_HELPTEXT
944 strval = STR_CONFIG_SETTING_PATHFINDER_OPF
945 cat = SC_EXPERT
947 [SDT_BOOL]
948 base = GameSettings
949 var = vehicle.never_expire_vehicles
950 guiflags = SGF_NO_NETWORK
951 def = false
952 str = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES
953 strhelp = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES_HELPTEXT
955 [SDT_VAR]
956 base = GameSettings
957 var = vehicle.max_trains
958 type = SLE_UINT16
959 def = 500
960 min = 0
961 max = 5000
962 str = STR_CONFIG_SETTING_MAX_TRAINS
963 strhelp = STR_CONFIG_SETTING_MAX_TRAINS_HELPTEXT
964 strval = STR_JUST_COMMA
965 proc = MaxVehiclesChanged
966 cat = SC_BASIC
968 [SDT_VAR]
969 base = GameSettings
970 var = vehicle.max_roadveh
971 type = SLE_UINT16
972 def = 500
973 min = 0
974 max = 5000
975 str = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES
976 strhelp = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES_HELPTEXT
977 strval = STR_JUST_COMMA
978 proc = MaxVehiclesChanged
979 cat = SC_BASIC
981 [SDT_VAR]
982 base = GameSettings
983 var = vehicle.max_aircraft
984 type = SLE_UINT16
985 def = 200
986 min = 0
987 max = 5000
988 str = STR_CONFIG_SETTING_MAX_AIRCRAFT
989 strhelp = STR_CONFIG_SETTING_MAX_AIRCRAFT_HELPTEXT
990 strval = STR_JUST_COMMA
991 proc = MaxVehiclesChanged
992 cat = SC_BASIC
994 [SDT_VAR]
995 base = GameSettings
996 var = vehicle.max_ships
997 type = SLE_UINT16
998 def = 300
999 min = 0
1000 max = 5000
1001 str = STR_CONFIG_SETTING_MAX_SHIPS
1002 strhelp = STR_CONFIG_SETTING_MAX_SHIPS_HELPTEXT
1003 strval = STR_JUST_COMMA
1004 proc = MaxVehiclesChanged
1005 cat = SC_BASIC
1007 [SDTG_BOOL]
1008 name = NULL
1009 guiflags = SGF_NO_NETWORK
1010 var = _old_vds.servint_ispercent
1011 def = false
1012 to = 119
1014 [SDTG_VAR]
1015 name = NULL
1016 type = SLE_UINT16
1017 guiflags = SGF_0ISDISABLED
1018 var = _old_vds.servint_trains
1019 def = 150
1020 min = 5
1021 max = 800
1022 to = 119
1024 [SDTG_VAR]
1025 name = NULL
1026 type = SLE_UINT16
1027 guiflags = SGF_0ISDISABLED
1028 var = _old_vds.servint_roadveh
1029 def = 150
1030 min = 5
1031 max = 800
1032 to = 119
1034 [SDTG_VAR]
1035 name = NULL
1036 type = SLE_UINT16
1037 guiflags = SGF_0ISDISABLED
1038 var = _old_vds.servint_ships
1039 def = 360
1040 min = 5
1041 max = 800
1042 to = 119
1044 [SDTG_VAR]
1045 name = NULL
1046 type = SLE_UINT16
1047 guiflags = SGF_0ISDISABLED
1048 var = _old_vds.servint_aircraft
1049 def = 150
1050 min = 5
1051 max = 800
1052 to = 119
1054 [SDT_BOOL]
1055 base = GameSettings
1056 var = order.no_servicing_if_no_breakdowns
1057 def = true
1058 str = STR_CONFIG_SETTING_NOSERVICE
1059 strhelp = STR_CONFIG_SETTING_NOSERVICE_HELPTEXT
1061 [SDT_BOOL]
1062 base = GameSettings
1063 var = vehicle.wagon_speed_limits
1064 guiflags = SGF_NO_NETWORK
1065 def = true
1066 str = STR_CONFIG_SETTING_WAGONSPEEDLIMITS
1067 strhelp = STR_CONFIG_SETTING_WAGONSPEEDLIMITS_HELPTEXT
1068 proc = UpdateConsists
1070 [SDT_BOOL]
1071 base = GameSettings
1072 var = vehicle.disable_elrails
1073 from = 38
1074 guiflags = SGF_NO_NETWORK
1075 def = false
1076 str = STR_CONFIG_SETTING_DISABLE_ELRAILS
1077 strhelp = STR_CONFIG_SETTING_DISABLE_ELRAILS_HELPTEXT
1078 proc = SettingsDisableElrail
1079 cat = SC_EXPERT
1081 [SDT_VAR]
1082 base = GameSettings
1083 var = vehicle.freight_trains
1084 type = SLE_UINT8
1085 from = 39
1086 guiflags = SGF_NO_NETWORK
1087 def = 1
1088 min = 1
1089 max = 255
1090 interval = 1
1091 str = STR_CONFIG_SETTING_FREIGHT_TRAINS
1092 strhelp = STR_CONFIG_SETTING_FREIGHT_TRAINS_HELPTEXT
1093 strval = STR_JUST_COMMA
1094 proc = UpdateConsists
1096 ; order.timetabling
1097 [SDT_NULL]
1098 length = 1
1099 from = 67
1100 to = 158
1102 [SDT_VAR]
1103 base = GameSettings
1104 var = vehicle.plane_speed
1105 type = SLE_UINT8
1106 from = 90
1107 guiflags = SGF_NO_NETWORK
1108 def = 4
1109 min = 1
1110 max = 4
1111 str = STR_CONFIG_SETTING_PLANE_SPEED
1112 strhelp = STR_CONFIG_SETTING_PLANE_SPEED_HELPTEXT
1113 strval = STR_CONFIG_SETTING_PLANE_SPEED_VALUE
1115 [SDT_BOOL]
1116 base = GameSettings
1117 var = vehicle.dynamic_engines
1118 from = 95
1119 guiflags = SGF_NO_NETWORK
1120 def = true
1121 proc = ChangeDynamicEngines
1122 cat = SC_EXPERT
1124 [SDT_VAR]
1125 base = GameSettings
1126 var = vehicle.plane_crashes
1127 type = SLE_UINT8
1128 from = 138
1129 guiflags = SGF_MULTISTRING
1130 def = 2
1131 min = 0
1132 max = 2
1133 interval = 1
1134 str = STR_CONFIG_SETTING_PLANE_CRASHES
1135 strhelp = STR_CONFIG_SETTING_PLANE_CRASHES_HELPTEXT
1136 strval = STR_CONFIG_SETTING_PLANE_CRASHES_NONE
1137 cat = SC_BASIC
1139 ; station.join_stations
1140 [SDT_NULL]
1141 length = 1
1142 to = 158
1144 [SDTC_BOOL]
1145 var = gui.sg_full_load_any
1146 from = 22
1147 to = 92
1148 def = true
1150 [SDT_BOOL]
1151 base = GameSettings
1152 var = order.improved_load
1153 guiflags = SGF_NO_NETWORK
1154 def = true
1155 cat = SC_EXPERT
1157 [SDT_BOOL]
1158 base = GameSettings
1159 var = order.selectgoods
1160 def = true
1161 cat = SC_EXPERT
1163 [SDTC_BOOL]
1164 var = gui.sg_new_nonstop
1165 from = 22
1166 to = 92
1167 def = false
1169 ; station.nonuniform_stations
1170 [SDT_NULL]
1171 length = 1
1172 to = 158
1174 [SDT_VAR]
1175 base = GameSettings
1176 var = station.station_spread
1177 type = SLE_UINT8
1178 def = 12
1179 min = 4
1180 max = 64
1181 str = STR_CONFIG_SETTING_STATION_SPREAD
1182 strhelp = STR_CONFIG_SETTING_STATION_SPREAD_HELPTEXT
1183 strval = STR_CONFIG_SETTING_TILE_LENGTH
1184 proc = StationSpreadChanged
1185 cat = SC_BASIC
1187 [SDT_BOOL]
1188 base = GameSettings
1189 var = order.serviceathelipad
1190 def = true
1191 str = STR_CONFIG_SETTING_SERVICEATHELIPAD
1192 strhelp = STR_CONFIG_SETTING_SERVICEATHELIPAD_HELPTEXT
1193 cat = SC_EXPERT
1195 [SDT_BOOL]
1196 base = GameSettings
1197 var = station.modified_catchment
1198 def = true
1199 str = STR_CONFIG_SETTING_CATCHMENT
1200 strhelp = STR_CONFIG_SETTING_CATCHMENT_HELPTEXT
1201 proc = StationCatchmentChanged
1202 cat = SC_EXPERT
1204 [SDT_BOOL]
1205 base = GameSettings
1206 var = order.gradual_loading
1207 from = 40
1208 guiflags = SGF_NO_NETWORK
1209 def = true
1210 cat = SC_EXPERT
1212 [SDT_BOOL]
1213 base = GameSettings
1214 var = construction.road_stop_on_town_road
1215 from = 47
1216 def = true
1217 str = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD
1218 strhelp = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD_HELPTEXT
1219 cat = SC_BASIC
1221 [SDT_BOOL]
1222 base = GameSettings
1223 var = construction.road_stop_on_competitor_road
1224 from = 114
1225 def = true
1226 str = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD
1227 strhelp = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD_HELPTEXT
1228 cat = SC_BASIC
1230 [SDT_BOOL]
1231 base = GameSettings
1232 var = station.adjacent_stations
1233 from = 62
1234 def = true
1235 cat = SC_EXPERT
1237 [SDT_BOOL]
1238 base = GameSettings
1239 var = economy.station_noise_level
1240 from = 96
1241 guiflags = SGF_NO_NETWORK
1242 def = false
1243 str = STR_CONFIG_SETTING_NOISE_LEVEL
1244 strhelp = STR_CONFIG_SETTING_NOISE_LEVEL_HELPTEXT
1245 proc = InvalidateTownViewWindow
1247 [SDT_BOOL]
1248 base = GameSettings
1249 var = station.distant_join_stations
1250 from = 106
1251 def = true
1252 str = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS
1253 strhelp = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS_HELPTEXT
1254 proc = DeleteSelectStationWindow
1257 [SDT_BOOL]
1258 base = GameSettings
1259 var = economy.inflation
1260 def = true
1261 str = STR_CONFIG_SETTING_INFLATION
1262 strhelp = STR_CONFIG_SETTING_INFLATION_HELPTEXT
1263 cat = SC_BASIC
1265 [SDT_VAR]
1266 base = GameSettings
1267 var = construction.raw_industry_construction
1268 type = SLE_UINT8
1269 guiflags = SGF_MULTISTRING
1270 def = 0
1271 min = 0
1272 max = 2
1273 str = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD
1274 strhelp = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_HELPTEXT
1275 strval = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_NONE
1276 proc = InvalidateBuildIndustryWindow
1277 cat = SC_BASIC
1279 [SDT_VAR]
1280 base = GameSettings
1281 var = construction.industry_platform
1282 type = SLE_UINT8
1283 from = 148
1284 def = 1
1285 min = 0
1286 max = 4
1287 str = STR_CONFIG_SETTING_INDUSTRY_PLATFORM
1288 strhelp = STR_CONFIG_SETTING_INDUSTRY_PLATFORM_HELPTEXT
1289 strval = STR_CONFIG_SETTING_TILE_LENGTH
1290 cat = SC_EXPERT
1292 [SDT_BOOL]
1293 base = GameSettings
1294 var = economy.multiple_industry_per_town
1295 def = false
1296 str = STR_CONFIG_SETTING_MULTIPINDTOWN
1297 strhelp = STR_CONFIG_SETTING_MULTIPINDTOWN_HELPTEXT
1299 [SDT_NULL]
1300 length = 1
1301 to = 140
1303 [SDT_BOOL]
1304 base = GameSettings
1305 var = economy.bribe
1306 def = true
1307 str = STR_CONFIG_SETTING_BRIBE
1308 strhelp = STR_CONFIG_SETTING_BRIBE_HELPTEXT
1309 proc = RedrawTownAuthority
1310 cat = SC_BASIC
1312 [SDT_BOOL]
1313 base = GameSettings
1314 var = economy.exclusive_rights
1315 from = 79
1316 def = true
1317 str = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE
1318 strhelp = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE_HELPTEXT
1319 proc = RedrawTownAuthority
1320 cat = SC_BASIC
1322 [SDT_BOOL]
1323 base = GameSettings
1324 var = economy.fund_buildings
1325 from = 165
1326 def = true
1327 str = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS
1328 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS_HELPTEXT
1329 proc = RedrawTownAuthority
1330 cat = SC_BASIC
1332 [SDT_BOOL]
1333 base = GameSettings
1334 var = economy.fund_roads
1335 from = 160
1336 def = true
1337 str = STR_CONFIG_SETTING_ALLOW_FUND_ROAD
1338 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_ROAD_HELPTEXT
1339 proc = RedrawTownAuthority
1340 cat = SC_BASIC
1342 [SDT_BOOL]
1343 base = GameSettings
1344 var = economy.give_money
1345 from = 79
1346 def = true
1347 str = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY
1348 strhelp = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY_HELPTEXT
1349 cat = SC_BASIC
1351 [SDT_VAR]
1352 base = GameSettings
1353 var = game_creation.snow_line_height
1354 type = SLE_UINT8
1355 guiflags = SGF_NO_NETWORK
1356 def = DEF_SNOWLINE_HEIGHT
1357 min = MIN_SNOWLINE_HEIGHT
1358 max = MAX_SNOWLINE_HEIGHT
1359 str = STR_CONFIG_SETTING_SNOWLINE_HEIGHT
1360 strhelp = STR_CONFIG_SETTING_SNOWLINE_HEIGHT_HELPTEXT
1361 strval = STR_JUST_COMMA
1362 cat = SC_BASIC
1364 [SDT_NULL]
1365 length = 4
1366 to = 143
1368 [SDT_VAR]
1369 base = GameSettings
1370 var = game_creation.starting_year
1371 type = SLE_INT32
1372 def = DEF_START_YEAR
1373 min = MIN_YEAR
1374 max = MAX_YEAR
1375 interval = 1
1376 str = STR_CONFIG_SETTING_STARTING_YEAR
1377 strval = STR_JUST_INT
1378 cat = SC_BASIC
1380 [SDT_NULL]
1381 length = 4
1382 to = 104
1384 [SDT_BOOL]
1385 base = GameSettings
1386 var = economy.smooth_economy
1387 def = true
1388 str = STR_CONFIG_SETTING_SMOOTH_ECONOMY
1389 strhelp = STR_CONFIG_SETTING_SMOOTH_ECONOMY_HELPTEXT
1390 proc = InvalidateIndustryViewWindow
1391 cat = SC_BASIC
1393 [SDT_BOOL]
1394 base = GameSettings
1395 var = economy.allow_shares
1396 def = false
1397 str = STR_CONFIG_SETTING_ALLOW_SHARES
1398 strhelp = STR_CONFIG_SETTING_ALLOW_SHARES_HELPTEXT
1399 proc = InvalidateCompanyWindow
1401 [SDT_VAR]
1402 base = GameSettings
1403 var = economy.feeder_payment_share
1404 type = SLE_UINT8
1405 from = 134
1406 def = 75
1407 min = 0
1408 max = 100
1409 str = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE
1410 strhelp = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE_HELPTEXT
1411 strval = STR_CONFIG_SETTING_PERCENTAGE
1412 cat = SC_EXPERT
1414 [SDT_VAR]
1415 base = GameSettings
1416 var = economy.town_growth_rate
1417 type = SLE_UINT8
1418 from = 54
1419 guiflags = SGF_MULTISTRING
1420 def = 2
1421 min = 0
1422 max = 4
1423 str = STR_CONFIG_SETTING_TOWN_GROWTH
1424 strhelp = STR_CONFIG_SETTING_TOWN_GROWTH_HELPTEXT
1425 strval = STR_CONFIG_SETTING_TOWN_GROWTH_NONE
1427 [SDT_VAR]
1428 base = GameSettings
1429 var = economy.larger_towns
1430 type = SLE_UINT8
1431 from = 54
1432 guiflags = SGF_0ISDISABLED
1433 def = 4
1434 min = 0
1435 max = 255
1436 interval = 1
1437 str = STR_CONFIG_SETTING_LARGER_TOWNS
1438 strhelp = STR_CONFIG_SETTING_LARGER_TOWNS_HELPTEXT
1439 strval = STR_CONFIG_SETTING_LARGER_TOWNS_VALUE
1441 [SDT_VAR]
1442 base = GameSettings
1443 var = economy.initial_city_size
1444 type = SLE_UINT8
1445 from = 56
1446 def = 2
1447 min = 1
1448 max = 10
1449 interval = 1
1450 str = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER
1451 strhelp = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER_HELPTEXT
1452 strval = STR_JUST_COMMA
1454 [SDT_BOOL]
1455 base = GameSettings
1456 var = economy.mod_road_rebuild
1457 from = 77
1458 def = true
1459 cat = SC_EXPERT
1461 ; previously ai-new setting.
1462 [SDT_NULL]
1463 length = 1
1464 to = 106
1466 [SDT_OMANY]
1467 base = GameSettings
1468 var = script.settings_profile
1469 type = SLE_UINT8
1470 from = 178
1471 guiflags = SGF_MULTISTRING
1472 def = SP_EASY
1473 min = SP_EASY
1474 max = SP_HARD
1475 full = _settings_profiles
1476 str = STR_CONFIG_SETTING_AI_PROFILE
1477 strhelp = STR_CONFIG_SETTING_AI_PROFILE_HELPTEXT
1478 strval = STR_CONFIG_SETTING_AI_PROFILE_EASY
1479 cat = SC_BASIC
1481 [SDT_BOOL]
1482 base = GameSettings
1483 var = ai.ai_in_multiplayer
1484 def = true
1485 str = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER
1486 strhelp = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER_HELPTEXT
1487 cat = SC_BASIC
1489 [SDT_BOOL]
1490 base = GameSettings
1491 var = ai.ai_disable_veh_train
1492 def = false
1493 str = STR_CONFIG_SETTING_AI_BUILDS_TRAINS
1494 strhelp = STR_CONFIG_SETTING_AI_BUILDS_TRAINS_HELPTEXT
1496 [SDT_BOOL]
1497 base = GameSettings
1498 var = ai.ai_disable_veh_roadveh
1499 def = false
1500 str = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES
1501 strhelp = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES_HELPTEXT
1503 [SDT_BOOL]
1504 base = GameSettings
1505 var = ai.ai_disable_veh_aircraft
1506 def = false
1507 str = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT
1508 strhelp = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT_HELPTEXT
1510 [SDT_BOOL]
1511 base = GameSettings
1512 var = ai.ai_disable_veh_ship
1513 def = false
1514 str = STR_CONFIG_SETTING_AI_BUILDS_SHIPS
1515 strhelp = STR_CONFIG_SETTING_AI_BUILDS_SHIPS_HELPTEXT
1517 [SDT_VAR]
1518 base = GameSettings
1519 var = script.script_max_opcode_till_suspend
1520 type = SLE_UINT32
1521 from = 107
1522 guiflags = SGF_NEWGAME_ONLY
1523 def = 10000
1524 min = 5000
1525 max = 250000
1526 interval = 2500
1527 str = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES
1528 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES_HELPTEXT
1529 strval = STR_JUST_COMMA
1530 cat = SC_EXPERT
1533 [SDT_VAR]
1534 base = GameSettings
1535 var = vehicle.extend_vehicle_life
1536 type = SLE_UINT8
1537 def = 0
1538 min = 0
1539 max = 100
1540 cat = SC_EXPERT
1542 [SDT_VAR]
1543 base = GameSettings
1544 var = economy.dist_local_authority
1545 type = SLE_UINT8
1546 def = 20
1547 min = 5
1548 max = 60
1549 cat = SC_EXPERT
1551 [SDT_BOOL]
1552 base = GameSettings
1553 var = pf.reverse_at_signals
1554 from = 159
1555 def = false
1556 str = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS
1557 strhelp = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS_HELPTEXT
1559 [SDT_VAR]
1560 base = GameSettings
1561 var = pf.wait_oneway_signal
1562 type = SLE_UINT8
1563 def = 15
1564 min = 2
1565 max = 255
1566 cat = SC_EXPERT
1568 [SDT_VAR]
1569 base = GameSettings
1570 var = pf.wait_twoway_signal
1571 type = SLE_UINT8
1572 def = 41
1573 min = 2
1574 max = 255
1575 cat = SC_EXPERT
1577 [SDT_VAR]
1578 base = GameSettings
1579 var = economy.town_noise_population[0]
1580 type = SLE_UINT16
1581 from = 96
1582 def = 800
1583 min = 200
1584 max = 65535
1585 cat = SC_EXPERT
1587 [SDT_VAR]
1588 base = GameSettings
1589 var = economy.town_noise_population[1]
1590 type = SLE_UINT16
1591 from = 96
1592 def = 2000
1593 min = 400
1594 max = 65535
1595 cat = SC_EXPERT
1597 [SDT_VAR]
1598 base = GameSettings
1599 var = economy.town_noise_population[2]
1600 type = SLE_UINT16
1601 from = 96
1602 def = 4000
1603 min = 800
1604 max = 65535
1605 cat = SC_EXPERT
1607 [SDT_BOOL]
1608 base = GameSettings
1609 var = economy.infrastructure_maintenance
1610 from = 166
1611 def = false
1612 str = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE
1613 strhelp = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE_HELPTEXT
1614 proc = InvalidateCompanyInfrastructureWindow
1615 cat = SC_BASIC
1618 [SDT_VAR]
1619 base = GameSettings
1620 var = pf.wait_for_pbs_path
1621 type = SLE_UINT8
1622 from = 100
1623 def = 30
1624 min = 2
1625 max = 255
1626 cat = SC_EXPERT
1628 [SDT_BOOL]
1629 base = GameSettings
1630 var = pf.reserve_paths
1631 from = 100
1632 def = false
1633 cat = SC_EXPERT
1635 [SDT_VAR]
1636 base = GameSettings
1637 var = pf.path_backoff_interval
1638 type = SLE_UINT8
1639 from = 100
1640 def = 20
1641 min = 1
1642 max = 255
1643 cat = SC_EXPERT
1646 [SDT_VAR]
1647 base = GameSettings
1648 var = pf.opf.pf_maxlength
1649 type = SLE_UINT16
1650 def = 4096
1651 min = 64
1652 max = 65535
1653 cat = SC_EXPERT
1655 [SDT_VAR]
1656 base = GameSettings
1657 var = pf.opf.pf_maxdepth
1658 type = SLE_UINT8
1659 def = 48
1660 min = 4
1661 max = 255
1662 cat = SC_EXPERT
1665 [SDT_VAR]
1666 base = GameSettings
1667 var = pf.npf.npf_max_search_nodes
1668 type = SLE_UINT
1669 def = 10000
1670 min = 500
1671 max = 100000
1672 cat = SC_EXPERT
1674 [SDT_VAR]
1675 base = GameSettings
1676 var = pf.npf.npf_rail_firstred_penalty
1677 type = SLE_UINT
1678 def = 10 * NPF_TILE_LENGTH
1679 min = 0
1680 max = 100000
1681 cat = SC_EXPERT
1683 [SDT_VAR]
1684 base = GameSettings
1685 var = pf.npf.npf_rail_firstred_exit_penalty
1686 type = SLE_UINT
1687 def = 100 * NPF_TILE_LENGTH
1688 min = 0
1689 max = 100000
1690 cat = SC_EXPERT
1692 [SDT_VAR]
1693 base = GameSettings
1694 var = pf.npf.npf_rail_lastred_penalty
1695 type = SLE_UINT
1696 def = 10 * NPF_TILE_LENGTH
1697 min = 0
1698 max = 100000
1699 cat = SC_EXPERT
1701 [SDT_VAR]
1702 base = GameSettings
1703 var = pf.npf.npf_rail_station_penalty
1704 type = SLE_UINT
1705 def = 1 * NPF_TILE_LENGTH
1706 min = 0
1707 max = 100000
1708 cat = SC_EXPERT
1710 [SDT_VAR]
1711 base = GameSettings
1712 var = pf.npf.npf_rail_slope_penalty
1713 type = SLE_UINT
1714 def = 1 * NPF_TILE_LENGTH
1715 min = 0
1716 max = 100000
1717 cat = SC_EXPERT
1719 [SDT_VAR]
1720 base = GameSettings
1721 var = pf.npf.npf_rail_curve_penalty
1722 type = SLE_UINT
1723 def = 1 * NPF_TILE_LENGTH
1724 min = 0
1725 max = 100000
1726 cat = SC_EXPERT
1728 [SDT_VAR]
1729 base = GameSettings
1730 var = pf.npf.npf_rail_depot_reverse_penalty
1731 type = SLE_UINT
1732 def = 50 * NPF_TILE_LENGTH
1733 min = 0
1734 max = 100000
1735 cat = SC_EXPERT
1737 [SDT_VAR]
1738 base = GameSettings
1739 var = pf.npf.npf_rail_pbs_cross_penalty
1740 type = SLE_UINT
1741 from = 100
1742 def = 3 * 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_pbs_signal_back_penalty
1750 type = SLE_UINT
1751 from = 100
1752 def = 15 * NPF_TILE_LENGTH
1753 min = 0
1754 max = 100000
1755 cat = SC_EXPERT
1757 [SDT_VAR]
1758 base = GameSettings
1759 var = pf.npf.npf_buoy_penalty
1760 type = SLE_UINT
1761 def = 2 * NPF_TILE_LENGTH
1762 min = 0
1763 max = 100000
1764 cat = SC_EXPERT
1766 [SDT_VAR]
1767 base = GameSettings
1768 var = pf.npf.npf_water_curve_penalty
1769 type = SLE_UINT
1770 def = 1 * NPF_TILE_LENGTH
1771 min = 0
1772 max = 100000
1773 cat = SC_EXPERT
1775 [SDT_VAR]
1776 base = GameSettings
1777 var = pf.npf.npf_road_curve_penalty
1778 type = SLE_UINT
1779 def = 1 * NPF_TILE_LENGTH
1780 min = 0
1781 max = 100000
1782 cat = SC_EXPERT
1784 [SDT_VAR]
1785 base = GameSettings
1786 var = pf.npf.npf_crossing_penalty
1787 type = SLE_UINT
1788 def = 3 * NPF_TILE_LENGTH
1789 min = 0
1790 max = 100000
1791 cat = SC_EXPERT
1793 [SDT_VAR]
1794 base = GameSettings
1795 var = pf.npf.npf_road_drive_through_penalty
1796 type = SLE_UINT
1797 from = 47
1798 def = 8 * NPF_TILE_LENGTH
1799 min = 0
1800 max = 100000
1801 cat = SC_EXPERT
1803 [SDT_VAR]
1804 base = GameSettings
1805 var = pf.npf.npf_road_dt_occupied_penalty
1806 type = SLE_UINT
1807 from = 130
1808 def = 8 * NPF_TILE_LENGTH
1809 min = 0
1810 max = 100000
1811 cat = SC_EXPERT
1813 [SDT_VAR]
1814 base = GameSettings
1815 var = pf.npf.npf_road_bay_occupied_penalty
1816 type = SLE_UINT
1817 from = 130
1818 def = 15 * NPF_TILE_LENGTH
1819 min = 0
1820 max = 100000
1821 cat = SC_EXPERT
1823 [SDT_VAR]
1824 base = GameSettings
1825 var = pf.npf.maximum_go_to_depot_penalty
1826 type = SLE_UINT
1827 from = 131
1828 def = 20 * NPF_TILE_LENGTH
1829 min = 0
1830 max = 1000000
1831 cat = SC_EXPERT
1834 [SDT_BOOL]
1835 base = GameSettings
1836 var = pf.yapf.disable_node_optimization
1837 from = 28
1838 def = false
1839 cat = SC_EXPERT
1841 [SDT_VAR]
1842 base = GameSettings
1843 var = pf.yapf.max_search_nodes
1844 type = SLE_UINT
1845 from = 28
1846 def = 10000
1847 min = 500
1848 max = 1000000
1849 cat = SC_EXPERT
1851 [SDT_BOOL]
1852 base = GameSettings
1853 var = pf.yapf.rail_firstred_twoway_eol
1854 from = 28
1855 def = false
1856 cat = SC_EXPERT
1858 [SDT_VAR]
1859 base = GameSettings
1860 var = pf.yapf.rail_firstred_penalty
1861 type = SLE_UINT
1862 from = 28
1863 def = 10 * YAPF_TILE_LENGTH
1864 min = 0
1865 max = 1000000
1866 cat = SC_EXPERT
1868 [SDT_VAR]
1869 base = GameSettings
1870 var = pf.yapf.rail_firstred_exit_penalty
1871 type = SLE_UINT
1872 from = 28
1873 def = 100 * YAPF_TILE_LENGTH
1874 min = 0
1875 max = 1000000
1876 cat = SC_EXPERT
1878 [SDT_VAR]
1879 base = GameSettings
1880 var = pf.yapf.rail_lastred_penalty
1881 type = SLE_UINT
1882 from = 28
1883 def = 10 * YAPF_TILE_LENGTH
1884 min = 0
1885 max = 1000000
1886 cat = SC_EXPERT
1888 [SDT_VAR]
1889 base = GameSettings
1890 var = pf.yapf.rail_lastred_exit_penalty
1891 type = SLE_UINT
1892 from = 28
1893 def = 100 * YAPF_TILE_LENGTH
1894 min = 0
1895 max = 1000000
1896 cat = SC_EXPERT
1898 [SDT_VAR]
1899 base = GameSettings
1900 var = pf.yapf.rail_station_penalty
1901 type = SLE_UINT
1902 from = 28
1903 def = 10 * YAPF_TILE_LENGTH
1904 min = 0
1905 max = 1000000
1906 cat = SC_EXPERT
1908 [SDT_VAR]
1909 base = GameSettings
1910 var = pf.yapf.rail_slope_penalty
1911 type = SLE_UINT
1912 from = 28
1913 def = 2 * YAPF_TILE_LENGTH
1914 min = 0
1915 max = 1000000
1916 cat = SC_EXPERT
1918 [SDT_VAR]
1919 base = GameSettings
1920 var = pf.yapf.rail_curve45_penalty
1921 type = SLE_UINT
1922 from = 28
1923 def = 1 * YAPF_TILE_LENGTH
1924 min = 0
1925 max = 1000000
1926 cat = SC_EXPERT
1928 [SDT_VAR]
1929 base = GameSettings
1930 var = pf.yapf.rail_curve90_penalty
1931 type = SLE_UINT
1932 from = 28
1933 def = 6 * YAPF_TILE_LENGTH
1934 min = 0
1935 max = 1000000
1936 cat = SC_EXPERT
1938 [SDT_VAR]
1939 base = GameSettings
1940 var = pf.yapf.rail_depot_reverse_penalty
1941 type = SLE_UINT
1942 from = 28
1943 def = 50 * YAPF_TILE_LENGTH
1944 min = 0
1945 max = 1000000
1946 cat = SC_EXPERT
1948 [SDT_VAR]
1949 base = GameSettings
1950 var = pf.yapf.rail_crossing_penalty
1951 type = SLE_UINT
1952 from = 28
1953 def = 3 * YAPF_TILE_LENGTH
1954 min = 0
1955 max = 1000000
1956 cat = SC_EXPERT
1958 [SDT_VAR]
1959 base = GameSettings
1960 var = pf.yapf.rail_look_ahead_max_signals
1961 type = SLE_UINT
1962 from = 28
1963 def = 10
1964 min = 1
1965 max = 100
1966 cat = SC_EXPERT
1968 [SDT_VAR]
1969 base = GameSettings
1970 var = pf.yapf.rail_look_ahead_signal_p0
1971 type = SLE_INT
1972 from = 28
1973 def = 500
1974 min = -1000000
1975 max = 1000000
1976 cat = SC_EXPERT
1978 [SDT_VAR]
1979 base = GameSettings
1980 var = pf.yapf.rail_look_ahead_signal_p1
1981 type = SLE_INT
1982 from = 28
1983 def = -100
1984 min = -1000000
1985 max = 1000000
1986 cat = SC_EXPERT
1988 [SDT_VAR]
1989 base = GameSettings
1990 var = pf.yapf.rail_look_ahead_signal_p2
1991 type = SLE_INT
1992 from = 28
1993 def = 5
1994 min = -1000000
1995 max = 1000000
1996 cat = SC_EXPERT
1998 [SDT_VAR]
1999 base = GameSettings
2000 var = pf.yapf.rail_pbs_cross_penalty
2001 type = SLE_UINT
2002 from = 100
2003 def = 3 * YAPF_TILE_LENGTH
2004 min = 0
2005 max = 1000000
2006 cat = SC_EXPERT
2008 [SDT_VAR]
2009 base = GameSettings
2010 var = pf.yapf.rail_pbs_station_penalty
2011 type = SLE_UINT
2012 from = 100
2013 def = 8 * YAPF_TILE_LENGTH
2014 min = 0
2015 max = 1000000
2016 cat = SC_EXPERT
2018 [SDT_VAR]
2019 base = GameSettings
2020 var = pf.yapf.rail_pbs_signal_back_penalty
2021 type = SLE_UINT
2022 from = 100
2023 def = 15 * YAPF_TILE_LENGTH
2024 min = 0
2025 max = 1000000
2026 cat = SC_EXPERT
2028 [SDT_VAR]
2029 base = GameSettings
2030 var = pf.yapf.rail_doubleslip_penalty
2031 type = SLE_UINT
2032 from = 100
2033 def = 1 * YAPF_TILE_LENGTH
2034 min = 0
2035 max = 1000000
2036 cat = SC_EXPERT
2038 [SDT_VAR]
2039 base = GameSettings
2040 var = pf.yapf.rail_longer_platform_penalty
2041 type = SLE_UINT
2042 from = 33
2043 def = 8 * YAPF_TILE_LENGTH
2044 min = 0
2045 max = 20000
2046 cat = SC_EXPERT
2048 [SDT_VAR]
2049 base = GameSettings
2050 var = pf.yapf.rail_longer_platform_per_tile_penalty
2051 type = SLE_UINT
2052 from = 33
2053 def = 0 * YAPF_TILE_LENGTH
2054 min = 0
2055 max = 20000
2056 cat = SC_EXPERT
2058 [SDT_VAR]
2059 base = GameSettings
2060 var = pf.yapf.rail_shorter_platform_penalty
2061 type = SLE_UINT
2062 from = 33
2063 def = 40 * YAPF_TILE_LENGTH
2064 min = 0
2065 max = 20000
2066 cat = SC_EXPERT
2068 [SDT_VAR]
2069 base = GameSettings
2070 var = pf.yapf.rail_shorter_platform_per_tile_penalty
2071 type = SLE_UINT
2072 from = 33
2073 def = 0 * YAPF_TILE_LENGTH
2074 min = 0
2075 max = 20000
2076 cat = SC_EXPERT
2078 [SDT_VAR]
2079 base = GameSettings
2080 var = pf.yapf.road_slope_penalty
2081 type = SLE_UINT
2082 from = 33
2083 def = 2 * YAPF_TILE_LENGTH
2084 min = 0
2085 max = 1000000
2086 cat = SC_EXPERT
2088 [SDT_VAR]
2089 base = GameSettings
2090 var = pf.yapf.road_curve_penalty
2091 type = SLE_UINT
2092 from = 33
2093 def = 1 * YAPF_TILE_LENGTH
2094 min = 0
2095 max = 1000000
2096 cat = SC_EXPERT
2098 [SDT_VAR]
2099 base = GameSettings
2100 var = pf.yapf.road_crossing_penalty
2101 type = SLE_UINT
2102 from = 33
2103 def = 3 * YAPF_TILE_LENGTH
2104 min = 0
2105 max = 1000000
2106 cat = SC_EXPERT
2108 [SDT_VAR]
2109 base = GameSettings
2110 var = pf.yapf.road_stop_penalty
2111 type = SLE_UINT
2112 from = 47
2113 def = 8 * YAPF_TILE_LENGTH
2114 min = 0
2115 max = 1000000
2116 cat = SC_EXPERT
2118 [SDT_VAR]
2119 base = GameSettings
2120 var = pf.yapf.road_stop_occupied_penalty
2121 type = SLE_UINT
2122 from = 130
2123 def = 8 * YAPF_TILE_LENGTH
2124 min = 0
2125 max = 1000000
2126 cat = SC_EXPERT
2128 [SDT_VAR]
2129 base = GameSettings
2130 var = pf.yapf.road_stop_bay_occupied_penalty
2131 type = SLE_UINT
2132 from = 130
2133 def = 15 * YAPF_TILE_LENGTH
2134 min = 0
2135 max = 1000000
2136 cat = SC_EXPERT
2138 [SDT_VAR]
2139 base = GameSettings
2140 var = pf.yapf.maximum_go_to_depot_penalty
2141 type = SLE_UINT
2142 from = 131
2143 def = 20 * YAPF_TILE_LENGTH
2144 min = 0
2145 max = 1000000
2146 cat = SC_EXPERT
2149 [SDT_VAR]
2150 base = GameSettings
2151 var = game_creation.land_generator
2152 type = SLE_UINT8
2153 from = 30
2154 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2155 def = 1
2156 min = 0
2157 max = 1
2158 str = STR_CONFIG_SETTING_LAND_GENERATOR
2159 strhelp = STR_CONFIG_SETTING_LAND_GENERATOR_HELPTEXT
2160 strval = STR_CONFIG_SETTING_LAND_GENERATOR_ORIGINAL
2162 [SDT_VAR]
2163 base = GameSettings
2164 var = game_creation.oil_refinery_limit
2165 type = SLE_UINT8
2166 from = 30
2167 def = 32
2168 min = 12
2169 max = 48
2170 str = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE
2171 strval = STR_CONFIG_SETTING_TILE_LENGTH
2172 strhelp = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE_HELPTEXT
2174 [SDT_VAR]
2175 base = GameSettings
2176 var = game_creation.tgen_smoothness
2177 type = SLE_UINT8
2178 from = 30
2179 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2180 def = 1
2181 min = TGEN_SMOOTHNESS_BEGIN
2182 max = TGEN_SMOOTHNESS_END - 1
2183 str = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN
2184 strhelp = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_HELPTEXT
2185 strval = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_VERY_SMOOTH
2186 cat = SC_BASIC
2188 [SDT_VAR]
2189 base = GameSettings
2190 var = game_creation.variety
2191 type = SLE_UINT8
2192 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2193 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2194 def = 0
2195 min = 0
2196 max = 5
2197 str = STR_CONFIG_SETTING_VARIETY
2198 strhelp = STR_CONFIG_SETTING_VARIETY_HELPTEXT
2199 strval = STR_VARIETY_NONE
2201 [SDT_VAR]
2202 base = GameSettings
2203 var = game_creation.generation_seed
2204 type = SLE_UINT32
2205 from = 30
2206 def = GENERATE_NEW_SEED
2207 min = 0
2208 max = UINT32_MAX
2209 cat = SC_EXPERT
2211 [SDT_VAR]
2212 base = GameSettings
2213 var = game_creation.tree_placer
2214 type = SLE_UINT8
2215 from = 30
2216 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
2217 def = 2
2218 min = 0
2219 max = 2
2220 str = STR_CONFIG_SETTING_TREE_PLACER
2221 strhelp = STR_CONFIG_SETTING_TREE_PLACER_HELPTEXT
2222 strval = STR_CONFIG_SETTING_TREE_PLACER_NONE
2224 [SDT_VAR]
2225 base = GameSettings
2226 var = game_creation.heightmap_rotation
2227 type = SLE_UINT8
2228 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2229 guiflags = SGF_MULTISTRING
2230 def = 0
2231 min = 0
2232 max = 1
2233 str = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION
2234 strval = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION_COUNTER_CLOCKWISE
2235 cat = SC_BASIC
2237 [SDT_VAR]
2238 base = GameSettings
2239 var = game_creation.se_flat_world_height
2240 type = SLE_UINT8
2241 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2242 def = 1
2243 min = 0
2244 max = 15
2245 str = STR_CONFIG_SETTING_SE_FLAT_WORLD_HEIGHT
2246 strval = STR_JUST_COMMA
2247 cat = SC_BASIC
2250 [SDT_VAR]
2251 base = GameSettings
2252 var = game_creation.map_x
2253 type = SLE_UINT8
2254 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2255 def = 8
2256 min = MIN_MAP_SIZE_BITS
2257 max = MAX_MAP_SIZE_BITS
2258 cat = SC_BASIC
2260 [SDT_VAR]
2261 base = GameSettings
2262 var = game_creation.map_y
2263 type = SLE_UINT8
2264 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2265 def = 8
2266 min = MIN_MAP_SIZE_BITS
2267 max = MAX_MAP_SIZE_BITS
2268 cat = SC_BASIC
2270 [SDT_BOOL]
2271 base = GameSettings
2272 var = construction.freeform_edges
2273 from = 111
2274 def = true
2275 proc = CheckFreeformEdges
2276 cat = SC_EXPERT
2278 [SDT_VAR]
2279 base = GameSettings
2280 var = game_creation.water_borders
2281 type = SLE_UINT8
2282 from = 111
2283 def = 15
2284 min = 0
2285 max = 16
2287 [SDT_VAR]
2288 base = GameSettings
2289 var = game_creation.custom_town_number
2290 type = SLE_UINT16
2291 from = 115
2292 def = 1
2293 min = 1
2294 max = 5000
2295 cat = SC_BASIC
2297 [SDT_VAR]
2298 base = GameSettings
2299 var = construction.extra_tree_placement
2300 type = SLE_UINT8
2301 from = 132
2302 guiflags = SGF_MULTISTRING
2303 def = 2
2304 min = 0
2305 max = 2
2306 str = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT
2307 strhelp = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_HELPTEXT
2308 strval = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_NONE
2309 cat = SC_BASIC
2311 [SDT_VAR]
2312 base = GameSettings
2313 var = game_creation.custom_sea_level
2314 type = SLE_UINT8
2315 from = 149
2316 def = 1
2317 min = 2
2318 max = 90
2319 cat = SC_BASIC
2321 [SDT_VAR]
2322 base = GameSettings
2323 var = game_creation.min_river_length
2324 type = SLE_UINT8
2325 from = 163
2326 def = 16
2327 min = 2
2328 max = 255
2329 cat = SC_EXPERT
2331 [SDT_VAR]
2332 base = GameSettings
2333 var = game_creation.river_route_random
2334 type = SLE_UINT8
2335 from = 163
2336 def = 5
2337 min = 1
2338 max = 255
2339 cat = SC_EXPERT
2341 [SDT_VAR]
2342 base = GameSettings
2343 var = game_creation.amount_of_rivers
2344 type = SLE_UINT8
2345 from = 163
2346 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2347 def = 2
2348 min = 0
2349 max = 3
2350 str = STR_CONFIG_SETTING_RIVER_AMOUNT
2351 strhelp = STR_CONFIG_SETTING_RIVER_AMOUNT_HELPTEXT
2352 strval = STR_RIVERS_NONE
2354 ; locale
2356 [SDT_OMANY]
2357 base = GameSettings
2358 var = locale.currency
2359 type = SLE_UINT8
2360 from = 97
2361 flags = SLF_NO_NETWORK_SYNC
2362 def = 0
2363 max = CURRENCY_END - 1
2364 full = _locale_currencies
2365 proc = RedrawScreen
2366 cat = SC_BASIC
2368 [SDTG_OMANY]
2369 name = ""units""
2370 var = _old_units
2371 type = SLE_UINT8
2372 from = 97
2373 to = 183
2374 flags = SLF_NOT_IN_CONFIG
2375 def = 1
2376 max = 2
2377 full = _locale_units
2378 proc = RedrawScreen
2379 cat = SC_BASIC
2381 [SDT_OMANY]
2382 base = GameSettings
2383 var = locale.units_velocity
2384 type = SLE_UINT8
2385 from = 184
2386 flags = SLF_NO_NETWORK_SYNC
2387 guiflags = SGF_MULTISTRING
2388 def = 1
2389 max = 2
2390 full = _locale_units
2391 proc = RedrawScreen
2392 cat = SC_BASIC
2393 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY
2394 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_HELPTEXT
2395 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_IMPERIAL
2397 [SDT_OMANY]
2398 base = GameSettings
2399 var = locale.units_power
2400 type = SLE_UINT8
2401 from = 184
2402 flags = SLF_NO_NETWORK_SYNC
2403 guiflags = SGF_MULTISTRING
2404 def = 1
2405 max = 2
2406 full = _locale_units
2407 proc = RedrawScreen
2408 cat = SC_BASIC
2409 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER
2410 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_HELPTEXT
2411 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_IMPERIAL
2413 [SDT_OMANY]
2414 base = GameSettings
2415 var = locale.units_weight
2416 type = SLE_UINT8
2417 from = 184
2418 flags = SLF_NO_NETWORK_SYNC
2419 guiflags = SGF_MULTISTRING
2420 def = 1
2421 max = 2
2422 full = _locale_units
2423 proc = RedrawScreen
2424 cat = SC_BASIC
2425 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT
2426 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_HELPTEXT
2427 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_IMPERIAL
2429 [SDT_OMANY]
2430 base = GameSettings
2431 var = locale.units_volume
2432 type = SLE_UINT8
2433 from = 184
2434 flags = SLF_NO_NETWORK_SYNC
2435 guiflags = SGF_MULTISTRING
2436 def = 1
2437 max = 2
2438 full = _locale_units
2439 proc = RedrawScreen
2440 cat = SC_BASIC
2441 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME
2442 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_HELPTEXT
2443 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_IMPERIAL
2445 [SDT_OMANY]
2446 base = GameSettings
2447 var = locale.units_force
2448 type = SLE_UINT8
2449 from = 184
2450 flags = SLF_NO_NETWORK_SYNC
2451 guiflags = SGF_MULTISTRING
2452 def = 2
2453 max = 2
2454 full = _locale_units
2455 proc = RedrawScreen
2456 cat = SC_BASIC
2457 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE
2458 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_HELPTEXT
2459 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_IMPERIAL
2461 [SDT_OMANY]
2462 base = GameSettings
2463 var = locale.units_height
2464 type = SLE_UINT8
2465 from = 184
2466 flags = SLF_NO_NETWORK_SYNC
2467 guiflags = SGF_MULTISTRING
2468 def = 1
2469 max = 2
2470 full = _locale_units
2471 proc = RedrawScreen
2472 cat = SC_BASIC
2473 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT
2474 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_HELPTEXT
2475 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_IMPERIAL
2477 [SDT_STR]
2478 base = GameSettings
2479 var = locale.digit_group_separator
2480 type = SLE_STRQ
2481 from = 118
2482 flags = SLF_NO_NETWORK_SYNC
2483 def = NULL
2484 proc = RedrawScreen
2485 cat = SC_BASIC
2487 [SDT_STR]
2488 base = GameSettings
2489 var = locale.digit_group_separator_currency
2490 type = SLE_STRQ
2491 from = 118
2492 flags = SLF_NO_NETWORK_SYNC
2493 def = NULL
2494 proc = RedrawScreen
2495 cat = SC_BASIC
2497 [SDT_STR]
2498 base = GameSettings
2499 var = locale.digit_decimal_separator
2500 type = SLE_STRQ
2501 from = 126
2502 flags = SLF_NO_NETWORK_SYNC
2503 def = NULL
2504 proc = RedrawScreen
2505 cat = SC_BASIC
2508 ;***************************************************************************
2509 ; Unsaved setting variables.
2511 [SDTC_OMANY]
2512 var = gui.autosave
2513 type = SLE_UINT8
2514 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2515 guiflags = SGF_MULTISTRING
2516 def = 1
2517 max = 4
2518 full = _autosave_interval
2519 str = STR_CONFIG_SETTING_AUTOSAVE
2520 strhelp = STR_CONFIG_SETTING_AUTOSAVE_HELPTEXT
2521 strval = STR_GAME_OPTIONS_AUTOSAVE_DROPDOWN_OFF
2522 cat = SC_BASIC
2524 [SDTC_BOOL]
2525 var = gui.threaded_saves
2526 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2527 def = true
2528 cat = SC_EXPERT
2530 [SDTC_OMANY]
2531 var = gui.date_format_in_default_names
2532 type = SLE_UINT8
2533 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2534 guiflags = SGF_MULTISTRING
2535 def = 0
2536 max = 2
2537 full = _savegame_date
2538 str = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES
2539 strhelp = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_HELPTEXT
2540 strval = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_LONG
2542 [SDTC_BOOL]
2543 var = gui.show_finances
2544 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2545 def = true
2546 str = STR_CONFIG_SETTING_SHOWFINANCES
2547 strhelp = STR_CONFIG_SETTING_SHOWFINANCES_HELPTEXT
2548 cat = SC_BASIC
2550 [SDTC_VAR]
2551 var = gui.auto_scrolling
2552 type = SLE_UINT8
2553 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2554 guiflags = SGF_MULTISTRING
2555 def = 0
2556 min = 0
2557 max = 3
2558 str = STR_CONFIG_SETTING_AUTOSCROLL
2559 strhelp = STR_CONFIG_SETTING_AUTOSCROLL_HELPTEXT
2560 strval = STR_CONFIG_SETTING_AUTOSCROLL_DISABLED
2561 cat = SC_BASIC
2563 [SDTC_BOOL]
2564 var = gui.reverse_scroll
2565 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2566 def = false
2567 str = STR_CONFIG_SETTING_REVERSE_SCROLLING
2568 strhelp = STR_CONFIG_SETTING_REVERSE_SCROLLING_HELPTEXT
2569 cat = SC_BASIC
2571 [SDTC_BOOL]
2572 var = gui.smooth_scroll
2573 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2574 def = false
2575 str = STR_CONFIG_SETTING_SMOOTH_SCROLLING
2576 strhelp = STR_CONFIG_SETTING_SMOOTH_SCROLLING_HELPTEXT
2578 [SDTC_BOOL]
2579 var = gui.left_mouse_btn_scrolling
2580 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2581 def = false
2582 str = STR_CONFIG_SETTING_LEFT_MOUSE_BTN_SCROLLING
2583 strhelp = STR_CONFIG_SETTING_LEFT_MOUSE_BTN_SCROLLING_HELPTEXT
2584 cat = SC_BASIC
2586 [SDTC_BOOL]
2587 var = gui.right_mouse_wnd_close
2588 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2589 def = false
2590 str = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE
2591 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE_HELPTEXT
2592 cat = SC_BASIC
2594 [SDTC_BOOL]
2595 var = gui.measure_tooltip
2596 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2597 def = true
2598 str = STR_CONFIG_SETTING_MEASURE_TOOLTIP
2599 strhelp = STR_CONFIG_SETTING_MEASURE_TOOLTIP_HELPTEXT
2600 cat = SC_BASIC
2602 [SDTC_VAR]
2603 var = gui.errmsg_duration
2604 type = SLE_UINT8
2605 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2606 def = 5
2607 min = 0
2608 max = 20
2609 str = STR_CONFIG_SETTING_ERRMSG_DURATION
2610 strhelp = STR_CONFIG_SETTING_ERRMSG_DURATION_HELPTEXT
2611 strval = STR_CONFIG_SETTING_ERRMSG_DURATION_VALUE
2613 [SDTC_VAR]
2614 var = gui.hover_delay_ms
2615 type = SLE_UINT16
2616 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2617 guiflags = SGF_0ISDISABLED
2618 def = 250
2619 min = 50
2620 max = 6000
2621 interval = 50
2622 str = STR_CONFIG_SETTING_HOVER_DELAY
2623 strhelp = STR_CONFIG_SETTING_HOVER_DELAY_HELPTEXT
2624 strval = STR_CONFIG_SETTING_HOVER_DELAY_VALUE
2626 [SDTC_OMANY]
2627 var = gui.osk_activation
2628 type = SLE_UINT8
2629 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2630 str = STR_CONFIG_SETTING_OSK_ACTIVATION
2631 strhelp = STR_CONFIG_SETTING_OSK_ACTIVATION_HELPTEXT
2632 strval = STR_CONFIG_SETTING_OSK_ACTIVATION_DISABLED
2633 guiflags = SGF_MULTISTRING
2634 full = _osk_activation
2635 def = 1
2636 min = 0
2637 max = 3
2638 cat = SC_BASIC
2640 [SDTC_VAR]
2641 var = gui.toolbar_pos
2642 type = SLE_UINT8
2643 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2644 guiflags = SGF_MULTISTRING
2645 def = 1
2646 min = 0
2647 max = 2
2648 str = STR_CONFIG_SETTING_TOOLBAR_POS
2649 strhelp = STR_CONFIG_SETTING_TOOLBAR_POS_HELPTEXT
2650 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2651 proc = v_PositionMainToolbar
2652 cat = SC_BASIC
2654 [SDTC_VAR]
2655 var = gui.statusbar_pos
2656 type = SLE_UINT8
2657 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2658 guiflags = SGF_MULTISTRING
2659 def = 1
2660 min = 0
2661 max = 2
2662 str = STR_CONFIG_SETTING_STATUSBAR_POS
2663 strhelp = STR_CONFIG_SETTING_STATUSBAR_POS_HELPTEXT
2664 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2665 proc = v_PositionStatusbar
2666 cat = SC_BASIC
2668 [SDTC_VAR]
2669 var = gui.window_snap_radius
2670 type = SLE_UINT8
2671 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2672 guiflags = SGF_0ISDISABLED
2673 def = 10
2674 min = 1
2675 max = 32
2676 str = STR_CONFIG_SETTING_SNAP_RADIUS
2677 strhelp = STR_CONFIG_SETTING_SNAP_RADIUS_HELPTEXT
2678 strval = STR_CONFIG_SETTING_SNAP_RADIUS_VALUE
2679 cat = SC_EXPERT
2681 [SDTC_VAR]
2682 var = gui.window_soft_limit
2683 type = SLE_UINT8
2684 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2685 guiflags = SGF_0ISDISABLED
2686 def = 20
2687 min = 5
2688 max = 255
2689 interval = 1
2690 str = STR_CONFIG_SETTING_SOFT_LIMIT
2691 strhelp = STR_CONFIG_SETTING_SOFT_LIMIT_HELPTEXT
2692 strval = STR_CONFIG_SETTING_SOFT_LIMIT_VALUE
2693 cat = SC_EXPERT
2695 [SDTC_VAR]
2696 var = gui.zoom_min
2697 type = SLE_UINT8
2698 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2699 guiflags = SGF_MULTISTRING
2700 def = ZOOM_LVL_MIN
2701 min = ZOOM_LVL_MIN
2702 max = ZOOM_LVL_OUT_4X
2703 str = STR_CONFIG_SETTING_ZOOM_MIN
2704 strhelp = STR_CONFIG_SETTING_ZOOM_MIN_HELPTEXT
2705 strval = STR_CONFIG_SETTING_ZOOM_LVL_MIN
2706 proc = ZoomMinMaxChanged
2708 [SDTC_VAR]
2709 var = gui.zoom_max
2710 type = SLE_UINT8
2711 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2712 guiflags = SGF_MULTISTRING
2713 def = ZOOM_LVL_MAX
2714 min = ZOOM_LVL_OUT_8X
2715 max = ZOOM_LVL_MAX
2716 str = STR_CONFIG_SETTING_ZOOM_MAX
2717 strhelp = STR_CONFIG_SETTING_ZOOM_MAX_HELPTEXT
2718 strval = STR_CONFIG_SETTING_ZOOM_LVL_OUT_2X
2719 proc = ZoomMinMaxChanged
2721 [SDTC_BOOL]
2722 var = gui.population_in_label
2723 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2724 def = true
2725 str = STR_CONFIG_SETTING_POPULATION_IN_LABEL
2726 strhelp = STR_CONFIG_SETTING_POPULATION_IN_LABEL_HELPTEXT
2727 proc = PopulationInLabelActive
2729 [SDTC_BOOL]
2730 var = gui.link_terraform_toolbar
2731 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2732 def = false
2733 str = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR
2734 strhelp = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR_HELPTEXT
2736 [SDTC_VAR]
2737 var = gui.smallmap_land_colour
2738 type = SLE_UINT8
2739 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2740 guiflags = SGF_MULTISTRING
2741 def = 0
2742 min = 0
2743 max = 2
2744 str = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR
2745 strhelp = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_HELPTEXT
2746 strval = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_GREEN
2747 proc = RedrawSmallmap
2749 [SDTC_VAR]
2750 var = gui.liveries
2751 type = SLE_UINT8
2752 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2753 guiflags = SGF_MULTISTRING
2754 def = 2
2755 min = 0
2756 max = 2
2757 str = STR_CONFIG_SETTING_LIVERIES
2758 strhelp = STR_CONFIG_SETTING_LIVERIES_HELPTEXT
2759 strval = STR_CONFIG_SETTING_LIVERIES_NONE
2760 proc = InvalidateCompanyLiveryWindow
2762 [SDTC_BOOL]
2763 var = gui.prefer_teamchat
2764 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2765 def = false
2766 str = STR_CONFIG_SETTING_PREFER_TEAMCHAT
2767 strhelp = STR_CONFIG_SETTING_PREFER_TEAMCHAT_HELPTEXT
2768 cat = SC_BASIC
2770 [SDTC_VAR]
2771 var = gui.scrollwheel_scrolling
2772 type = SLE_UINT8
2773 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2774 guiflags = SGF_MULTISTRING
2775 def = 0
2776 min = 0
2777 max = 2
2778 str = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING
2779 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING_HELPTEXT
2780 strval = STR_CONFIG_SETTING_SCROLLWHEEL_ZOOM
2781 cat = SC_BASIC
2783 [SDTC_VAR]
2784 var = gui.scrollwheel_multiplier
2785 type = SLE_UINT8
2786 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2787 def = 5
2788 min = 1
2789 max = 15
2790 interval = 1
2791 str = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER
2792 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER_HELPTEXT
2793 strval = STR_JUST_COMMA
2794 cat = SC_BASIC
2796 [SDTC_BOOL]
2797 var = gui.pause_on_newgame
2798 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2799 def = false
2800 str = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME
2801 strhelp = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME_HELPTEXT
2802 cat = SC_BASIC
2804 [SDTC_VAR]
2805 var = gui.advanced_vehicle_list
2806 type = SLE_UINT8
2807 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2808 guiflags = SGF_MULTISTRING
2809 def = 1
2810 min = 0
2811 max = 2
2812 str = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS
2813 strhelp = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS_HELPTEXT
2814 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2816 [SDTC_BOOL]
2817 var = gui.timetable_in_ticks
2818 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2819 def = false
2820 str = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS
2821 strhelp = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS_HELPTEXT
2822 proc = InvalidateVehTimetableWindow
2823 cat = SC_EXPERT
2825 [SDTC_BOOL]
2826 var = gui.timetable_arrival_departure
2827 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2828 def = true
2829 str = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE
2830 strhelp = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE_HELPTEXT
2831 proc = InvalidateVehTimetableWindow
2833 [SDTC_BOOL]
2834 var = gui.quick_goto
2835 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2836 def = false
2837 str = STR_CONFIG_SETTING_QUICKGOTO
2838 strhelp = STR_CONFIG_SETTING_QUICKGOTO_HELPTEXT
2839 cat = SC_BASIC
2841 [SDTC_VAR]
2842 var = gui.loading_indicators
2843 type = SLE_UINT8
2844 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2845 guiflags = SGF_MULTISTRING
2846 def = 1
2847 min = 0
2848 max = 2
2849 str = STR_CONFIG_SETTING_LOADING_INDICATORS
2850 strhelp = STR_CONFIG_SETTING_LOADING_INDICATORS_HELPTEXT
2851 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2852 proc = RedrawScreen
2853 cat = SC_BASIC
2855 [SDTC_VAR]
2856 var = gui.default_rail_type
2857 type = SLE_UINT8
2858 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2859 guiflags = SGF_MULTISTRING
2860 def = 0
2861 min = 0
2862 max = 2
2863 str = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE
2864 strhelp = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_HELPTEXT
2865 strval = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_FIRST
2866 cat = SC_BASIC
2868 [SDTC_BOOL]
2869 var = gui.enable_signal_gui
2870 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2871 def = true
2872 str = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI
2873 strhelp = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI_HELPTEXT
2874 proc = CloseSignalGUI
2875 cat = SC_EXPERT
2877 [SDTC_VAR]
2878 var = gui.coloured_news_year
2879 type = SLE_INT32
2880 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2881 def = 2000
2882 min = MIN_YEAR
2883 max = MAX_YEAR
2884 interval = 1
2885 str = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR
2886 strhelp = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR_HELPTEXT
2887 strval = STR_JUST_INT
2888 cat = SC_EXPERT
2890 [SDTC_VAR]
2891 var = gui.drag_signals_density
2892 type = SLE_UINT8
2893 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2894 def = 4
2895 min = 1
2896 max = 20
2897 str = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY
2898 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_HELPTEXT
2899 strval = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_VALUE
2900 proc = DragSignalsDensityChanged
2901 cat = SC_BASIC
2903 [SDTC_BOOL]
2904 var = gui.drag_signals_fixed_distance
2905 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2906 def = false
2907 str = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE
2908 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE_HELPTEXT
2909 cat = SC_EXPERT
2911 [SDTC_VAR]
2912 var = gui.semaphore_build_before
2913 type = SLE_INT32
2914 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2915 def = 1950
2916 min = MIN_YEAR
2917 max = MAX_YEAR
2918 interval = 1
2919 str = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE
2920 strhelp = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE_HELPTEXT
2921 strval = STR_JUST_INT
2922 proc = ResetSignalVariant
2924 [SDTC_BOOL]
2925 var = gui.vehicle_income_warn
2926 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2927 def = true
2928 str = STR_CONFIG_SETTING_WARN_INCOME_LESS
2929 strhelp = STR_CONFIG_SETTING_WARN_INCOME_LESS_HELPTEXT
2930 cat = SC_BASIC
2932 [SDTC_VAR]
2933 var = gui.order_review_system
2934 type = SLE_UINT8
2935 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2936 guiflags = SGF_MULTISTRING
2937 def = 2
2938 min = 0
2939 max = 2
2940 str = STR_CONFIG_SETTING_ORDER_REVIEW
2941 strhelp = STR_CONFIG_SETTING_ORDER_REVIEW_HELPTEXT
2942 strval = STR_CONFIG_SETTING_ORDER_REVIEW_OFF
2943 cat = SC_BASIC
2945 [SDTC_BOOL]
2946 var = gui.lost_vehicle_warn
2947 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2948 def = true
2949 str = STR_CONFIG_SETTING_WARN_LOST_VEHICLE
2950 strhelp = STR_CONFIG_SETTING_WARN_LOST_VEHICLE_HELPTEXT
2952 [SDTC_BOOL]
2953 var = gui.disable_unsuitable_building
2954 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2955 def = true
2956 str = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING
2957 strhelp = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING_HELPTEXT
2958 proc = RedrawScreen
2959 cat = SC_EXPERT
2961 [SDTC_BOOL]
2962 var = gui.new_nonstop
2963 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2964 def = false
2965 str = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT
2966 strhelp = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT_HELPTEXT
2967 cat = SC_BASIC
2969 [SDTC_VAR]
2970 var = gui.stop_location
2971 type = SLE_UINT8
2972 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2973 guiflags = SGF_MULTISTRING
2974 def = 2
2975 min = 0
2976 max = 2
2977 interval = 1
2978 str = STR_CONFIG_SETTING_STOP_LOCATION
2979 strhelp = STR_CONFIG_SETTING_STOP_LOCATION_HELPTEXT
2980 strval = STR_CONFIG_SETTING_STOP_LOCATION_NEAR_END
2981 cat = SC_BASIC
2983 [SDTC_BOOL]
2984 var = gui.keep_all_autosave
2985 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2986 def = false
2988 [SDTC_BOOL]
2989 var = gui.autosave_on_exit
2990 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2991 def = false
2992 cat = SC_BASIC
2994 [SDTC_VAR]
2995 var = gui.max_num_autosaves
2996 type = SLE_UINT8
2997 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2998 def = 16
2999 min = 0
3000 max = 255
3002 [SDTC_BOOL]
3003 var = gui.auto_euro
3004 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3005 def = true
3007 [SDTC_VAR]
3008 var = gui.news_message_timeout
3009 type = SLE_UINT8
3010 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3011 def = 2
3012 min = 1
3013 max = 255
3015 [SDTC_BOOL]
3016 var = gui.show_track_reservation
3017 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3018 def = false
3019 str = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION
3020 strhelp = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION_HELPTEXT
3021 proc = RedrawScreen
3022 cat = SC_BASIC
3024 [SDTC_VAR]
3025 var = gui.default_signal_type
3026 type = SLE_UINT8
3027 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3028 guiflags = SGF_MULTISTRING
3029 def = 1
3030 min = 0
3031 max = 2
3032 interval = 1
3033 str = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE
3034 strhelp = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE_HELPTEXT
3035 strval = STR_CONFIG_SETTING_DEFAULT_SIGNAL_NORMAL
3036 cat = SC_BASIC
3038 [SDTC_VAR]
3039 var = gui.cycle_signal_types
3040 type = SLE_UINT8
3041 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3042 guiflags = SGF_MULTISTRING
3043 def = 2
3044 min = 0
3045 max = 2
3046 interval = 1
3047 str = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES
3048 strhelp = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES_HELPTEXT
3049 strval = STR_CONFIG_SETTING_CYCLE_SIGNAL_NORMAL
3051 [SDTC_VAR]
3052 var = gui.station_numtracks
3053 type = SLE_UINT8
3054 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3055 def = 1
3056 min = 1
3057 max = 7
3059 [SDTC_VAR]
3060 var = gui.station_platlength
3061 type = SLE_UINT8
3062 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3063 def = 5
3064 min = 1
3065 max = 7
3066 cat = SC_BASIC
3068 [SDTC_BOOL]
3069 var = gui.station_dragdrop
3070 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3071 def = true
3072 cat = SC_BASIC
3074 [SDTC_BOOL]
3075 var = gui.station_show_coverage
3076 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3077 def = false
3078 cat = SC_BASIC
3080 [SDTC_BOOL]
3081 var = gui.persistent_buildingtools
3082 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3083 def = true
3084 str = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS
3085 strhelp = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS_HELPTEXT
3086 cat = SC_BASIC
3088 [SDTC_BOOL]
3089 var = gui.expenses_layout
3090 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3091 def = false
3092 str = STR_CONFIG_SETTING_EXPENSES_LAYOUT
3093 strhelp = STR_CONFIG_SETTING_EXPENSES_LAYOUT_HELPTEXT
3094 proc = RedrawScreen
3096 [SDTC_VAR]
3097 var = gui.station_gui_group_order
3098 type = SLE_UINT8
3099 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3100 def = 0
3101 min = 0
3102 max = 5
3103 interval = 1
3105 [SDTC_VAR]
3106 var = gui.station_gui_sort_by
3107 type = SLE_UINT8
3108 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3109 def = 0
3110 min = 0
3111 max = 3
3112 interval = 1
3114 [SDTC_VAR]
3115 var = gui.station_gui_sort_order
3116 type = SLE_UINT8
3117 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3118 def = 0
3119 min = 0
3120 max = 1
3121 interval = 1
3123 [SDTC_VAR]
3124 var = gui.missing_strings_threshold
3125 type = SLE_UINT8
3126 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3127 def = 25
3128 min = 1
3129 max = UINT8_MAX
3130 cat = SC_EXPERT
3132 [SDTC_VAR]
3133 var = gui.graph_line_thickness
3134 type = SLE_UINT8
3135 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3136 def = 3
3137 min = 1
3138 max = 5
3139 str = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS
3140 strhelp = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS_HELPTEXT
3141 strval = STR_JUST_COMMA
3142 proc = RedrawScreen
3144 ; For the dedicated build we'll enable dates in logs by default.
3145 [SDTC_BOOL]
3146 ifdef = DEDICATED
3147 var = gui.show_date_in_logs
3148 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3149 def = true
3151 [SDTC_BOOL]
3152 ifndef = DEDICATED
3153 var = gui.show_date_in_logs
3154 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3155 def = false
3157 [SDTC_VAR]
3158 var = gui.settings_restriction_mode
3159 type = SLE_UINT8
3160 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3161 def = 0
3162 min = 0
3163 max = 2
3165 [SDTC_VAR]
3166 var = gui.developer
3167 type = SLE_UINT8
3168 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3169 def = 1
3170 min = 0
3171 max = 2
3172 cat = SC_EXPERT
3174 [SDTC_BOOL]
3175 var = gui.newgrf_developer_tools
3176 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3177 def = false
3178 proc = InvalidateNewGRFChangeWindows
3179 cat = SC_EXPERT
3181 [SDTC_BOOL]
3182 var = gui.ai_developer_tools
3183 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3184 def = false
3185 proc = InvalidateAISettingsWindow
3186 cat = SC_EXPERT
3188 [SDTC_BOOL]
3189 var = gui.scenario_developer
3190 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3191 def = false
3192 proc = InvalidateNewGRFChangeWindows
3194 [SDTC_BOOL]
3195 var = gui.newgrf_show_old_versions
3196 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3197 def = false
3198 cat = SC_EXPERT
3200 [SDTC_VAR]
3201 var = gui.newgrf_default_palette
3202 type = SLE_UINT8
3203 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3204 guiflags = SGF_MULTISTRING
3205 def = 1
3206 min = 0
3207 max = 1
3208 proc = UpdateNewGRFConfigPalette
3209 cat = SC_EXPERT
3211 [SDTC_VAR]
3212 var = gui.console_backlog_timeout
3213 type = SLE_UINT16
3214 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3215 def = 100
3216 min = 10
3217 max = 65500
3219 [SDTC_VAR]
3220 var = gui.console_backlog_length
3221 type = SLE_UINT16
3222 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3223 def = 100
3224 min = 10
3225 max = 65500
3227 [SDTC_BOOL]
3228 var = sound.news_ticker
3229 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3230 def = true
3231 str = STR_CONFIG_SETTING_SOUND_TICKER
3232 strhelp = STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT
3234 [SDTC_BOOL]
3235 var = sound.news_full
3236 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3237 def = true
3238 str = STR_CONFIG_SETTING_SOUND_NEWS
3239 strhelp = STR_CONFIG_SETTING_SOUND_NEWS_HELPTEXT
3241 [SDTC_BOOL]
3242 var = sound.new_year
3243 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3244 def = true
3245 str = STR_CONFIG_SETTING_SOUND_NEW_YEAR
3246 strhelp = STR_CONFIG_SETTING_SOUND_NEW_YEAR_HELPTEXT
3248 [SDTC_BOOL]
3249 var = sound.confirm
3250 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3251 def = true
3252 str = STR_CONFIG_SETTING_SOUND_CONFIRM
3253 strhelp = STR_CONFIG_SETTING_SOUND_CONFIRM_HELPTEXT
3255 [SDTC_BOOL]
3256 var = sound.click_beep
3257 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3258 def = true
3259 str = STR_CONFIG_SETTING_SOUND_CLICK
3260 strhelp = STR_CONFIG_SETTING_SOUND_CLICK_HELPTEXT
3262 [SDTC_BOOL]
3263 var = sound.disaster
3264 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3265 def = true
3266 str = STR_CONFIG_SETTING_SOUND_DISASTER
3267 strhelp = STR_CONFIG_SETTING_SOUND_DISASTER_HELPTEXT
3269 [SDTC_BOOL]
3270 var = sound.vehicle
3271 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3272 def = true
3273 str = STR_CONFIG_SETTING_SOUND_VEHICLE
3274 strhelp = STR_CONFIG_SETTING_SOUND_VEHICLE_HELPTEXT
3276 [SDTC_BOOL]
3277 var = sound.ambient
3278 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3279 def = true
3280 str = STR_CONFIG_SETTING_SOUND_AMBIENT
3281 strhelp = STR_CONFIG_SETTING_SOUND_AMBIENT_HELPTEXT
3283 [SDTC_VAR]
3284 var = music.playlist
3285 type = SLE_UINT8
3286 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3287 def = 0
3288 min = 0
3289 max = 5
3290 interval = 1
3291 cat = SC_BASIC
3293 [SDTC_VAR]
3294 var = music.music_vol
3295 type = SLE_UINT8
3296 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3297 def = 127
3298 min = 0
3299 max = 127
3300 interval = 1
3301 cat = SC_BASIC
3303 [SDTC_VAR]
3304 var = music.effect_vol
3305 type = SLE_UINT8
3306 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3307 def = 127
3308 min = 0
3309 max = 127
3310 interval = 1
3311 cat = SC_BASIC
3313 [SDTC_LIST]
3314 var = music.custom_1
3315 type = SLE_UINT8
3316 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3317 def = NULL
3318 cat = SC_BASIC
3320 [SDTC_LIST]
3321 var = music.custom_2
3322 type = SLE_UINT8
3323 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3324 def = NULL
3325 cat = SC_BASIC
3327 [SDTC_BOOL]
3328 var = music.playing
3329 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3330 def = true
3331 cat = SC_BASIC
3333 [SDTC_BOOL]
3334 var = music.shuffle
3335 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3336 def = false
3337 cat = SC_BASIC
3339 [SDTC_OMANY]
3340 var = news_display.arrival_player
3341 type = SLE_UINT8
3342 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3343 guiflags = SGF_MULTISTRING
3344 def = 2
3345 max = 2
3346 full = _news_display
3347 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN
3348 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN_HELPTEXT
3349 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3351 [SDTC_OMANY]
3352 var = news_display.arrival_other
3353 type = SLE_UINT8
3354 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3355 guiflags = SGF_MULTISTRING
3356 def = 1
3357 max = 2
3358 full = _news_display
3359 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER
3360 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER_HELPTEXT
3361 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3363 [SDTC_OMANY]
3364 var = news_display.accident
3365 type = SLE_UINT8
3366 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3367 guiflags = SGF_MULTISTRING
3368 def = 2
3369 max = 2
3370 full = _news_display
3371 str = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS
3372 strhelp = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS_HELPTEXT
3373 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3375 [SDTC_OMANY]
3376 var = news_display.company_info
3377 type = SLE_UINT8
3378 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3379 guiflags = SGF_MULTISTRING
3380 def = 2
3381 max = 2
3382 full = _news_display
3383 str = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION
3384 strhelp = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION_HELPTEXT
3385 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3387 [SDTC_OMANY]
3388 var = news_display.open
3389 type = SLE_UINT8
3390 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3391 guiflags = SGF_MULTISTRING
3392 def = 1
3393 max = 2
3394 full = _news_display
3395 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN
3396 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN_HELPTEXT
3397 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3399 [SDTC_OMANY]
3400 var = news_display.close
3401 type = SLE_UINT8
3402 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3403 guiflags = SGF_MULTISTRING
3404 def = 1
3405 max = 2
3406 full = _news_display
3407 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE
3408 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE_HELPTEXT
3409 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3411 [SDTC_OMANY]
3412 var = news_display.economy
3413 type = SLE_UINT8
3414 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3415 guiflags = SGF_MULTISTRING
3416 def = 2
3417 max = 2
3418 full = _news_display
3419 str = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES
3420 strhelp = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES_HELPTEXT
3421 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3423 [SDTC_OMANY]
3424 var = news_display.production_player
3425 type = SLE_UINT8
3426 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3427 guiflags = SGF_MULTISTRING
3428 def = 1
3429 max = 2
3430 full = _news_display
3431 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY
3432 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY_HELPTEXT
3433 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3435 [SDTC_OMANY]
3436 var = news_display.production_other
3437 type = SLE_UINT8
3438 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3439 guiflags = SGF_MULTISTRING
3440 def = 0
3441 max = 2
3442 full = _news_display
3443 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_OTHER
3444 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_OTHER_HELPTEXT
3445 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3447 [SDTC_OMANY]
3448 var = news_display.production_nobody
3449 type = SLE_UINT8
3450 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3451 guiflags = SGF_MULTISTRING
3452 def = 0
3453 max = 2
3454 full = _news_display
3455 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED
3456 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED_HELPTEXT
3457 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3459 [SDTC_OMANY]
3460 var = news_display.advice
3461 type = SLE_UINT8
3462 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3463 guiflags = SGF_MULTISTRING
3464 def = 2
3465 max = 2
3466 full = _news_display
3467 str = STR_CONFIG_SETTING_NEWS_ADVICE
3468 strhelp = STR_CONFIG_SETTING_NEWS_ADVICE_HELPTEXT
3469 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3471 [SDTC_OMANY]
3472 var = news_display.new_vehicles
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_NEW_VEHICLES
3480 strhelp = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES_HELPTEXT
3481 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3483 [SDTC_OMANY]
3484 var = news_display.acceptance
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_CHANGES_ACCEPTANCE
3492 strhelp = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE_HELPTEXT
3493 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3495 [SDTC_OMANY]
3496 var = news_display.subsidies
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_SUBSIDIES
3504 strhelp = STR_CONFIG_SETTING_NEWS_SUBSIDIES_HELPTEXT
3505 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3507 [SDTC_OMANY]
3508 var = news_display.general
3509 type = SLE_UINT8
3510 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3511 guiflags = SGF_MULTISTRING
3512 def = 2
3513 max = 2
3514 full = _news_display
3515 str = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION
3516 strhelp = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION_HELPTEXT
3517 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3519 [SDTC_VAR]
3520 ifdef = ENABLE_NETWORK
3521 var = gui.network_chat_box_width_pct
3522 type = SLE_UINT16
3523 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3524 def = 40
3525 min = 10
3526 max = 100
3527 cat = SC_EXPERT
3529 [SDTC_VAR]
3530 ifdef = ENABLE_NETWORK
3531 var = gui.network_chat_box_height
3532 type = SLE_UINT8
3533 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3534 def = 25
3535 min = 5
3536 max = 255
3537 cat = SC_EXPERT
3539 [SDTC_VAR]
3540 ifdef = ENABLE_NETWORK
3541 var = gui.network_chat_timeout
3542 type = SLE_UINT16
3543 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3544 def = 20
3545 min = 1
3546 max = 65535
3547 cat = SC_EXPERT
3549 [SDTC_VAR]
3550 ifdef = ENABLE_NETWORK
3551 var = network.sync_freq
3552 type = SLE_UINT16
3553 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3554 guiflags = SGF_NETWORK_ONLY
3555 def = 100
3556 min = 0
3557 max = 100
3558 cat = SC_EXPERT
3560 [SDTC_VAR]
3561 ifdef = ENABLE_NETWORK
3562 var = network.frame_freq
3563 type = SLE_UINT8
3564 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3565 guiflags = SGF_NETWORK_ONLY
3566 def = 0
3567 min = 0
3568 max = 100
3569 cat = SC_EXPERT
3571 [SDTC_VAR]
3572 ifdef = ENABLE_NETWORK
3573 var = network.commands_per_frame
3574 type = SLE_UINT16
3575 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3576 guiflags = SGF_NETWORK_ONLY
3577 def = 2
3578 min = 1
3579 max = 65535
3580 cat = SC_EXPERT
3582 [SDTC_VAR]
3583 ifdef = ENABLE_NETWORK
3584 var = network.max_commands_in_queue
3585 type = SLE_UINT16
3586 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3587 guiflags = SGF_NETWORK_ONLY
3588 def = 16
3589 min = 1
3590 max = 65535
3591 cat = SC_EXPERT
3593 [SDTC_VAR]
3594 ifdef = ENABLE_NETWORK
3595 var = network.bytes_per_frame
3596 type = SLE_UINT16
3597 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3598 guiflags = SGF_NETWORK_ONLY
3599 def = 8
3600 min = 1
3601 max = 65535
3602 cat = SC_EXPERT
3604 [SDTC_VAR]
3605 ifdef = ENABLE_NETWORK
3606 var = network.bytes_per_frame_burst
3607 type = SLE_UINT16
3608 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3609 guiflags = SGF_NETWORK_ONLY
3610 def = 256
3611 min = 1
3612 max = 65535
3613 cat = SC_EXPERT
3615 [SDTC_VAR]
3616 ifdef = ENABLE_NETWORK
3617 var = network.max_init_time
3618 type = SLE_UINT16
3619 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3620 guiflags = SGF_NETWORK_ONLY
3621 def = 100
3622 min = 0
3623 max = 32000
3624 cat = SC_EXPERT
3626 [SDTC_VAR]
3627 ifdef = ENABLE_NETWORK
3628 var = network.max_join_time
3629 type = SLE_UINT16
3630 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3631 guiflags = SGF_NETWORK_ONLY
3632 def = 500
3633 min = 0
3634 max = 32000
3636 [SDTC_VAR]
3637 ifdef = ENABLE_NETWORK
3638 var = network.max_download_time
3639 type = SLE_UINT16
3640 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3641 guiflags = SGF_NETWORK_ONLY
3642 def = 1000
3643 min = 0
3644 max = 32000
3646 [SDTC_VAR]
3647 ifdef = ENABLE_NETWORK
3648 var = network.max_password_time
3649 type = SLE_UINT16
3650 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3651 guiflags = SGF_NETWORK_ONLY
3652 def = 2000
3653 min = 0
3654 max = 32000
3656 [SDTC_VAR]
3657 ifdef = ENABLE_NETWORK
3658 var = network.max_lag_time
3659 type = SLE_UINT16
3660 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3661 guiflags = SGF_NETWORK_ONLY
3662 def = 500
3663 min = 0
3664 max = 32000
3666 [SDTC_BOOL]
3667 ifdef = ENABLE_NETWORK
3668 var = network.pause_on_join
3669 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3670 guiflags = SGF_NETWORK_ONLY
3671 def = true
3673 [SDTC_VAR]
3674 ifdef = ENABLE_NETWORK
3675 var = network.server_port
3676 type = SLE_UINT16
3677 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3678 guiflags = SGF_NETWORK_ONLY
3679 def = NETWORK_DEFAULT_PORT
3680 min = 0
3681 max = 65535
3682 cat = SC_EXPERT
3684 [SDTC_VAR]
3685 ifdef = ENABLE_NETWORK
3686 var = network.server_admin_port
3687 type = SLE_UINT16
3688 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3689 guiflags = SGF_NETWORK_ONLY
3690 def = NETWORK_ADMIN_PORT
3691 min = 0
3692 max = 65535
3693 cat = SC_EXPERT
3695 [SDTC_BOOL]
3696 ifdef = ENABLE_NETWORK
3697 var = network.server_admin_chat
3698 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3699 guiflags = SGF_NETWORK_ONLY
3700 def = true
3701 cat = SC_EXPERT
3703 [SDTC_BOOL]
3704 ifdef = ENABLE_NETWORK
3705 var = network.server_advertise
3706 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3707 guiflags = SGF_NETWORK_ONLY
3708 def = false
3710 [SDTC_VAR]
3711 ifdef = ENABLE_NETWORK
3712 var = network.lan_internet
3713 type = SLE_UINT8
3714 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3715 guiflags = SGF_NETWORK_ONLY
3716 def = 0
3717 min = 0
3718 max = 1
3720 [SDTC_STR]
3721 ifdef = ENABLE_NETWORK
3722 var = network.client_name
3723 type = SLE_STRB
3724 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3725 def = NULL
3726 proc = UpdateClientName
3727 cat = SC_BASIC
3729 [SDTC_STR]
3730 ifdef = ENABLE_NETWORK
3731 var = network.server_password
3732 type = SLE_STRB
3733 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3734 guiflags = SGF_NETWORK_ONLY
3735 def = NULL
3736 proc = UpdateServerPassword
3737 cat = SC_BASIC
3739 [SDTC_STR]
3740 ifdef = ENABLE_NETWORK
3741 var = network.rcon_password
3742 type = SLE_STRB
3743 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3744 guiflags = SGF_NETWORK_ONLY
3745 def = NULL
3746 proc = UpdateRconPassword
3747 cat = SC_BASIC
3749 [SDTC_STR]
3750 ifdef = ENABLE_NETWORK
3751 var = network.admin_password
3752 type = SLE_STRB
3753 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3754 guiflags = SGF_NETWORK_ONLY
3755 def = NULL
3756 cat = SC_BASIC
3758 [SDTC_STR]
3759 ifdef = ENABLE_NETWORK
3760 var = network.default_company_pass
3761 type = SLE_STRB
3762 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3763 def = NULL
3765 [SDTC_STR]
3766 ifdef = ENABLE_NETWORK
3767 var = network.server_name
3768 type = SLE_STRB
3769 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3770 guiflags = SGF_NETWORK_ONLY
3771 def = NULL
3772 cat = SC_BASIC
3774 [SDTC_STR]
3775 ifdef = ENABLE_NETWORK
3776 var = network.connect_to_ip
3777 type = SLE_STRB
3778 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3779 def = NULL
3781 [SDTC_STR]
3782 ifdef = ENABLE_NETWORK
3783 var = network.network_id
3784 type = SLE_STRB
3785 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3786 guiflags = SGF_NETWORK_ONLY
3787 def = NULL
3789 [SDTC_BOOL]
3790 ifdef = ENABLE_NETWORK
3791 var = network.autoclean_companies
3792 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3793 guiflags = SGF_NETWORK_ONLY
3794 def = false
3796 [SDTC_VAR]
3797 ifdef = ENABLE_NETWORK
3798 var = network.autoclean_unprotected
3799 type = SLE_UINT8
3800 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3801 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3802 def = 12
3803 min = 0
3804 max = 240
3806 [SDTC_VAR]
3807 ifdef = ENABLE_NETWORK
3808 var = network.autoclean_protected
3809 type = SLE_UINT8
3810 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3811 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3812 def = 36
3813 min = 0
3814 max = 240
3816 [SDTC_VAR]
3817 ifdef = ENABLE_NETWORK
3818 var = network.autoclean_novehicles
3819 type = SLE_UINT8
3820 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3821 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3822 def = 0
3823 min = 0
3824 max = 240
3826 [SDTC_VAR]
3827 ifdef = ENABLE_NETWORK
3828 var = network.max_companies
3829 type = SLE_UINT8
3830 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3831 guiflags = SGF_NETWORK_ONLY
3832 def = 15
3833 min = 1
3834 max = MAX_COMPANIES
3835 proc = UpdateClientConfigValues
3836 cat = SC_BASIC
3838 [SDTC_VAR]
3839 ifdef = ENABLE_NETWORK
3840 var = network.max_clients
3841 type = SLE_UINT8
3842 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3843 guiflags = SGF_NETWORK_ONLY
3844 def = 25
3845 min = 2
3846 max = MAX_CLIENTS
3847 cat = SC_BASIC
3849 [SDTC_VAR]
3850 ifdef = ENABLE_NETWORK
3851 var = network.max_spectators
3852 type = SLE_UINT8
3853 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3854 guiflags = SGF_NETWORK_ONLY
3855 def = 15
3856 min = 0
3857 max = MAX_CLIENTS
3858 proc = UpdateClientConfigValues
3859 cat = SC_BASIC
3861 [SDTC_VAR]
3862 ifdef = ENABLE_NETWORK
3863 var = network.restart_game_year
3864 type = SLE_INT32
3865 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3866 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3867 def = 0
3868 min = MIN_YEAR
3869 max = MAX_YEAR
3870 interval = 1
3872 [SDTC_VAR]
3873 ifdef = ENABLE_NETWORK
3874 var = network.min_active_clients
3875 type = SLE_UINT8
3876 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3877 guiflags = SGF_NETWORK_ONLY
3878 def = 0
3879 min = 0
3880 max = MAX_CLIENTS
3882 [SDTC_OMANY]
3883 ifdef = ENABLE_NETWORK
3884 var = network.server_lang
3885 type = SLE_UINT8
3886 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3887 guiflags = SGF_NETWORK_ONLY
3888 def = 0
3889 max = 35
3890 full = _server_langs
3891 cat = SC_BASIC
3893 [SDTC_BOOL]
3894 ifdef = ENABLE_NETWORK
3895 var = network.reload_cfg
3896 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3897 guiflags = SGF_NETWORK_ONLY
3898 def = false
3899 cat = SC_EXPERT
3901 [SDTC_STR]
3902 ifdef = ENABLE_NETWORK
3903 var = network.last_host
3904 type = SLE_STRB
3905 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3906 def = """"
3907 cat = SC_EXPERT
3909 [SDTC_VAR]
3910 ifdef = ENABLE_NETWORK
3911 var = network.last_port
3912 type = SLE_UINT16
3913 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3914 def = 0
3915 min = 0
3916 max = UINT16_MAX
3917 cat = SC_EXPERT
3919 [SDTC_BOOL]
3920 ifdef = ENABLE_NETWORK
3921 var = network.no_http_content_downloads
3922 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3923 def = false
3924 cat = SC_EXPERT
3926 ; Since the network code (CmdChangeSetting and friends) use the index in this array to decide
3927 ; which setting the server is talking about all conditional compilation of this array must be at the
3928 ; end. This isn't really the best solution, the settings the server can tell the client about should
3929 ; either use a seperate array or some other form of identifier.
3932 ; We might need to emulate a right mouse button on mac
3933 [SDTC_VAR]
3934 ifdef = __APPLE__
3935 var = gui.right_mouse_btn_emulation
3936 type = SLE_UINT8
3937 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3938 guiflags = SGF_MULTISTRING
3939 def = 0
3940 min = 0
3941 max = 2
3942 str = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU
3943 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_HELPTEXT
3944 strval = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_COMMAND
3945 cat = SC_BASIC
3947 [SDT_END]