1 ; This file is part of OpenTTD.
2 ; OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
3 ; OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
4 ; See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
7 ; Settings as stored in the main configuration file ("openttd.cfg") and in the
8 ; savegame PATS chunk (if not flagged not to).
11 /* Begin
- Callback Functions for the various settings
*/
12 static void v_PositionMainToolbar
(int32 new_value
);
13 static void v_PositionStatusbar
(int32 new_value
);
14 static void RedrawSmallmap
(int32 new_value
);
15 static void StationSpreadChanged
(int32 new_value
);
16 static void CloseSignalGUI
(int32 new_value
);
17 static void UpdateConsists
(int32 new_value
);
18 static void TrainAccelerationModelChanged
(int32 new_value
);
19 static void RoadVehAccelerationModelChanged
(int32 new_value
);
20 static void TrainSlopeSteepnessChanged
(int32 new_value
);
21 static void RoadVehSlopeSteepnessChanged
(int32 new_value
);
22 static void TownFoundingChanged
(int32 new_value
);
23 static void DifficultyNoiseChange
(int32 new_value
);
24 static void MaxNoAIsChange
(int32 new_value
);
25 static bool CheckRoadSide
(int32
&new_value
);
26 static bool CheckMaxHeightLevel
(int32
&new_value
);
27 static bool CheckFreeformEdges
(int32
&new_value
);
28 static void UpdateFreeformEdges
(int32 new_value
);
29 static bool CheckDynamicEngines
(int32
&new_value
);
30 static void StationCatchmentChanged
(int32 new_value
);
31 static void InvalidateCompanyLiveryWindow
(int32 new_value
);
32 static void InvalidateNewGRFChangeWindows
(int32 new_value
);
33 static void ZoomMinMaxChanged
(int32 new_value
);
34 static void SpriteZoomMinChanged
(int32 new_value
);
35 static void MaxVehiclesChanged
(int32 new_value
);
36 static void InvalidateShipPathCache
(int32 new_value
);
38 static bool ReplaceAsteriskWithEmptyPassword
(std
::string
&newval
);
39 static void UpdateClientConfigValues
();
41 /* End
- Callback Functions for the various settings
*/
43 /* Some settings do not need to be synchronised when playing in multiplayer.
44 * These include for example the GUI settings and will not be saved with the
46 * It is also a bit tricky since you would think that service_interval
47 * for example does not need to be synched. Every client assigns the
48 * service_interval value to the v
->service_interval
, meaning that every client
49 * assigns its own value. If the setting was company
-based
, that would mean that
50 * vehicles could decide on different moments that they are heading back to a
51 * service depot
, causing desyncs on a massive scale.
*/
52 const SettingTable _settings
{
56 SDTG_BOOL = SDTG_BOOL($name, $flags, $var, $def, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
57 SDTG_VAR = SDTG_VAR($name, $type, $flags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
58 SDTG_OMANY = SDTG_OMANY($name, $type, $flags, $var, $def, $max, $full, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
59 SDTC_BOOL = SDTC_BOOL( $var, $flags, $def, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
60 SDTC_LIST = SDTC_LIST( $var, $type, $flags, $def, $from, $to, $cat, $extra, $startup),
61 SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $def, $max, $full, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
62 SDTC_SSTR = SDTC_SSTR( $var, $type, $flags, $def, $length, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
63 SDTC_VAR = SDTC_VAR( $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
64 SDT_BOOL = SDT_BOOL(GameSettings, $var, $flags, $def, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
65 SDT_OMANY = SDT_OMANY(GameSettings, $var, $type, $flags, $def, $max, $full, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $load, $cat, $extra, $startup),
66 SDT_SSTR = SDT_SSTR(GameSettings, $var, $type, $flags, $def, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
67 SDT_VAR = SDT_VAR(GameSettings, $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
68 SDT_NULL = SDT_NULL( $length, $from, $to),
71 SDTG_VAR = static_assert($max <= MAX_$type, "Maximum value for $var exceeds storage size");
72 SDTG_OMANY = static_assert($max <= MAX_$type, "Maximum value for $var exceeds storage size");
73 SDTC_OMANY = static_assert($max <= MAX_$type, "Maximum value for $var exceeds storage size");
74 SDTC_VAR = static_assert($max <= MAX_$type, "Maximum value for $var exceeds storage size");
75 SDT_OMANY = static_assert($max <= MAX_$type, "Maximum value for GameSettings.$var exceeds storage size");
76 SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for GameSettings.$var exceeds storage size");
82 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
95 ; Saved settings variables.
96 ; The next 18 entries are important for savegame compatibility. Do NOT remove those. See HandleOldDiffCustom() for more details.
98 var = difficulty.max_no_competitors
103 max = MAX_COMPANIES - 1
105 post_cb = MaxNoAIsChange
109 var = difficulty.competitor_start_time
118 var = difficulty.number_towns
121 flags = SF_NEWGAME_ONLY
126 strval = STR_NUM_VERY_LOW
130 var = difficulty.industry_density
133 flags = SF_GUI_DROPDOWN
138 str = STR_CONFIG_SETTING_INDUSTRY_DENSITY
139 strhelp = STR_CONFIG_SETTING_INDUSTRY_DENSITY_HELPTEXT
140 strval = STR_FUNDING_ONLY
144 var = difficulty.max_loan
147 flags = SF_NEWGAME_ONLY | SF_SCENEDIT_TOO | SF_GUI_CURRENCY
152 str = STR_CONFIG_SETTING_MAXIMUM_INITIAL_LOAN
153 strhelp = STR_CONFIG_SETTING_MAXIMUM_INITIAL_LOAN_HELPTEXT
154 strval = STR_JUST_CURRENCY_LONG
158 var = difficulty.initial_interest
161 flags = SF_NEWGAME_ONLY | SF_SCENEDIT_TOO
166 str = STR_CONFIG_SETTING_INTEREST_RATE
167 strhelp = STR_CONFIG_SETTING_INTEREST_RATE_HELPTEXT
168 strval = STR_CONFIG_SETTING_PERCENTAGE
171 var = difficulty.vehicle_costs
174 flags = SF_NEWGAME_ONLY | SF_SCENEDIT_TOO | SF_GUI_DROPDOWN
179 str = STR_CONFIG_SETTING_RUNNING_COSTS
180 strhelp = STR_CONFIG_SETTING_RUNNING_COSTS_HELPTEXT
181 strval = STR_SEA_LEVEL_LOW
185 var = difficulty.competitor_speed
188 flags = SF_GUI_DROPDOWN
193 str = STR_CONFIG_SETTING_CONSTRUCTION_SPEED
194 strhelp = STR_CONFIG_SETTING_CONSTRUCTION_SPEED_HELPTEXT
195 strval = STR_AI_SPEED_VERY_SLOW
199 var = difficulty.competitor_intelligence
208 var = difficulty.vehicle_breakdowns
211 flags = SF_GUI_DROPDOWN
216 str = STR_CONFIG_SETTING_VEHICLE_BREAKDOWNS
217 strhelp = STR_CONFIG_SETTING_VEHICLE_BREAKDOWNS_HELPTEXT
218 strval = STR_DISASTER_NONE
222 var = difficulty.subsidy_multiplier
225 flags = SF_GUI_DROPDOWN
230 str = STR_CONFIG_SETTING_SUBSIDY_MULTIPLIER
231 strhelp = STR_CONFIG_SETTING_SUBSIDY_MULTIPLIER_HELPTEXT
232 strval = STR_SUBSIDY_X1_5
235 var = difficulty.subsidy_duration
237 from = SLV_CUSTOM_SUBSIDY_DURATION
238 flags = SF_GUI_0_IS_SPECIAL
243 str = STR_CONFIG_SETTING_SUBSIDY_DURATION
244 strhelp = STR_CONFIG_SETTING_SUBSIDY_DURATION_HELPTEXT
245 strval = STR_CONFIG_SETTING_SUBSIDY_DURATION_VALUE
248 var = difficulty.construction_cost
251 flags = SF_NEWGAME_ONLY | SF_SCENEDIT_TOO | SF_GUI_DROPDOWN
256 str = STR_CONFIG_SETTING_CONSTRUCTION_COSTS
257 strhelp = STR_CONFIG_SETTING_CONSTRUCTION_COSTS_HELPTEXT
258 strval = STR_SEA_LEVEL_LOW
262 var = difficulty.terrain_type
265 flags = SF_GUI_DROPDOWN | SF_NEWGAME_ONLY
270 str = STR_CONFIG_SETTING_TERRAIN_TYPE
271 strhelp = STR_CONFIG_SETTING_TERRAIN_TYPE_HELPTEXT
272 strval = STR_TERRAIN_TYPE_VERY_FLAT
276 var = difficulty.quantity_sea_lakes
279 flags = SF_NEWGAME_ONLY
284 strval = STR_SEA_LEVEL_VERY_LOW
288 var = difficulty.economy
291 str = STR_CONFIG_SETTING_RECESSIONS
292 strhelp = STR_CONFIG_SETTING_RECESSIONS_HELPTEXT
295 var = difficulty.line_reverse_mode
298 str = STR_CONFIG_SETTING_TRAIN_REVERSING
299 strhelp = STR_CONFIG_SETTING_TRAIN_REVERSING_HELPTEXT
302 var = difficulty.disasters
305 str = STR_CONFIG_SETTING_DISASTERS
306 strhelp = STR_CONFIG_SETTING_DISASTERS_HELPTEXT
310 var = difficulty.town_council_tolerance
313 flags = SF_GUI_DROPDOWN
318 str = STR_CONFIG_SETTING_CITY_APPROVAL
319 strhelp = STR_CONFIG_SETTING_CITY_APPROVAL_HELPTEXT
320 strval = STR_CITY_APPROVAL_PERMISSIVE
321 post_cb = DifficultyNoiseChange
324 name = ""diff_level""
325 var = _old_diff_level
327 flags = SF_NOT_IN_CONFIG
335 ; There are only 21 predefined town_name values (0-20), but you can have more with newgrf action F so allow
336 ; these bigger values (21-255). Invalid values will fallback to english on use and (undefined string) in GUI.
338 var = game_creation.town_name
341 flags = SF_NO_NETWORK
348 var = game_creation.landscape
351 flags = SF_GUI_DROPDOWN | SF_NEWGAME_ONLY
355 load = ConvertLandscape
356 str = STR_CONFIG_SETTING_LANDSCAPE
357 strhelp = STR_CONFIG_SETTING_LANDSCAPE_HELPTEXT
358 strval = STR_CHEAT_SWITCH_CLIMATE_TEMPERATE_LANDSCAPE
361 ; Snow line (or snow_line_height * TILE_HEIGHT)
368 var = vehicle.road_side
371 flags = SF_GUI_DROPDOWN | SF_NO_NETWORK
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 pre_cb = CheckRoadSide
384 var = construction.map_height_limit
387 flags = SF_NEWGAME_ONLY | SF_SCENEDIT_TOO | SF_GUI_0_IS_SPECIAL
389 min = MIN_MAP_HEIGHT_LIMIT
390 max = MAX_MAP_HEIGHT_LIMIT
392 str = STR_CONFIG_SETTING_MAP_HEIGHT_LIMIT
393 strhelp = STR_CONFIG_SETTING_MAP_HEIGHT_LIMIT_HELPTEXT
394 strval = STR_CONFIG_SETTING_MAP_HEIGHT_LIMIT_VALUE
395 pre_cb = CheckMaxHeightLevel
396 post_cb = [](auto) { InvalidateWindowClassesData(WC_SMALLMAP, 2); }
400 var = game_creation.heightmap_height
402 from = SLV_MAPGEN_SETTINGS_REVAMP
403 flags = SF_NEWGAME_ONLY
404 def = MAP_HEIGHT_LIMIT_AUTO_MINIMUM
405 min = MIN_HEIGHTMAP_HEIGHT
406 max = MAX_MAP_HEIGHT_LIMIT
410 var = construction.build_on_slopes
411 flags = SF_NO_NETWORK
416 var = construction.command_pause_level
419 flags = SF_GUI_DROPDOWN | SF_NO_NETWORK
424 str = STR_CONFIG_SETTING_COMMAND_PAUSE_LEVEL
425 strhelp = STR_CONFIG_SETTING_COMMAND_PAUSE_LEVEL_HELPTEXT
426 strval = STR_CONFIG_SETTING_COMMAND_PAUSE_LEVEL_NO_ACTIONS
429 var = construction.terraform_per_64k_frames
439 var = construction.terraform_frame_burst
449 var = construction.clear_per_64k_frames
459 var = construction.clear_frame_burst
469 var = construction.tree_per_64k_frames
479 var = construction.tree_frame_burst
489 var = construction.autoslope
492 str = STR_CONFIG_SETTING_AUTOSLOPE
493 strhelp = STR_CONFIG_SETTING_AUTOSLOPE_HELPTEXT
497 var = construction.extra_dynamite
499 str = STR_CONFIG_SETTING_EXTRADYNAMITE
500 strhelp = STR_CONFIG_SETTING_EXTRADYNAMITE_HELPTEXT
503 var = construction.max_bridge_length
506 flags = SF_NO_NETWORK
511 str = STR_CONFIG_SETTING_MAX_BRIDGE_LENGTH
512 strhelp = STR_CONFIG_SETTING_MAX_BRIDGE_LENGTH_HELPTEXT
513 strval = STR_CONFIG_SETTING_TILE_LENGTH
516 var = construction.max_bridge_height
519 flags = SF_NO_NETWORK
522 max = MAX_TILE_HEIGHT
524 str = STR_CONFIG_SETTING_MAX_BRIDGE_HEIGHT
525 strhelp = STR_CONFIG_SETTING_MAX_BRIDGE_HEIGHT_HELPTEXT
526 strval = STR_JUST_COMMA
530 var = construction.max_tunnel_length
533 flags = SF_NO_NETWORK
538 str = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH
539 strhelp = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH_HELPTEXT
540 strval = STR_CONFIG_SETTING_TILE_LENGTH
542 # construction.longbridges
548 var = construction.train_signal_side
550 flags = SF_GUI_DROPDOWN | SF_NO_NETWORK
554 str = STR_CONFIG_SETTING_SIGNALSIDE
555 strhelp = STR_CONFIG_SETTING_SIGNALSIDE_HELPTEXT
556 strval = STR_CONFIG_SETTING_SIGNALSIDE_LEFT
557 post_cb = [](auto) { MarkWholeScreenDirty(); }
561 var = station.never_expire_airports
562 flags = SF_NO_NETWORK
564 str = STR_CONFIG_SETTING_NEVER_EXPIRE_AIRPORTS
565 strhelp = STR_CONFIG_SETTING_NEVER_EXPIRE_AIRPORTS_HELPTEXT
568 var = economy.town_layout
571 flags = SF_GUI_DROPDOWN
576 str = STR_CONFIG_SETTING_TOWN_LAYOUT
577 strhelp = STR_CONFIG_SETTING_TOWN_LAYOUT_HELPTEXT
578 strval = STR_CONFIG_SETTING_TOWN_LAYOUT_DEFAULT
579 post_cb = TownFoundingChanged
582 var = economy.allow_town_roads
584 flags = SF_NO_NETWORK
586 str = STR_CONFIG_SETTING_ALLOW_TOWN_ROADS
587 strhelp = STR_CONFIG_SETTING_ALLOW_TOWN_ROADS_HELPTEXT
590 var = economy.found_town
593 flags = SF_GUI_DROPDOWN
598 str = STR_CONFIG_SETTING_TOWN_FOUNDING
599 strhelp = STR_CONFIG_SETTING_TOWN_FOUNDING_HELPTEXT
600 strval = STR_CONFIG_SETTING_TOWN_FOUNDING_FORBIDDEN
601 post_cb = TownFoundingChanged
605 var = economy.allow_town_level_crossings
607 flags = SF_NO_NETWORK
609 str = STR_CONFIG_SETTING_ALLOW_TOWN_LEVEL_CROSSINGS
610 strhelp = STR_CONFIG_SETTING_ALLOW_TOWN_LEVEL_CROSSINGS_HELPTEXT
613 var = economy.town_cargogen_mode
615 from = SLV_TOWN_CARGOGEN
616 flags = SF_GUI_DROPDOWN
621 str = STR_CONFIG_SETTING_TOWN_CARGOGENMODE
622 strhelp = STR_CONFIG_SETTING_TOWN_CARGOGENMODE_HELPTEXT
623 strval = STR_CONFIG_SETTING_TOWN_CARGOGENMODE_ORIGINAL
629 var = linkgraph.recalc_interval
636 str = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL
637 strval = STR_JUST_COMMA
638 strhelp = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL_HELPTEXT
639 extra = offsetof(LinkGraphSettings, recalc_interval)
642 var = linkgraph.recalc_time
649 str = STR_CONFIG_SETTING_LINKGRAPH_TIME
650 strval = STR_JUST_COMMA
651 strhelp = STR_CONFIG_SETTING_LINKGRAPH_TIME_HELPTEXT
652 extra = offsetof(LinkGraphSettings, recalc_time)
656 var = linkgraph.distribution_pax
659 flags = SF_GUI_DROPDOWN
664 str = STR_CONFIG_SETTING_DISTRIBUTION_PAX
665 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
666 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_PAX_HELPTEXT
667 extra = offsetof(LinkGraphSettings, distribution_pax)
671 var = linkgraph.distribution_mail
674 flags = SF_GUI_DROPDOWN
679 str = STR_CONFIG_SETTING_DISTRIBUTION_MAIL
680 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
681 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_MAIL_HELPTEXT
682 extra = offsetof(LinkGraphSettings, distribution_mail)
686 var = linkgraph.distribution_armoured
689 flags = SF_GUI_DROPDOWN
694 str = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED
695 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
696 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED_HELPTEXT
697 extra = offsetof(LinkGraphSettings, distribution_armoured)
701 var = linkgraph.distribution_default
704 flags = SF_GUI_DROPDOWN
707 max = DT_MAX_NONSYMMETRIC
709 str = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT
710 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
711 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT_HELPTEXT
712 extra = offsetof(LinkGraphSettings, distribution_default)
716 var = linkgraph.accuracy
723 str = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY
724 strval = STR_JUST_COMMA
725 strhelp = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY_HELPTEXT
726 extra = offsetof(LinkGraphSettings, accuracy)
730 var = linkgraph.demand_distance
737 str = STR_CONFIG_SETTING_DEMAND_DISTANCE
738 strval = STR_CONFIG_SETTING_PERCENTAGE
739 strhelp = STR_CONFIG_SETTING_DEMAND_DISTANCE_HELPTEXT
740 extra = offsetof(LinkGraphSettings, demand_distance)
744 var = linkgraph.demand_size
751 str = STR_CONFIG_SETTING_DEMAND_SIZE
752 strval = STR_CONFIG_SETTING_PERCENTAGE
753 strhelp = STR_CONFIG_SETTING_DEMAND_SIZE_HELPTEXT
754 extra = offsetof(LinkGraphSettings, demand_size)
758 var = linkgraph.short_path_saturation
765 str = STR_CONFIG_SETTING_SHORT_PATH_SATURATION
766 strval = STR_CONFIG_SETTING_PERCENTAGE
767 strhelp = STR_CONFIG_SETTING_SHORT_PATH_SATURATION_HELPTEXT
768 extra = offsetof(LinkGraphSettings, short_path_saturation)
774 var = vehicle.train_acceleration_model
776 flags = SF_GUI_DROPDOWN
781 str = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL
782 strhelp = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL_HELPTEXT
783 strval = STR_CONFIG_SETTING_ORIGINAL
784 post_cb = TrainAccelerationModelChanged
787 var = vehicle.roadveh_acceleration_model
790 flags = SF_GUI_DROPDOWN
795 str = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL
796 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL_HELPTEXT
797 strval = STR_CONFIG_SETTING_ORIGINAL
798 post_cb = RoadVehAccelerationModelChanged
801 var = vehicle.train_slope_steepness
808 str = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS
809 strhelp = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS_HELPTEXT
810 strval = STR_CONFIG_SETTING_PERCENTAGE
811 post_cb = TrainSlopeSteepnessChanged
815 var = vehicle.roadveh_slope_steepness
822 str = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS
823 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS_HELPTEXT
824 strval = STR_CONFIG_SETTING_PERCENTAGE
825 post_cb = RoadVehSlopeSteepnessChanged
829 var = pf.forbid_90_deg
831 str = STR_CONFIG_SETTING_FORBID_90_DEG
832 strhelp = STR_CONFIG_SETTING_FORBID_90_DEG_HELPTEXT
833 post_cb = InvalidateShipPathCache
837 var = vehicle.max_train_length
844 str = STR_CONFIG_SETTING_TRAIN_LENGTH
845 strhelp = STR_CONFIG_SETTING_TRAIN_LENGTH_HELPTEXT
846 strval = STR_CONFIG_SETTING_TILE_LENGTH
849 ; vehicle.mammoth_trains
855 var = vehicle.smoke_amount
858 flags = SF_GUI_DROPDOWN
862 str = STR_CONFIG_SETTING_SMOKE_AMOUNT
863 strhelp = STR_CONFIG_SETTING_SMOKE_AMOUNT_HELPTEXT
864 strval = STR_CONFIG_SETTING_NONE
874 var = pf.roadveh_queue
879 var = pf.new_pathfinding_all
885 var = pf.yapf.ship_use_yapf
892 var = pf.yapf.road_use_yapf
899 var = pf.yapf.rail_use_yapf
907 var = pf.pathfinder_for_trains
910 flags = SF_GUI_DROPDOWN
915 str = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS
916 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS_HELPTEXT
917 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
921 var = pf.pathfinder_for_roadvehs
924 flags = SF_GUI_DROPDOWN
929 str = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES
930 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES_HELPTEXT
931 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
935 var = pf.pathfinder_for_ships
938 flags = SF_GUI_DROPDOWN
943 str = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS
944 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS_HELPTEXT
945 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
946 post_cb = InvalidateShipPathCache
950 var = vehicle.never_expire_vehicles
951 flags = SF_NO_NETWORK
953 str = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES
954 strhelp = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES_HELPTEXT
957 var = vehicle.max_trains
962 str = STR_CONFIG_SETTING_MAX_TRAINS
963 strhelp = STR_CONFIG_SETTING_MAX_TRAINS_HELPTEXT
964 strval = STR_JUST_COMMA
965 post_cb = MaxVehiclesChanged
969 var = vehicle.max_roadveh
974 str = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES
975 strhelp = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES_HELPTEXT
976 strval = STR_JUST_COMMA
977 post_cb = MaxVehiclesChanged
981 var = vehicle.max_aircraft
986 str = STR_CONFIG_SETTING_MAX_AIRCRAFT
987 strhelp = STR_CONFIG_SETTING_MAX_AIRCRAFT_HELPTEXT
988 strval = STR_JUST_COMMA
989 post_cb = MaxVehiclesChanged
993 var = vehicle.max_ships
998 str = STR_CONFIG_SETTING_MAX_SHIPS
999 strhelp = STR_CONFIG_SETTING_MAX_SHIPS_HELPTEXT
1000 strval = STR_JUST_COMMA
1001 post_cb = MaxVehiclesChanged
1006 flags = SF_NO_NETWORK
1007 var = _old_vds.servint_ispercent
1014 flags = SF_GUI_0_IS_SPECIAL
1015 var = _old_vds.servint_trains
1024 flags = SF_GUI_0_IS_SPECIAL
1025 var = _old_vds.servint_roadveh
1034 flags = SF_GUI_0_IS_SPECIAL
1035 var = _old_vds.servint_ships
1044 flags = SF_GUI_0_IS_SPECIAL
1045 var = _old_vds.servint_aircraft
1052 var = order.no_servicing_if_no_breakdowns
1054 str = STR_CONFIG_SETTING_NOSERVICE
1055 strhelp = STR_CONFIG_SETTING_NOSERVICE_HELPTEXT
1058 var = vehicle.wagon_speed_limits
1059 flags = SF_NO_NETWORK
1061 str = STR_CONFIG_SETTING_WAGONSPEEDLIMITS
1062 strhelp = STR_CONFIG_SETTING_WAGONSPEEDLIMITS_HELPTEXT
1063 post_cb = UpdateConsists
1066 var = vehicle.disable_elrails
1068 flags = SF_NO_NETWORK
1070 str = STR_CONFIG_SETTING_DISABLE_ELRAILS
1071 strhelp = STR_CONFIG_SETTING_DISABLE_ELRAILS_HELPTEXT
1072 post_cb = SettingsDisableElrail
1076 var = vehicle.freight_trains
1079 flags = SF_NO_NETWORK
1084 str = STR_CONFIG_SETTING_FREIGHT_TRAINS
1085 strhelp = STR_CONFIG_SETTING_FREIGHT_TRAINS_HELPTEXT
1086 strval = STR_JUST_COMMA
1087 post_cb = UpdateConsists
1096 var = vehicle.plane_speed
1099 flags = SF_NO_NETWORK
1103 str = STR_CONFIG_SETTING_PLANE_SPEED
1104 strhelp = STR_CONFIG_SETTING_PLANE_SPEED_HELPTEXT
1105 strval = STR_CONFIG_SETTING_PLANE_SPEED_VALUE
1108 var = vehicle.dynamic_engines
1110 flags = SF_NO_NETWORK
1112 pre_cb = CheckDynamicEngines
1116 var = vehicle.plane_crashes
1119 flags = SF_GUI_DROPDOWN
1124 str = STR_CONFIG_SETTING_PLANE_CRASHES
1125 strhelp = STR_CONFIG_SETTING_PLANE_CRASHES_HELPTEXT
1126 strval = STR_CONFIG_SETTING_PLANE_CRASHES_NONE
1129 ; station.join_stations
1135 var = gui.sg_full_load_any
1141 var = order.improved_load
1142 flags = SF_NO_NETWORK
1147 var = order.selectgoods
1152 var = gui.sg_new_nonstop
1157 ; station.nonuniform_stations
1163 var = station.station_spread
1168 str = STR_CONFIG_SETTING_STATION_SPREAD
1169 strhelp = STR_CONFIG_SETTING_STATION_SPREAD_HELPTEXT
1170 strval = STR_CONFIG_SETTING_TILE_LENGTH
1171 post_cb = StationSpreadChanged
1175 var = order.serviceathelipad
1177 str = STR_CONFIG_SETTING_SERVICEATHELIPAD
1178 strhelp = STR_CONFIG_SETTING_SERVICEATHELIPAD_HELPTEXT
1182 var = station.modified_catchment
1184 str = STR_CONFIG_SETTING_CATCHMENT
1185 strhelp = STR_CONFIG_SETTING_CATCHMENT_HELPTEXT
1186 post_cb = StationCatchmentChanged
1190 var = station.serve_neutral_industries
1192 from = SLV_SERVE_NEUTRAL_INDUSTRIES
1193 str = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES
1194 strhelp = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES_HELPTEXT
1195 post_cb = StationCatchmentChanged
1198 var = order.gradual_loading
1200 flags = SF_NO_NETWORK
1205 var = construction.road_stop_on_town_road
1208 str = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD
1209 strhelp = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD_HELPTEXT
1213 var = construction.road_stop_on_competitor_road
1216 str = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD
1217 strhelp = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD_HELPTEXT
1221 var = station.adjacent_stations
1227 var = economy.station_noise_level
1229 flags = SF_NO_NETWORK
1231 str = STR_CONFIG_SETTING_NOISE_LEVEL
1232 strhelp = STR_CONFIG_SETTING_NOISE_LEVEL_HELPTEXT
1233 post_cb = [](auto new_value) { InvalidateWindowClassesData(WC_TOWN_VIEW, new_value); }
1236 var = station.distant_join_stations
1239 str = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS
1240 strhelp = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS_HELPTEXT
1241 post_cb = [](auto) { CloseWindowById(WC_SELECT_STATION, 0); }
1245 var = economy.inflation
1246 flags = SF_NO_NETWORK
1248 str = STR_CONFIG_SETTING_INFLATION
1249 strhelp = STR_CONFIG_SETTING_INFLATION_HELPTEXT
1253 var = construction.raw_industry_construction
1255 flags = SF_GUI_DROPDOWN
1259 str = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD
1260 strhelp = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_HELPTEXT
1261 strval = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_NONE
1262 post_cb = [](auto) { InvalidateWindowData(WC_BUILD_INDUSTRY, 0); }
1266 var = construction.industry_platform
1272 str = STR_CONFIG_SETTING_INDUSTRY_PLATFORM
1273 strhelp = STR_CONFIG_SETTING_INDUSTRY_PLATFORM_HELPTEXT
1274 strval = STR_CONFIG_SETTING_TILE_LENGTH
1278 var = economy.multiple_industry_per_town
1280 str = STR_CONFIG_SETTING_MULTIPINDTOWN
1281 strhelp = STR_CONFIG_SETTING_MULTIPINDTOWN_HELPTEXT
1290 str = STR_CONFIG_SETTING_BRIBE
1291 strhelp = STR_CONFIG_SETTING_BRIBE_HELPTEXT
1292 post_cb = [](auto) { SetWindowClassesDirty(WC_TOWN_AUTHORITY); }
1296 var = economy.exclusive_rights
1299 str = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE
1300 strhelp = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE_HELPTEXT
1301 post_cb = [](auto) { SetWindowClassesDirty(WC_TOWN_AUTHORITY); }
1305 var = economy.fund_buildings
1308 str = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS
1309 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS_HELPTEXT
1310 post_cb = [](auto) { SetWindowClassesDirty(WC_TOWN_AUTHORITY); }
1314 var = economy.fund_roads
1317 str = STR_CONFIG_SETTING_ALLOW_FUND_ROAD
1318 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_ROAD_HELPTEXT
1319 post_cb = [](auto) { SetWindowClassesDirty(WC_TOWN_AUTHORITY); }
1323 var = economy.give_money
1326 str = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY
1327 strhelp = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY_HELPTEXT
1331 var = game_creation.snow_line_height
1333 flags = SF_SCENEDIT_ONLY
1334 def = DEF_SNOWLINE_HEIGHT
1335 min = MIN_SNOWLINE_HEIGHT
1336 max = MAX_SNOWLINE_HEIGHT
1338 str = STR_CONFIG_SETTING_SNOWLINE_HEIGHT
1339 strhelp = STR_CONFIG_SETTING_SNOWLINE_HEIGHT_HELPTEXT
1340 strval = STR_JUST_COMMA
1344 var = game_creation.snow_coverage
1346 from = SLV_MAPGEN_SETTINGS_REVAMP
1347 flags = SF_NEWGAME_ONLY
1348 def = DEF_SNOW_COVERAGE
1352 str = STR_CONFIG_SETTING_SNOW_COVERAGE
1353 strhelp = STR_CONFIG_SETTING_SNOW_COVERAGE_HELPTEXT
1354 strval = STR_CONFIG_SETTING_SNOW_COVERAGE_VALUE
1358 var = game_creation.desert_coverage
1360 from = SLV_MAPGEN_SETTINGS_REVAMP
1361 flags = SF_NEWGAME_ONLY
1362 def = DEF_DESERT_COVERAGE
1366 str = STR_CONFIG_SETTING_DESERT_COVERAGE
1367 strhelp = STR_CONFIG_SETTING_DESERT_COVERAGE_HELPTEXT
1368 strval = STR_CONFIG_SETTING_DESERT_COVERAGE_VALUE
1376 var = game_creation.starting_year
1378 def = DEF_START_YEAR
1382 str = STR_CONFIG_SETTING_STARTING_YEAR
1383 strval = STR_JUST_INT
1391 var = game_creation.ending_year
1393 from = SLV_ENDING_YEAR
1394 flags = SF_GUI_0_IS_SPECIAL
1399 str = STR_CONFIG_SETTING_ENDING_YEAR
1400 strhelp = STR_CONFIG_SETTING_ENDING_YEAR_HELPTEXT
1401 strval = STR_CONFIG_SETTING_ENDING_YEAR_VALUE
1407 flags = SF_GUI_DROPDOWN
1411 str = STR_CONFIG_SETTING_ECONOMY_TYPE
1412 strhelp = STR_CONFIG_SETTING_ECONOMY_TYPE_HELPTEXT
1413 strval = STR_CONFIG_SETTING_ECONOMY_TYPE_ORIGINAL
1414 post_cb = [](auto) { InvalidateWindowClassesData(WC_INDUSTRY_VIEW); }
1418 var = economy.allow_shares
1420 str = STR_CONFIG_SETTING_ALLOW_SHARES
1421 strhelp = STR_CONFIG_SETTING_ALLOW_SHARES_HELPTEXT
1422 post_cb = [](auto) { InvalidateWindowClassesData(WC_COMPANY); }
1425 var = economy.min_years_for_shares
1427 from = SLV_TRADING_AGE
1432 str = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES
1433 strhelp = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES_HELPTEXT
1434 strval = STR_JUST_INT
1438 var = economy.feeder_payment_share
1444 str = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE
1445 strhelp = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE_HELPTEXT
1446 strval = STR_CONFIG_SETTING_PERCENTAGE
1450 var = economy.town_growth_rate
1453 flags = SF_GUI_DROPDOWN
1457 str = STR_CONFIG_SETTING_TOWN_GROWTH
1458 strhelp = STR_CONFIG_SETTING_TOWN_GROWTH_HELPTEXT
1459 strval = STR_CONFIG_SETTING_TOWN_GROWTH_NONE
1462 var = economy.larger_towns
1465 flags = SF_GUI_0_IS_SPECIAL
1470 str = STR_CONFIG_SETTING_LARGER_TOWNS
1471 strhelp = STR_CONFIG_SETTING_LARGER_TOWNS_HELPTEXT
1472 strval = STR_CONFIG_SETTING_LARGER_TOWNS_VALUE
1475 var = economy.initial_city_size
1482 str = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER
1483 strhelp = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER_HELPTEXT
1484 strval = STR_JUST_COMMA
1487 var = economy.mod_road_rebuild
1492 ; previously ai-new setting.
1498 var = script.settings_profile
1501 flags = SF_GUI_DROPDOWN
1505 full = _settings_profiles
1506 str = STR_CONFIG_SETTING_AI_PROFILE
1507 strhelp = STR_CONFIG_SETTING_AI_PROFILE_HELPTEXT
1508 strval = STR_CONFIG_SETTING_AI_PROFILE_EASY
1512 var = ai.ai_in_multiplayer
1514 str = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER
1515 strhelp = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER_HELPTEXT
1519 var = ai.ai_disable_veh_train
1521 str = STR_CONFIG_SETTING_AI_BUILDS_TRAINS
1522 strhelp = STR_CONFIG_SETTING_AI_BUILDS_TRAINS_HELPTEXT
1525 var = ai.ai_disable_veh_roadveh
1527 str = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES
1528 strhelp = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES_HELPTEXT
1531 var = ai.ai_disable_veh_aircraft
1533 str = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT
1534 strhelp = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT_HELPTEXT
1537 var = ai.ai_disable_veh_ship
1539 str = STR_CONFIG_SETTING_AI_BUILDS_SHIPS
1540 strhelp = STR_CONFIG_SETTING_AI_BUILDS_SHIPS_HELPTEXT
1543 var = script.script_max_opcode_till_suspend
1546 flags = SF_NEWGAME_ONLY
1551 str = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES
1552 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES_HELPTEXT
1553 strval = STR_JUST_COMMA
1557 var = script.script_max_memory_megabytes
1559 from = SLV_SCRIPT_MEMLIMIT
1560 flags = SF_NEWGAME_ONLY
1565 str = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY
1566 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY_HELPTEXT
1567 strval = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY_VALUE
1572 var = vehicle.extend_vehicle_life
1580 var = economy.dist_local_authority
1588 var = pf.reverse_at_signals
1591 str = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS
1592 strhelp = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS_HELPTEXT
1595 var = pf.wait_oneway_signal
1603 var = pf.wait_twoway_signal
1611 var = economy.town_noise_population[0]
1620 var = economy.town_noise_population[1]
1629 var = economy.town_noise_population[2]
1638 var = economy.infrastructure_maintenance
1641 str = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE
1642 strhelp = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE_HELPTEXT
1643 post_cb = [](auto) { InvalidateWindowClassesData(WC_COMPANY_INFRASTRUCTURE); }
1648 var = pf.wait_for_pbs_path
1657 var = pf.reserve_paths
1663 var = pf.path_backoff_interval
1672 ; Used to be pf.opf.pf_maxlength & pf.opf.pf_maxdepth
1679 var = pf.npf.npf_max_search_nodes
1687 var = pf.npf.npf_rail_firstred_penalty
1689 def = 10 * NPF_TILE_LENGTH
1695 var = pf.npf.npf_rail_firstred_exit_penalty
1697 def = 100 * NPF_TILE_LENGTH
1703 var = pf.npf.npf_rail_lastred_penalty
1705 def = 10 * NPF_TILE_LENGTH
1711 var = pf.npf.npf_rail_station_penalty
1713 def = 1 * NPF_TILE_LENGTH
1719 var = pf.npf.npf_rail_slope_penalty
1721 def = 1 * NPF_TILE_LENGTH
1727 var = pf.npf.npf_rail_curve_penalty
1729 def = 1 * NPF_TILE_LENGTH
1735 var = pf.npf.npf_rail_depot_reverse_penalty
1737 def = 50 * NPF_TILE_LENGTH
1743 var = pf.npf.npf_rail_pbs_cross_penalty
1746 def = 3 * NPF_TILE_LENGTH
1752 var = pf.npf.npf_rail_pbs_signal_back_penalty
1755 def = 15 * NPF_TILE_LENGTH
1761 var = pf.npf.npf_buoy_penalty
1763 def = 2 * NPF_TILE_LENGTH
1769 var = pf.npf.npf_water_curve_penalty
1771 def = 1 * NPF_TILE_LENGTH
1777 var = pf.npf.npf_road_curve_penalty
1779 def = 1 * NPF_TILE_LENGTH
1785 var = pf.npf.npf_crossing_penalty
1787 def = 3 * NPF_TILE_LENGTH
1793 var = pf.npf.npf_road_drive_through_penalty
1796 def = 8 * NPF_TILE_LENGTH
1802 var = pf.npf.npf_road_dt_occupied_penalty
1805 def = 8 * NPF_TILE_LENGTH
1811 var = pf.npf.npf_road_bay_occupied_penalty
1814 def = 15 * NPF_TILE_LENGTH
1820 var = pf.npf.maximum_go_to_depot_penalty
1823 def = 20 * NPF_TILE_LENGTH
1830 var = pf.yapf.disable_node_optimization
1836 var = pf.yapf.max_search_nodes
1845 var = pf.yapf.rail_firstred_twoway_eol
1851 var = pf.yapf.rail_firstred_penalty
1854 def = 10 * YAPF_TILE_LENGTH
1860 var = pf.yapf.rail_firstred_exit_penalty
1863 def = 100 * YAPF_TILE_LENGTH
1869 var = pf.yapf.rail_lastred_penalty
1872 def = 10 * YAPF_TILE_LENGTH
1878 var = pf.yapf.rail_lastred_exit_penalty
1881 def = 100 * YAPF_TILE_LENGTH
1887 var = pf.yapf.rail_station_penalty
1890 def = 10 * YAPF_TILE_LENGTH
1896 var = pf.yapf.rail_slope_penalty
1899 def = 2 * YAPF_TILE_LENGTH
1905 var = pf.yapf.rail_curve45_penalty
1908 def = 1 * YAPF_TILE_LENGTH
1914 var = pf.yapf.rail_curve90_penalty
1917 def = 6 * YAPF_TILE_LENGTH
1923 var = pf.yapf.rail_depot_reverse_penalty
1926 def = 50 * YAPF_TILE_LENGTH
1932 var = pf.yapf.rail_crossing_penalty
1935 def = 3 * YAPF_TILE_LENGTH
1941 var = pf.yapf.rail_look_ahead_max_signals
1950 var = pf.yapf.rail_look_ahead_signal_p0
1959 var = pf.yapf.rail_look_ahead_signal_p1
1968 var = pf.yapf.rail_look_ahead_signal_p2
1977 var = pf.yapf.rail_pbs_cross_penalty
1980 def = 3 * YAPF_TILE_LENGTH
1986 var = pf.yapf.rail_pbs_station_penalty
1989 def = 8 * YAPF_TILE_LENGTH
1995 var = pf.yapf.rail_pbs_signal_back_penalty
1998 def = 15 * YAPF_TILE_LENGTH
2004 var = pf.yapf.rail_doubleslip_penalty
2007 def = 1 * YAPF_TILE_LENGTH
2013 var = pf.yapf.rail_longer_platform_penalty
2016 def = 8 * YAPF_TILE_LENGTH
2022 var = pf.yapf.rail_longer_platform_per_tile_penalty
2025 def = 0 * YAPF_TILE_LENGTH
2031 var = pf.yapf.rail_shorter_platform_penalty
2034 def = 40 * YAPF_TILE_LENGTH
2040 var = pf.yapf.rail_shorter_platform_per_tile_penalty
2043 def = 0 * YAPF_TILE_LENGTH
2049 var = pf.yapf.road_slope_penalty
2052 def = 2 * YAPF_TILE_LENGTH
2058 var = pf.yapf.road_curve_penalty
2061 def = 1 * YAPF_TILE_LENGTH
2067 var = pf.yapf.road_crossing_penalty
2070 def = 3 * YAPF_TILE_LENGTH
2076 var = pf.yapf.road_stop_penalty
2079 def = 8 * YAPF_TILE_LENGTH
2085 var = pf.yapf.road_stop_occupied_penalty
2088 def = 8 * YAPF_TILE_LENGTH
2094 var = pf.yapf.road_stop_bay_occupied_penalty
2097 def = 15 * YAPF_TILE_LENGTH
2103 var = pf.yapf.maximum_go_to_depot_penalty
2106 def = 20 * YAPF_TILE_LENGTH
2112 var = pf.yapf.ship_curve45_penalty
2114 from = SLV_SHIP_CURVE_PENALTY
2115 def = 1 * YAPF_TILE_LENGTH
2121 var = pf.yapf.ship_curve90_penalty
2123 from = SLV_SHIP_CURVE_PENALTY
2124 def = 6 * YAPF_TILE_LENGTH
2131 var = game_creation.land_generator
2134 flags = SF_GUI_DROPDOWN | SF_NEWGAME_ONLY
2138 str = STR_CONFIG_SETTING_LAND_GENERATOR
2139 strhelp = STR_CONFIG_SETTING_LAND_GENERATOR_HELPTEXT
2140 strval = STR_CONFIG_SETTING_LAND_GENERATOR_ORIGINAL
2143 var = game_creation.oil_refinery_limit
2149 str = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE
2150 strval = STR_CONFIG_SETTING_TILE_LENGTH
2151 strhelp = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE_HELPTEXT
2154 var = game_creation.tgen_smoothness
2157 flags = SF_GUI_DROPDOWN | SF_NEWGAME_ONLY
2159 min = TGEN_SMOOTHNESS_BEGIN
2160 max = TGEN_SMOOTHNESS_END - 1
2161 str = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN
2162 strhelp = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_HELPTEXT
2163 strval = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_VERY_SMOOTH
2167 var = game_creation.variety
2170 flags = SF_GUI_DROPDOWN | SF_NEWGAME_ONLY
2174 str = STR_CONFIG_SETTING_VARIETY
2175 strhelp = STR_CONFIG_SETTING_VARIETY_HELPTEXT
2176 strval = STR_VARIETY_NONE
2179 var = game_creation.generation_seed
2182 def = GENERATE_NEW_SEED
2188 var = game_creation.tree_placer
2191 flags = SF_GUI_DROPDOWN | SF_NEWGAME_ONLY | SF_SCENEDIT_TOO
2195 str = STR_CONFIG_SETTING_TREE_PLACER
2196 strhelp = STR_CONFIG_SETTING_TREE_PLACER_HELPTEXT
2197 strval = STR_CONFIG_SETTING_TREE_PLACER_NONE
2201 var = game_creation.heightmap_rotation
2203 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2207 str = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION
2208 strval = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION_COUNTER_CLOCKWISE
2212 var = game_creation.se_flat_world_height
2214 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2218 str = STR_CONFIG_SETTING_SE_FLAT_WORLD_HEIGHT
2219 strval = STR_JUST_COMMA
2224 var = game_creation.map_x
2226 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2228 min = MIN_MAP_SIZE_BITS
2229 max = MAX_MAP_SIZE_BITS
2233 var = game_creation.map_y
2235 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2237 min = MIN_MAP_SIZE_BITS
2238 max = MAX_MAP_SIZE_BITS
2242 var = construction.freeform_edges
2245 pre_cb = CheckFreeformEdges
2246 post_cb = UpdateFreeformEdges
2250 var = game_creation.water_borders
2258 var = game_creation.custom_town_number
2267 var = construction.extra_tree_placement
2270 flags = SF_GUI_DROPDOWN
2274 str = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT
2275 strhelp = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_HELPTEXT
2276 strval = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_NO_SPREAD
2280 var = game_creation.custom_terrain_type
2282 from = SLV_MAPGEN_SETTINGS_REVAMP
2283 flags = SF_NEWGAME_ONLY
2284 def = MAP_HEIGHT_LIMIT_AUTO_MINIMUM
2285 min = MIN_CUSTOM_TERRAIN_TYPE
2286 max = MAX_MAP_HEIGHT_LIMIT
2290 var = game_creation.custom_sea_level
2293 def = CUSTOM_SEA_LEVEL_MIN_PERCENTAGE
2294 min = CUSTOM_SEA_LEVEL_MIN_PERCENTAGE
2295 max = CUSTOM_SEA_LEVEL_MAX_PERCENTAGE
2299 var = game_creation.min_river_length
2308 var = game_creation.river_route_random
2317 var = game_creation.amount_of_rivers
2320 flags = SF_GUI_DROPDOWN | SF_NEWGAME_ONLY
2324 str = STR_CONFIG_SETTING_RIVER_AMOUNT
2325 strhelp = STR_CONFIG_SETTING_RIVER_AMOUNT_HELPTEXT
2326 strval = STR_RIVERS_NONE
2331 var = locale.currency
2334 flags = SF_NO_NETWORK_SYNC
2336 max = CURRENCY_END - 1
2337 full = _locale_currencies
2338 post_cb = [](auto) { MarkWholeScreenDirty(); }
2347 flags = SF_NOT_IN_CONFIG
2350 full = _locale_units
2351 post_cb = [](auto) { MarkWholeScreenDirty(); }
2355 var = locale.units_velocity
2358 flags = SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2361 full = _locale_units
2362 post_cb = [](auto) { MarkWholeScreenDirty(); }
2364 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY
2365 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_HELPTEXT
2366 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_IMPERIAL
2369 var = locale.units_power
2372 flags = SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2375 full = _locale_units
2376 post_cb = [](auto) { MarkWholeScreenDirty(); }
2378 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER
2379 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_HELPTEXT
2380 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_IMPERIAL
2383 var = locale.units_weight
2386 flags = SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2389 full = _locale_units
2390 post_cb = [](auto) { MarkWholeScreenDirty(); }
2392 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT
2393 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_HELPTEXT
2394 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_IMPERIAL
2397 var = locale.units_volume
2400 flags = SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2403 full = _locale_units
2404 post_cb = [](auto) { MarkWholeScreenDirty(); }
2406 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME
2407 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_HELPTEXT
2408 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_IMPERIAL
2411 var = locale.units_force
2414 flags = SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2417 full = _locale_units
2418 post_cb = [](auto) { MarkWholeScreenDirty(); }
2420 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE
2421 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_HELPTEXT
2422 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_IMPERIAL
2425 var = locale.units_height
2428 flags = SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2431 full = _locale_units
2432 post_cb = [](auto) { MarkWholeScreenDirty(); }
2434 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT
2435 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_HELPTEXT
2436 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_IMPERIAL
2439 var = locale.digit_group_separator
2442 flags = SF_NO_NETWORK_SYNC
2444 post_cb = [](auto) { MarkWholeScreenDirty(); }
2448 var = locale.digit_group_separator_currency
2451 flags = SF_NO_NETWORK_SYNC
2453 post_cb = [](auto) { MarkWholeScreenDirty(); }
2457 var = locale.digit_decimal_separator
2460 flags = SF_NO_NETWORK_SYNC
2462 post_cb = [](auto) { MarkWholeScreenDirty(); }
2466 ;***************************************************************************
2467 ; Unsaved setting variables.
2472 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2475 full = _autosave_interval
2476 str = STR_CONFIG_SETTING_AUTOSAVE
2477 strhelp = STR_CONFIG_SETTING_AUTOSAVE_HELPTEXT
2478 strval = STR_GAME_OPTIONS_AUTOSAVE_DROPDOWN_OFF
2482 var = gui.threaded_saves
2483 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2488 var = gui.date_format_in_default_names
2490 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2493 full = _savegame_date
2494 str = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES
2495 strhelp = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_HELPTEXT
2496 strval = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_LONG
2499 var = gui.show_finances
2500 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2502 str = STR_CONFIG_SETTING_SHOWFINANCES
2503 strhelp = STR_CONFIG_SETTING_SHOWFINANCES_HELPTEXT
2507 var = gui.auto_scrolling
2509 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2513 str = STR_CONFIG_SETTING_AUTOSCROLL
2514 strhelp = STR_CONFIG_SETTING_AUTOSCROLL_HELPTEXT
2515 strval = STR_CONFIG_SETTING_AUTOSCROLL_DISABLED
2519 var = gui.scroll_mode
2521 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2525 str = STR_CONFIG_SETTING_SCROLLMODE
2526 strhelp = STR_CONFIG_SETTING_SCROLLMODE_HELPTEXT
2527 strval = STR_CONFIG_SETTING_SCROLLMODE_DEFAULT
2531 var = gui.smooth_scroll
2532 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2534 str = STR_CONFIG_SETTING_SMOOTH_SCROLLING
2535 strhelp = STR_CONFIG_SETTING_SMOOTH_SCROLLING_HELPTEXT
2538 var = gui.right_mouse_wnd_close
2539 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2541 str = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE
2542 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE_HELPTEXT
2545 ; We might need to emulate a right mouse button on mac
2548 var = gui.right_mouse_btn_emulation
2550 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2554 str = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU
2555 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_HELPTEXT
2556 strval = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_COMMAND
2560 var = gui.measure_tooltip
2561 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2563 str = STR_CONFIG_SETTING_MEASURE_TOOLTIP
2564 strhelp = STR_CONFIG_SETTING_MEASURE_TOOLTIP_HELPTEXT
2568 var = gui.errmsg_duration
2570 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2574 str = STR_CONFIG_SETTING_ERRMSG_DURATION
2575 strhelp = STR_CONFIG_SETTING_ERRMSG_DURATION_HELPTEXT
2576 strval = STR_CONFIG_SETTING_ERRMSG_DURATION_VALUE
2579 var = gui.hover_delay_ms
2581 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL
2586 str = STR_CONFIG_SETTING_HOVER_DELAY
2587 strhelp = STR_CONFIG_SETTING_HOVER_DELAY_HELPTEXT
2588 strval = STR_CONFIG_SETTING_HOVER_DELAY_VALUE
2591 var = gui.osk_activation
2593 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2594 str = STR_CONFIG_SETTING_OSK_ACTIVATION
2595 strhelp = STR_CONFIG_SETTING_OSK_ACTIVATION_HELPTEXT
2596 strval = STR_CONFIG_SETTING_OSK_ACTIVATION_DISABLED
2597 flags = SF_GUI_DROPDOWN
2598 full = _osk_activation
2605 var = gui.toolbar_pos
2607 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2611 str = STR_CONFIG_SETTING_TOOLBAR_POS
2612 strhelp = STR_CONFIG_SETTING_TOOLBAR_POS_HELPTEXT
2613 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2614 post_cb = v_PositionMainToolbar
2618 var = gui.statusbar_pos
2620 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2624 str = STR_CONFIG_SETTING_STATUSBAR_POS
2625 strhelp = STR_CONFIG_SETTING_STATUSBAR_POS_HELPTEXT
2626 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2627 post_cb = v_PositionStatusbar
2631 var = gui.window_snap_radius
2633 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL
2637 str = STR_CONFIG_SETTING_SNAP_RADIUS
2638 strhelp = STR_CONFIG_SETTING_SNAP_RADIUS_HELPTEXT
2639 strval = STR_CONFIG_SETTING_SNAP_RADIUS_VALUE
2643 var = gui.window_soft_limit
2645 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL
2650 str = STR_CONFIG_SETTING_SOFT_LIMIT
2651 strhelp = STR_CONFIG_SETTING_SOFT_LIMIT_HELPTEXT
2652 strval = STR_CONFIG_SETTING_SOFT_LIMIT_VALUE
2658 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2661 max = ZOOM_LVL_OUT_4X
2662 str = STR_CONFIG_SETTING_ZOOM_MIN
2663 strhelp = STR_CONFIG_SETTING_ZOOM_MIN_HELPTEXT
2664 strval = STR_CONFIG_SETTING_ZOOM_LVL_MIN
2665 post_cb = ZoomMinMaxChanged
2671 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2673 min = ZOOM_LVL_OUT_8X
2675 str = STR_CONFIG_SETTING_ZOOM_MAX
2676 strhelp = STR_CONFIG_SETTING_ZOOM_MAX_HELPTEXT
2677 strval = STR_CONFIG_SETTING_ZOOM_LVL_OUT_2X
2678 post_cb = ZoomMinMaxChanged
2682 var = gui.sprite_zoom_min
2684 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2687 max = ZOOM_LVL_OUT_4X
2688 str = STR_CONFIG_SETTING_SPRITE_ZOOM_MIN
2689 strhelp = STR_CONFIG_SETTING_SPRITE_ZOOM_MIN_HELPTEXT
2690 strval = STR_CONFIG_SETTING_SPRITE_ZOOM_LVL_MIN
2691 post_cb = SpriteZoomMinChanged
2694 var = gui.population_in_label
2695 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2697 str = STR_CONFIG_SETTING_POPULATION_IN_LABEL
2698 strhelp = STR_CONFIG_SETTING_POPULATION_IN_LABEL_HELPTEXT
2699 post_cb = [](auto) { UpdateAllTownVirtCoords(); }
2702 var = gui.link_terraform_toolbar
2703 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2705 str = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR
2706 strhelp = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR_HELPTEXT
2709 var = gui.smallmap_land_colour
2711 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2715 str = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR
2716 strhelp = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_HELPTEXT
2717 strval = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_GREEN
2718 post_cb = RedrawSmallmap
2723 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2727 str = STR_CONFIG_SETTING_LIVERIES
2728 strhelp = STR_CONFIG_SETTING_LIVERIES_HELPTEXT
2729 strval = STR_CONFIG_SETTING_LIVERIES_NONE
2730 post_cb = InvalidateCompanyLiveryWindow
2733 var = gui.starting_colour
2735 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2739 str = STR_CONFIG_SETTING_COMPANY_STARTING_COLOUR
2740 strhelp = STR_CONFIG_SETTING_COMPANY_STARTING_COLOUR_HELPTEXT
2741 strval = STR_COLOUR_DARK_BLUE
2744 var = gui.auto_remove_signals
2745 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2747 str = STR_CONFIG_SETTING_AUTO_REMOVE_SIGNALS
2748 strhelp = STR_CONFIG_SETTING_AUTO_REMOVE_SIGNALS_HELPTEXT
2752 var = gui.prefer_teamchat
2753 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2755 str = STR_CONFIG_SETTING_PREFER_TEAMCHAT
2756 strhelp = STR_CONFIG_SETTING_PREFER_TEAMCHAT_HELPTEXT
2760 var = gui.scrollwheel_scrolling
2762 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2766 str = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING
2767 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING_HELPTEXT
2768 strval = STR_CONFIG_SETTING_SCROLLWHEEL_ZOOM
2772 var = gui.scrollwheel_multiplier
2774 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2779 str = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER
2780 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER_HELPTEXT
2781 strval = STR_JUST_COMMA
2785 var = gui.pause_on_newgame
2786 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2788 str = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME
2789 strhelp = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME_HELPTEXT
2793 var = gui.advanced_vehicle_list
2795 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2799 str = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS
2800 strhelp = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS_HELPTEXT
2801 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2804 var = gui.timetable_in_ticks
2805 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2807 str = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS
2808 strhelp = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS_HELPTEXT
2809 post_cb = [](auto) { InvalidateWindowClassesData(WC_VEHICLE_TIMETABLE, VIWD_MODIFY_ORDERS); }
2813 var = gui.timetable_arrival_departure
2814 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2816 str = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE
2817 strhelp = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE_HELPTEXT
2818 post_cb = [](auto) { InvalidateWindowClassesData(WC_VEHICLE_TIMETABLE, VIWD_MODIFY_ORDERS); }
2821 var = gui.quick_goto
2822 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2824 str = STR_CONFIG_SETTING_QUICKGOTO
2825 strhelp = STR_CONFIG_SETTING_QUICKGOTO_HELPTEXT
2829 var = gui.loading_indicators
2831 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2835 str = STR_CONFIG_SETTING_LOADING_INDICATORS
2836 strhelp = STR_CONFIG_SETTING_LOADING_INDICATORS_HELPTEXT
2837 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2838 post_cb = [](auto) { MarkWholeScreenDirty(); }
2842 var = gui.default_rail_type
2844 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2848 str = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE
2849 strhelp = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_HELPTEXT
2850 strval = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_FIRST
2854 var = gui.enable_signal_gui
2855 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2857 str = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI
2858 strhelp = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI_HELPTEXT
2859 post_cb = CloseSignalGUI
2863 var = gui.coloured_news_year
2865 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2870 str = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR
2871 strhelp = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR_HELPTEXT
2872 strval = STR_JUST_INT
2876 var = gui.drag_signals_density
2878 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2882 str = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY
2883 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_HELPTEXT
2884 strval = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_VALUE
2885 post_cb = [](auto) { InvalidateWindowData(WC_BUILD_SIGNAL, 0); }
2889 var = gui.drag_signals_fixed_distance
2890 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2892 str = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE
2893 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE_HELPTEXT
2897 var = gui.semaphore_build_before
2899 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2904 str = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE
2905 strhelp = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE_HELPTEXT
2906 strval = STR_JUST_INT
2907 post_cb = ResetSignalVariant
2910 var = gui.vehicle_income_warn
2911 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2913 str = STR_CONFIG_SETTING_WARN_INCOME_LESS
2914 strhelp = STR_CONFIG_SETTING_WARN_INCOME_LESS_HELPTEXT
2918 var = gui.order_review_system
2920 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2924 str = STR_CONFIG_SETTING_ORDER_REVIEW
2925 strhelp = STR_CONFIG_SETTING_ORDER_REVIEW_HELPTEXT
2926 strval = STR_CONFIG_SETTING_ORDER_REVIEW_OFF
2930 var = gui.lost_vehicle_warn
2931 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2933 str = STR_CONFIG_SETTING_WARN_LOST_VEHICLE
2934 strhelp = STR_CONFIG_SETTING_WARN_LOST_VEHICLE_HELPTEXT
2937 var = gui.new_nonstop
2938 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2940 str = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT
2941 strhelp = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT_HELPTEXT
2945 var = gui.stop_location
2947 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
2952 str = STR_CONFIG_SETTING_STOP_LOCATION
2953 strhelp = STR_CONFIG_SETTING_STOP_LOCATION_HELPTEXT
2954 strval = STR_CONFIG_SETTING_STOP_LOCATION_NEAR_END
2958 var = gui.keep_all_autosave
2959 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2963 var = gui.autosave_on_exit
2964 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2969 var = gui.autosave_on_network_disconnect
2970 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2975 var = gui.max_num_autosaves
2977 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2984 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2988 var = gui.news_message_timeout
2990 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2996 var = gui.show_track_reservation
2997 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
2999 str = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION
3000 strhelp = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION_HELPTEXT
3001 post_cb = [](auto) { MarkWholeScreenDirty(); }
3005 var = gui.default_signal_type
3007 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3012 str = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE
3013 strhelp = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE_HELPTEXT
3014 strval = STR_CONFIG_SETTING_DEFAULT_SIGNAL_NORMAL
3018 var = gui.cycle_signal_types
3020 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3025 str = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES
3026 strhelp = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES_HELPTEXT
3027 strval = STR_CONFIG_SETTING_CYCLE_SIGNAL_NORMAL
3030 var = gui.station_numtracks
3032 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3038 var = gui.station_platlength
3040 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3047 var = gui.station_dragdrop
3048 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3053 var = gui.station_show_coverage
3054 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3059 var = gui.persistent_buildingtools
3060 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3062 str = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS
3063 strhelp = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS_HELPTEXT
3067 var = gui.expenses_layout
3068 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3070 str = STR_CONFIG_SETTING_EXPENSES_LAYOUT
3071 strhelp = STR_CONFIG_SETTING_EXPENSES_LAYOUT_HELPTEXT
3072 post_cb = [](auto) { MarkWholeScreenDirty(); }
3075 var = gui.station_gui_group_order
3077 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3084 var = gui.station_gui_sort_by
3086 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3093 var = gui.station_gui_sort_order
3095 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3102 var = gui.missing_strings_threshold
3104 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3111 var = gui.graph_line_thickness
3113 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3117 str = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS
3118 strhelp = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS_HELPTEXT
3119 strval = STR_JUST_COMMA
3120 post_cb = [](auto) { MarkWholeScreenDirty(); }
3123 var = gui.show_newgrf_name
3124 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3126 str = STR_CONFIG_SETTING_SHOW_NEWGRF_NAME
3127 strhelp = STR_CONFIG_SETTING_SHOW_NEWGRF_NAME_HELPTEXT
3128 post_cb = [](auto) { MarkWholeScreenDirty(); }
3131 ; For the dedicated build we'll enable dates in logs by default.
3134 var = gui.show_date_in_logs
3135 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3140 var = gui.show_date_in_logs
3141 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3145 var = gui.settings_restriction_mode
3147 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3155 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3162 var = gui.newgrf_developer_tools
3163 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3165 post_cb = InvalidateNewGRFChangeWindows
3169 var = gui.ai_developer_tools
3170 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3172 post_cb = [](auto) { InvalidateWindowClassesData(WC_AI_SETTINGS); }
3176 var = gui.scenario_developer
3177 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3179 post_cb = InvalidateNewGRFChangeWindows
3182 var = gui.newgrf_show_old_versions
3183 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3188 var = gui.newgrf_default_palette
3190 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3194 post_cb = UpdateNewGRFConfigPalette
3198 var = gui.console_backlog_timeout
3200 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3206 var = gui.console_backlog_length
3208 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3214 var = gui.refresh_rate
3216 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3224 var = gui.fast_forward_speed_limit
3226 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL | SF_NO_NETWORK
3231 str = STR_CONFIG_SETTING_FAST_FORWARD_SPEED_LIMIT
3232 strhelp = STR_CONFIG_SETTING_FAST_FORWARD_SPEED_LIMIT_HELPTEXT
3233 strval = STR_CONFIG_SETTING_FAST_FORWARD_SPEED_LIMIT_VAL
3237 var = sound.news_ticker
3238 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3240 str = STR_CONFIG_SETTING_SOUND_TICKER
3241 strhelp = STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT
3244 var = sound.news_full
3245 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3247 str = STR_CONFIG_SETTING_SOUND_NEWS
3248 strhelp = STR_CONFIG_SETTING_SOUND_NEWS_HELPTEXT
3251 var = sound.new_year
3252 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3254 str = STR_CONFIG_SETTING_SOUND_NEW_YEAR
3255 strhelp = STR_CONFIG_SETTING_SOUND_NEW_YEAR_HELPTEXT
3259 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3261 str = STR_CONFIG_SETTING_SOUND_CONFIRM
3262 strhelp = STR_CONFIG_SETTING_SOUND_CONFIRM_HELPTEXT
3265 var = sound.click_beep
3266 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3268 str = STR_CONFIG_SETTING_SOUND_CLICK
3269 strhelp = STR_CONFIG_SETTING_SOUND_CLICK_HELPTEXT
3272 var = sound.disaster
3273 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3275 str = STR_CONFIG_SETTING_SOUND_DISASTER
3276 strhelp = STR_CONFIG_SETTING_SOUND_DISASTER_HELPTEXT
3280 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3282 str = STR_CONFIG_SETTING_SOUND_VEHICLE
3283 strhelp = STR_CONFIG_SETTING_SOUND_VEHICLE_HELPTEXT
3287 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3289 str = STR_CONFIG_SETTING_SOUND_AMBIENT
3290 strhelp = STR_CONFIG_SETTING_SOUND_AMBIENT_HELPTEXT
3293 var = music.playlist
3295 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3303 var = music.music_vol
3305 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3313 var = music.effect_vol
3315 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3323 var = music.custom_1
3325 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3330 var = music.custom_2
3332 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3338 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3344 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3349 var = news_display.arrival_player
3351 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3354 full = _news_display
3355 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN
3356 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN_HELPTEXT
3357 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3360 var = news_display.arrival_other
3362 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3365 full = _news_display
3366 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER
3367 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER_HELPTEXT
3368 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3371 var = news_display.accident
3373 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3376 full = _news_display
3377 str = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS
3378 strhelp = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS_HELPTEXT
3379 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3382 var = news_display.company_info
3384 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3387 full = _news_display
3388 str = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION
3389 strhelp = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION_HELPTEXT
3390 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3393 var = news_display.open
3395 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3398 full = _news_display
3399 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN
3400 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN_HELPTEXT
3401 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3404 var = news_display.close
3406 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3409 full = _news_display
3410 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE
3411 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE_HELPTEXT
3412 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3415 var = news_display.economy
3417 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3420 full = _news_display
3421 str = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES
3422 strhelp = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES_HELPTEXT
3423 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3426 var = news_display.production_player
3428 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3431 full = _news_display
3432 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY
3433 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY_HELPTEXT
3434 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3437 var = news_display.production_other
3439 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
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
3448 var = news_display.production_nobody
3450 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3453 full = _news_display
3454 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED
3455 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED_HELPTEXT
3456 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3459 var = news_display.advice
3461 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3464 full = _news_display
3465 str = STR_CONFIG_SETTING_NEWS_ADVICE
3466 strhelp = STR_CONFIG_SETTING_NEWS_ADVICE_HELPTEXT
3467 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3470 var = news_display.new_vehicles
3472 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3475 full = _news_display
3476 str = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES
3477 strhelp = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES_HELPTEXT
3478 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3481 var = news_display.acceptance
3483 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3486 full = _news_display
3487 str = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE
3488 strhelp = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE_HELPTEXT
3489 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3492 var = news_display.subsidies
3494 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3497 full = _news_display
3498 str = STR_CONFIG_SETTING_NEWS_SUBSIDIES
3499 strhelp = STR_CONFIG_SETTING_NEWS_SUBSIDIES_HELPTEXT
3500 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3503 var = news_display.general
3505 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
3508 full = _news_display
3509 str = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION
3510 strhelp = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION_HELPTEXT
3511 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3514 var = gui.network_chat_box_width_pct
3516 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3523 var = gui.network_chat_box_height
3525 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3532 var = gui.network_chat_timeout
3534 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3541 var = network.sync_freq
3543 flags = SF_NOT_IN_SAVE | SF_NOT_IN_CONFIG | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3550 var = network.frame_freq
3552 flags = SF_NOT_IN_SAVE | SF_NOT_IN_CONFIG | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3559 var = network.commands_per_frame
3561 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3568 var = network.max_commands_in_queue
3570 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3577 var = network.bytes_per_frame
3579 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3586 var = network.bytes_per_frame_burst
3588 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3595 var = network.max_init_time
3597 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3604 var = network.max_join_time
3606 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3612 var = network.max_download_time
3614 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3620 var = network.max_password_time
3622 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3628 var = network.max_lag_time
3630 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3636 var = network.pause_on_join
3637 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3641 var = network.server_port
3643 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3644 def = NETWORK_DEFAULT_PORT
3650 var = network.server_admin_port
3652 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3653 def = NETWORK_ADMIN_PORT
3659 var = network.server_admin_chat
3660 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3665 var = network.server_advertise
3666 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3670 var = network.client_name
3672 length = NETWORK_CLIENT_NAME_LENGTH
3673 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3675 pre_cb = NetworkValidateClientName
3676 post_cb = NetworkUpdateClientName
3680 var = network.server_password
3682 length = NETWORK_PASSWORD_LENGTH
3683 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3685 pre_cb = ReplaceAsteriskWithEmptyPassword
3686 post_cb = [](auto) { NetworkServerUpdateGameInfo(); }
3690 var = network.rcon_password
3692 length = NETWORK_PASSWORD_LENGTH
3693 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3695 pre_cb = ReplaceAsteriskWithEmptyPassword
3699 var = network.admin_password
3701 length = NETWORK_PASSWORD_LENGTH
3702 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3707 var = network.default_company_pass
3709 length = NETWORK_PASSWORD_LENGTH
3710 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3714 var = network.server_name
3716 length = NETWORK_NAME_LENGTH
3717 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3719 pre_cb = NetworkValidateServerName
3720 post_cb = [](auto) { UpdateClientConfigValues(); }
3724 var = network.connect_to_ip
3727 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3731 var = network.network_id
3733 length = NETWORK_SERVER_ID_LENGTH
3734 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3738 var = network.autoclean_companies
3739 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3743 var = network.autoclean_unprotected
3745 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL | SF_NETWORK_ONLY
3751 var = network.autoclean_protected
3753 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL | SF_NETWORK_ONLY
3759 var = network.autoclean_novehicles
3761 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL | SF_NETWORK_ONLY
3767 var = network.max_companies
3769 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3773 post_cb = [](auto) { UpdateClientConfigValues(); }
3777 var = network.max_clients
3779 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3783 post_cb = [](auto) { UpdateClientConfigValues(); }
3787 var = network.max_spectators
3789 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3793 post_cb = [](auto) { UpdateClientConfigValues(); }
3797 var = network.restart_game_year
3799 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL | SF_NETWORK_ONLY
3806 var = network.min_active_clients
3808 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3814 var = network.reload_cfg
3815 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
3820 var = network.last_joined
3823 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
3828 var = network.no_http_content_downloads
3829 flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC