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/>.
8 /* Begin
- Callback Functions for the various settings
*/
9 static bool v_PositionMainToolbar
(int32 p1
);
10 static bool v_PositionStatusbar
(int32 p1
);
11 static bool PopulationInLabelActive
(int32 p1
);
12 static bool RedrawScreen
(int32 p1
);
13 static bool RedrawSmallmap
(int32 p1
);
14 static bool StationSpreadChanged
(int32 p1
);
15 static bool InvalidateBuildIndustryWindow
(int32 p1
);
16 static bool CloseSignalGUI
(int32 p1
);
17 static bool InvalidateTownViewWindow
(int32 p1
);
18 static bool DeleteSelectStationWindow
(int32 p1
);
19 static bool UpdateConsists
(int32 p1
);
20 static bool TrainAccelerationModelChanged
(int32 p1
);
21 static bool RoadVehAccelerationModelChanged
(int32 p1
);
22 static bool TrainSlopeSteepnessChanged
(int32 p1
);
23 static bool RoadVehSlopeSteepnessChanged
(int32 p1
);
24 static bool DragSignalsDensityChanged
(int32
);
25 static bool TownFoundingChanged
(int32 p1
);
26 static bool DifficultyNoiseChange
(int32 i
);
27 static bool MaxNoAIsChange
(int32 i
);
28 static bool CheckRoadSide
(int p1
);
29 static bool ChangeMaxHeightLevel
(int32 p1
);
30 static bool CheckFreeformEdges
(int32 p1
);
31 static bool ChangeDynamicEngines
(int32 p1
);
32 static bool StationCatchmentChanged
(int32 p1
);
33 static bool InvalidateVehTimetableWindow
(int32 p1
);
34 static bool InvalidateCompanyLiveryWindow
(int32 p1
);
35 static bool InvalidateNewGRFChangeWindows
(int32 p1
);
36 static bool InvalidateIndustryViewWindow
(int32 p1
);
37 static bool InvalidateAISettingsWindow
(int32 p1
);
38 static bool RedrawTownAuthority
(int32 p1
);
39 static bool InvalidateCompanyInfrastructureWindow
(int32 p1
);
40 static bool InvalidateCompanyWindow
(int32 p1
);
41 static bool ZoomMinMaxChanged
(int32 p1
);
42 static bool MaxVehiclesChanged
(int32 p1
);
43 static bool InvalidateShipPathCache
(int32 p1
);
45 static bool UpdateClientName
(int32 p1
);
46 static bool UpdateServerPassword
(int32 p1
);
47 static bool UpdateRconPassword
(int32 p1
);
48 static bool UpdateClientConfigValues
(int32 p1
);
50 extern int32 _old_ending_year_slv_105;
52 /* End
- Callback Functions for the various settings
*/
54 /* Some settings do not need to be synchronised when playing in multiplayer.
55 * These include for example the GUI settings and will not be saved with the
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[] = {
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),
87 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
97 ; Saved settings variables.
98 ; Do not ADD or REMOVE something in this "difficulty.XXX" table or before it. It breaks savegame compatibility.
101 var = difficulty.max_no_competitors
106 max = MAX_COMPANIES - 1
108 proc = MaxNoAIsChange
118 var = difficulty.number_towns
121 guiflags = SGF_NEWGAME_ONLY
126 strval = STR_NUM_VERY_LOW
131 var = difficulty.industry_density
134 guiflags = SGF_MULTISTRING
139 str = STR_CONFIG_SETTING_INDUSTRY_DENSITY
140 strhelp = STR_CONFIG_SETTING_INDUSTRY_DENSITY_HELPTEXT
141 strval = STR_FUNDING_ONLY
146 var = difficulty.max_loan
149 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO | SGF_CURRENCY
154 str = STR_CONFIG_SETTING_MAXIMUM_INITIAL_LOAN
155 strhelp = STR_CONFIG_SETTING_MAXIMUM_INITIAL_LOAN_HELPTEXT
156 strval = STR_JUST_CURRENCY_LONG
161 var = difficulty.initial_interest
164 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
169 str = STR_CONFIG_SETTING_INTEREST_RATE
170 strhelp = STR_CONFIG_SETTING_INTEREST_RATE_HELPTEXT
171 strval = STR_CONFIG_SETTING_PERCENTAGE
175 var = difficulty.vehicle_costs
178 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO | SGF_MULTISTRING
183 str = STR_CONFIG_SETTING_RUNNING_COSTS
184 strhelp = STR_CONFIG_SETTING_RUNNING_COSTS_HELPTEXT
185 strval = STR_SEA_LEVEL_LOW
190 var = difficulty.competitor_speed
193 guiflags = SGF_MULTISTRING
198 str = STR_CONFIG_SETTING_CONSTRUCTION_SPEED
199 strhelp = STR_CONFIG_SETTING_CONSTRUCTION_SPEED_HELPTEXT
200 strval = STR_AI_SPEED_VERY_SLOW
210 var = difficulty.vehicle_breakdowns
213 guiflags = SGF_MULTISTRING
218 str = STR_CONFIG_SETTING_VEHICLE_BREAKDOWNS
219 strhelp = STR_CONFIG_SETTING_VEHICLE_BREAKDOWNS_HELPTEXT
220 strval = STR_DISASTER_NONE
225 var = difficulty.subsidy_multiplier
228 guiflags = SGF_MULTISTRING
233 str = STR_CONFIG_SETTING_SUBSIDY_MULTIPLIER
234 strhelp = STR_CONFIG_SETTING_SUBSIDY_MULTIPLIER_HELPTEXT
235 strval = STR_SUBSIDY_X1_5
239 var = difficulty.construction_cost
242 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO | SGF_MULTISTRING
247 str = STR_CONFIG_SETTING_CONSTRUCTION_COSTS
248 strhelp = STR_CONFIG_SETTING_CONSTRUCTION_COSTS_HELPTEXT
249 strval = STR_SEA_LEVEL_LOW
254 var = difficulty.terrain_type
257 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
262 str = STR_CONFIG_SETTING_TERRAIN_TYPE
263 strhelp = STR_CONFIG_SETTING_TERRAIN_TYPE_HELPTEXT
264 strval = STR_TERRAIN_TYPE_VERY_FLAT
269 var = difficulty.quantity_sea_lakes
272 guiflags = SGF_NEWGAME_ONLY
277 strval = STR_SEA_LEVEL_VERY_LOW
282 var = difficulty.economy
285 str = STR_CONFIG_SETTING_RECESSIONS
286 strhelp = STR_CONFIG_SETTING_RECESSIONS_HELPTEXT
290 var = difficulty.line_reverse_mode
293 str = STR_CONFIG_SETTING_TRAIN_REVERSING
294 strhelp = STR_CONFIG_SETTING_TRAIN_REVERSING_HELPTEXT
298 var = difficulty.disasters
301 str = STR_CONFIG_SETTING_DISASTERS
302 strhelp = STR_CONFIG_SETTING_DISASTERS_HELPTEXT
307 var = difficulty.town_council_tolerance
310 guiflags = SGF_MULTISTRING
315 str = STR_CONFIG_SETTING_CITY_APPROVAL
316 strhelp = STR_CONFIG_SETTING_CITY_APPROVAL_HELPTEXT
317 strval = STR_CITY_APPROVAL_PERMISSIVE
318 proc = DifficultyNoiseChange
321 name = ""diff_level""
322 var = _old_diff_level
324 flags = SLF_NOT_IN_CONFIG
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.
336 var = game_creation.town_name
339 guiflags = SGF_NO_NETWORK
347 var = game_creation.landscape
350 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
354 load = ConvertLandscape
355 str = STR_CONFIG_SETTING_LANDSCAPE
356 strhelp = STR_CONFIG_SETTING_LANDSCAPE_HELPTEXT
357 strval = STR_CHEAT_SWITCH_CLIMATE_TEMPERATE_LANDSCAPE
360 ; Snow line (or snow_line_height * TILE_HEIGHT)
368 var = vehicle.road_side
371 guiflags = SGF_MULTISTRING | SGF_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
384 var = construction.max_heightlevel
387 guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
388 def = DEF_MAX_HEIGHTLEVEL
389 min = MIN_MAX_HEIGHTLEVEL
390 max = MAX_MAX_HEIGHTLEVEL
392 str = STR_CONFIG_SETTING_MAX_HEIGHTLEVEL
393 strhelp = STR_CONFIG_SETTING_MAX_HEIGHTLEVEL_HELPTEXT
394 strval = STR_JUST_INT
395 proc = ChangeMaxHeightLevel
400 var = construction.build_on_slopes
401 guiflags = SGF_NO_NETWORK
407 var = construction.command_pause_level
410 guiflags = SGF_MULTISTRING | SGF_NO_NETWORK
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
421 var = construction.terraform_per_64k_frames
432 var = construction.terraform_frame_burst
443 var = construction.clear_per_64k_frames
454 var = construction.clear_frame_burst
465 var = construction.tree_per_64k_frames
476 var = construction.tree_frame_burst
487 var = construction.autoslope
490 str = STR_CONFIG_SETTING_AUTOSLOPE
491 strhelp = STR_CONFIG_SETTING_AUTOSLOPE_HELPTEXT
496 var = construction.extra_dynamite
498 str = STR_CONFIG_SETTING_EXTRADYNAMITE
499 strhelp = STR_CONFIG_SETTING_EXTRADYNAMITE_HELPTEXT
503 var = construction.max_bridge_length
506 guiflags = SGF_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
517 var = construction.max_bridge_height
520 guiflags = SGF_NO_NETWORK
523 max = MAX_TILE_HEIGHT
525 str = STR_CONFIG_SETTING_MAX_BRIDGE_HEIGHT
526 strhelp = STR_CONFIG_SETTING_MAX_BRIDGE_HEIGHT_HELPTEXT
527 strval = STR_JUST_COMMA
532 var = construction.max_tunnel_length
535 guiflags = SGF_NO_NETWORK
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
551 var = construction.train_signal_side
553 guiflags = SGF_MULTISTRING | SGF_NO_NETWORK
557 str = STR_CONFIG_SETTING_SIGNALSIDE
558 strhelp = STR_CONFIG_SETTING_SIGNALSIDE_HELPTEXT
559 strval = STR_CONFIG_SETTING_SIGNALSIDE_LEFT
565 var = station.never_expire_airports
566 guiflags = SGF_NO_NETWORK
568 str = STR_CONFIG_SETTING_NEVER_EXPIRE_AIRPORTS
569 strhelp = STR_CONFIG_SETTING_NEVER_EXPIRE_AIRPORTS_HELPTEXT
573 var = economy.town_layout
576 guiflags = SGF_MULTISTRING
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
588 var = economy.allow_town_roads
590 guiflags = SGF_NO_NETWORK
592 str = STR_CONFIG_SETTING_ALLOW_TOWN_ROADS
593 strhelp = STR_CONFIG_SETTING_ALLOW_TOWN_ROADS_HELPTEXT
597 var = economy.found_town
600 guiflags = SGF_MULTISTRING
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
613 var = economy.allow_town_level_crossings
615 guiflags = SGF_NO_NETWORK
617 str = STR_CONFIG_SETTING_ALLOW_TOWN_LEVEL_CROSSINGS
618 strhelp = STR_CONFIG_SETTING_ALLOW_TOWN_LEVEL_CROSSINGS_HELPTEXT
622 var = economy.town_cargogen_mode
624 from = SLV_TOWN_CARGOGEN
625 guiflags = SGF_MULTISTRING
630 str = STR_CONFIG_SETTING_TOWN_CARGOGENMODE
631 strhelp = STR_CONFIG_SETTING_TOWN_CARGOGENMODE_HELPTEXT
632 strval = STR_CONFIG_SETTING_TOWN_CARGOGENMODE_ORIGINAL
639 var = linkgraph.recalc_interval
646 str = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL
647 strval = STR_JUST_COMMA
648 strhelp = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL_HELPTEXT
652 var = linkgraph.recalc_time
659 str = STR_CONFIG_SETTING_LINKGRAPH_TIME
660 strval = STR_JUST_COMMA
661 strhelp = STR_CONFIG_SETTING_LINKGRAPH_TIME_HELPTEXT
665 var = linkgraph.distribution_pax
668 guiflags = SGF_MULTISTRING
673 str = STR_CONFIG_SETTING_DISTRIBUTION_PAX
674 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
675 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_PAX_HELPTEXT
679 var = linkgraph.distribution_mail
682 guiflags = SGF_MULTISTRING
687 str = STR_CONFIG_SETTING_DISTRIBUTION_MAIL
688 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
689 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_MAIL_HELPTEXT
693 var = linkgraph.distribution_armoured
696 guiflags = SGF_MULTISTRING
701 str = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED
702 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
703 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED_HELPTEXT
707 var = linkgraph.distribution_default
710 guiflags = SGF_MULTISTRING
713 max = DT_MAX_NONSYMMETRIC
715 str = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT
716 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
717 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT_HELPTEXT
721 var = linkgraph.accuracy
728 str = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY
729 strval = STR_JUST_COMMA
730 strhelp = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY_HELPTEXT
734 var = linkgraph.demand_distance
741 str = STR_CONFIG_SETTING_DEMAND_DISTANCE
742 strval = STR_CONFIG_SETTING_PERCENTAGE
743 strhelp = STR_CONFIG_SETTING_DEMAND_DISTANCE_HELPTEXT
747 var = linkgraph.demand_size
754 str = STR_CONFIG_SETTING_DEMAND_SIZE
755 strval = STR_CONFIG_SETTING_PERCENTAGE
756 strhelp = STR_CONFIG_SETTING_DEMAND_SIZE_HELPTEXT
760 var = linkgraph.short_path_saturation
767 str = STR_CONFIG_SETTING_SHORT_PATH_SATURATION
768 strval = STR_CONFIG_SETTING_PERCENTAGE
769 strhelp = STR_CONFIG_SETTING_SHORT_PATH_SATURATION_HELPTEXT
775 var = vehicle.train_acceleration_model
777 guiflags = SGF_MULTISTRING
782 str = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL
783 strhelp = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL_HELPTEXT
784 strval = STR_CONFIG_SETTING_ORIGINAL
785 proc = TrainAccelerationModelChanged
789 var = vehicle.roadveh_acceleration_model
792 guiflags = SGF_MULTISTRING
797 str = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL
798 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL_HELPTEXT
799 strval = STR_CONFIG_SETTING_ORIGINAL
800 proc = RoadVehAccelerationModelChanged
804 var = vehicle.train_slope_steepness
811 str = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS
812 strhelp = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS_HELPTEXT
813 strval = STR_CONFIG_SETTING_PERCENTAGE
814 proc = TrainSlopeSteepnessChanged
819 var = vehicle.roadveh_slope_steepness
826 str = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS
827 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS_HELPTEXT
828 strval = STR_CONFIG_SETTING_PERCENTAGE
829 proc = RoadVehSlopeSteepnessChanged
834 var = pf.forbid_90_deg
836 str = STR_CONFIG_SETTING_FORBID_90_DEG
837 strhelp = STR_CONFIG_SETTING_FORBID_90_DEG_HELPTEXT
838 proc = InvalidateShipPathCache
843 var = vehicle.max_train_length
850 str = STR_CONFIG_SETTING_TRAIN_LENGTH
851 strhelp = STR_CONFIG_SETTING_TRAIN_LENGTH_HELPTEXT
852 strval = STR_CONFIG_SETTING_TILE_LENGTH
855 ; vehicle.mammoth_trains
862 var = vehicle.smoke_amount
865 guiflags = SGF_MULTISTRING
869 str = STR_CONFIG_SETTING_SMOKE_AMOUNT
870 strhelp = STR_CONFIG_SETTING_SMOKE_AMOUNT_HELPTEXT
871 strval = STR_CONFIG_SETTING_NONE
882 var = pf.roadveh_queue
888 var = pf.new_pathfinding_all
895 var = pf.yapf.ship_use_yapf
903 var = pf.yapf.road_use_yapf
911 var = pf.yapf.rail_use_yapf
920 var = pf.pathfinder_for_trains
923 guiflags = SGF_MULTISTRING
928 str = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS
929 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS_HELPTEXT
930 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
935 var = pf.pathfinder_for_roadvehs
938 guiflags = SGF_MULTISTRING
943 str = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES
944 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES_HELPTEXT
945 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
950 var = pf.pathfinder_for_ships
953 guiflags = SGF_MULTISTRING
958 str = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS
959 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS_HELPTEXT
960 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
961 proc = InvalidateShipPathCache
966 var = vehicle.never_expire_vehicles
967 guiflags = SGF_NO_NETWORK
969 str = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES
970 strhelp = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES_HELPTEXT
974 var = vehicle.max_trains
979 str = STR_CONFIG_SETTING_MAX_TRAINS
980 strhelp = STR_CONFIG_SETTING_MAX_TRAINS_HELPTEXT
981 strval = STR_JUST_COMMA
982 proc = MaxVehiclesChanged
987 var = vehicle.max_roadveh
992 str = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES
993 strhelp = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES_HELPTEXT
994 strval = STR_JUST_COMMA
995 proc = MaxVehiclesChanged
1000 var = vehicle.max_aircraft
1005 str = STR_CONFIG_SETTING_MAX_AIRCRAFT
1006 strhelp = STR_CONFIG_SETTING_MAX_AIRCRAFT_HELPTEXT
1007 strval = STR_JUST_COMMA
1008 proc = MaxVehiclesChanged
1013 var = vehicle.max_ships
1018 str = STR_CONFIG_SETTING_MAX_SHIPS
1019 strhelp = STR_CONFIG_SETTING_MAX_SHIPS_HELPTEXT
1020 strval = STR_JUST_COMMA
1021 proc = MaxVehiclesChanged
1026 guiflags = SGF_NO_NETWORK
1027 var = _old_vds.servint_ispercent
1034 guiflags = SGF_0ISDISABLED
1035 var = _old_vds.servint_trains
1044 guiflags = SGF_0ISDISABLED
1045 var = _old_vds.servint_roadveh
1054 guiflags = SGF_0ISDISABLED
1055 var = _old_vds.servint_ships
1064 guiflags = SGF_0ISDISABLED
1065 var = _old_vds.servint_aircraft
1073 var = order.no_servicing_if_no_breakdowns
1075 str = STR_CONFIG_SETTING_NOSERVICE
1076 strhelp = STR_CONFIG_SETTING_NOSERVICE_HELPTEXT
1080 var = vehicle.wagon_speed_limits
1081 guiflags = SGF_NO_NETWORK
1083 str = STR_CONFIG_SETTING_WAGONSPEEDLIMITS
1084 strhelp = STR_CONFIG_SETTING_WAGONSPEEDLIMITS_HELPTEXT
1085 proc = UpdateConsists
1089 var = vehicle.disable_elrails
1091 guiflags = SGF_NO_NETWORK
1093 str = STR_CONFIG_SETTING_DISABLE_ELRAILS
1094 strhelp = STR_CONFIG_SETTING_DISABLE_ELRAILS_HELPTEXT
1095 proc = SettingsDisableElrail
1100 var = vehicle.freight_trains
1103 guiflags = SGF_NO_NETWORK
1108 str = STR_CONFIG_SETTING_FREIGHT_TRAINS
1109 strhelp = STR_CONFIG_SETTING_FREIGHT_TRAINS_HELPTEXT
1110 strval = STR_JUST_COMMA
1111 proc = UpdateConsists
1121 var = vehicle.plane_speed
1124 guiflags = SGF_NO_NETWORK
1128 str = STR_CONFIG_SETTING_PLANE_SPEED
1129 strhelp = STR_CONFIG_SETTING_PLANE_SPEED_HELPTEXT
1130 strval = STR_CONFIG_SETTING_PLANE_SPEED_VALUE
1134 var = vehicle.dynamic_engines
1136 guiflags = SGF_NO_NETWORK
1138 proc = ChangeDynamicEngines
1143 var = vehicle.plane_crashes
1146 guiflags = SGF_MULTISTRING
1151 str = STR_CONFIG_SETTING_PLANE_CRASHES
1152 strhelp = STR_CONFIG_SETTING_PLANE_CRASHES_HELPTEXT
1153 strval = STR_CONFIG_SETTING_PLANE_CRASHES_NONE
1156 ; station.join_stations
1162 var = gui.sg_full_load_any
1169 var = order.improved_load
1170 guiflags = SGF_NO_NETWORK
1176 var = order.selectgoods
1181 var = gui.sg_new_nonstop
1186 ; station.nonuniform_stations
1193 var = station.station_spread
1198 str = STR_CONFIG_SETTING_STATION_SPREAD
1199 strhelp = STR_CONFIG_SETTING_STATION_SPREAD_HELPTEXT
1200 strval = STR_CONFIG_SETTING_TILE_LENGTH
1201 proc = StationSpreadChanged
1206 var = order.serviceathelipad
1208 str = STR_CONFIG_SETTING_SERVICEATHELIPAD
1209 strhelp = STR_CONFIG_SETTING_SERVICEATHELIPAD_HELPTEXT
1214 var = station.modified_catchment
1216 str = STR_CONFIG_SETTING_CATCHMENT
1217 strhelp = STR_CONFIG_SETTING_CATCHMENT_HELPTEXT
1218 proc = StationCatchmentChanged
1223 var = station.serve_neutral_industries
1225 from = SLV_SERVE_NEUTRAL_INDUSTRIES
1226 str = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES
1227 strhelp = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES_HELPTEXT
1228 proc = StationCatchmentChanged
1232 var = order.gradual_loading
1234 guiflags = SGF_NO_NETWORK
1240 var = construction.road_stop_on_town_road
1243 str = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD
1244 strhelp = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD_HELPTEXT
1249 var = construction.road_stop_on_competitor_road
1252 str = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD
1253 strhelp = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD_HELPTEXT
1258 var = station.adjacent_stations
1265 var = economy.station_noise_level
1267 guiflags = SGF_NO_NETWORK
1269 str = STR_CONFIG_SETTING_NOISE_LEVEL
1270 strhelp = STR_CONFIG_SETTING_NOISE_LEVEL_HELPTEXT
1271 proc = InvalidateTownViewWindow
1275 var = station.distant_join_stations
1278 str = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS
1279 strhelp = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS_HELPTEXT
1280 proc = DeleteSelectStationWindow
1285 var = economy.inflation
1287 str = STR_CONFIG_SETTING_INFLATION
1288 strhelp = STR_CONFIG_SETTING_INFLATION_HELPTEXT
1293 var = construction.raw_industry_construction
1295 guiflags = SGF_MULTISTRING
1299 str = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD
1300 strhelp = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_HELPTEXT
1301 strval = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_NONE
1302 proc = InvalidateBuildIndustryWindow
1307 var = construction.industry_platform
1313 str = STR_CONFIG_SETTING_INDUSTRY_PLATFORM
1314 strhelp = STR_CONFIG_SETTING_INDUSTRY_PLATFORM_HELPTEXT
1315 strval = STR_CONFIG_SETTING_TILE_LENGTH
1320 var = economy.multiple_industry_per_town
1322 str = STR_CONFIG_SETTING_MULTIPINDTOWN
1323 strhelp = STR_CONFIG_SETTING_MULTIPINDTOWN_HELPTEXT
1333 str = STR_CONFIG_SETTING_BRIBE
1334 strhelp = STR_CONFIG_SETTING_BRIBE_HELPTEXT
1335 proc = RedrawTownAuthority
1340 var = economy.exclusive_rights
1343 str = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE
1344 strhelp = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE_HELPTEXT
1345 proc = RedrawTownAuthority
1350 var = economy.fund_buildings
1353 str = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS
1354 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS_HELPTEXT
1355 proc = RedrawTownAuthority
1360 var = economy.fund_roads
1363 str = STR_CONFIG_SETTING_ALLOW_FUND_ROAD
1364 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_ROAD_HELPTEXT
1365 proc = RedrawTownAuthority
1370 var = economy.give_money
1373 str = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY
1374 strhelp = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY_HELPTEXT
1379 var = game_creation.snow_line_height
1381 guiflags = SGF_NO_NETWORK
1382 def = DEF_SNOWLINE_HEIGHT
1383 min = MIN_SNOWLINE_HEIGHT
1384 max = MAX_SNOWLINE_HEIGHT
1386 str = STR_CONFIG_SETTING_SNOWLINE_HEIGHT
1387 strhelp = STR_CONFIG_SETTING_SNOWLINE_HEIGHT_HELPTEXT
1388 strval = STR_JUST_COMMA
1397 var = game_creation.starting_year
1399 def = DEF_START_YEAR
1403 str = STR_CONFIG_SETTING_STARTING_YEAR
1404 strval = STR_JUST_INT
1408 name = ""old_ending_year_slv_105""
1409 var = _old_ending_year_slv_105
1410 flags = SLF_NOT_IN_CONFIG
1419 var = game_creation.ending_year
1421 from = SLV_ENDING_YEAR
1422 guiflags = SGF_0ISDISABLED
1427 str = STR_CONFIG_SETTING_ENDING_YEAR
1428 strhelp = STR_CONFIG_SETTING_ENDING_YEAR_HELPTEXT
1429 strval = STR_CONFIG_SETTING_ENDING_YEAR_VALUE
1434 var = economy.smooth_economy
1436 str = STR_CONFIG_SETTING_SMOOTH_ECONOMY
1437 strhelp = STR_CONFIG_SETTING_SMOOTH_ECONOMY_HELPTEXT
1438 proc = InvalidateIndustryViewWindow
1443 var = economy.allow_shares
1445 str = STR_CONFIG_SETTING_ALLOW_SHARES
1446 strhelp = STR_CONFIG_SETTING_ALLOW_SHARES_HELPTEXT
1447 proc = InvalidateCompanyWindow
1451 var = economy.min_years_for_shares
1453 from = SLV_TRADING_AGE
1458 str = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES
1459 strhelp = STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES_HELPTEXT
1460 strval = STR_JUST_INT
1465 var = economy.feeder_payment_share
1471 str = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE
1472 strhelp = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE_HELPTEXT
1473 strval = STR_CONFIG_SETTING_PERCENTAGE
1478 var = economy.town_growth_rate
1481 guiflags = SGF_MULTISTRING
1485 str = STR_CONFIG_SETTING_TOWN_GROWTH
1486 strhelp = STR_CONFIG_SETTING_TOWN_GROWTH_HELPTEXT
1487 strval = STR_CONFIG_SETTING_TOWN_GROWTH_NONE
1491 var = economy.larger_towns
1494 guiflags = SGF_0ISDISABLED
1499 str = STR_CONFIG_SETTING_LARGER_TOWNS
1500 strhelp = STR_CONFIG_SETTING_LARGER_TOWNS_HELPTEXT
1501 strval = STR_CONFIG_SETTING_LARGER_TOWNS_VALUE
1505 var = economy.initial_city_size
1512 str = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER
1513 strhelp = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER_HELPTEXT
1514 strval = STR_JUST_COMMA
1518 var = economy.mod_road_rebuild
1523 ; previously ai-new setting.
1530 var = script.settings_profile
1533 guiflags = SGF_MULTISTRING
1537 full = _settings_profiles
1538 str = STR_CONFIG_SETTING_AI_PROFILE
1539 strhelp = STR_CONFIG_SETTING_AI_PROFILE_HELPTEXT
1540 strval = STR_CONFIG_SETTING_AI_PROFILE_EASY
1545 var = ai.ai_in_multiplayer
1547 str = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER
1548 strhelp = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER_HELPTEXT
1553 var = ai.ai_disable_veh_train
1555 str = STR_CONFIG_SETTING_AI_BUILDS_TRAINS
1556 strhelp = STR_CONFIG_SETTING_AI_BUILDS_TRAINS_HELPTEXT
1560 var = ai.ai_disable_veh_roadveh
1562 str = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES
1563 strhelp = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES_HELPTEXT
1567 var = ai.ai_disable_veh_aircraft
1569 str = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT
1570 strhelp = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT_HELPTEXT
1574 var = ai.ai_disable_veh_ship
1576 str = STR_CONFIG_SETTING_AI_BUILDS_SHIPS
1577 strhelp = STR_CONFIG_SETTING_AI_BUILDS_SHIPS_HELPTEXT
1581 var = script.script_max_opcode_till_suspend
1584 guiflags = SGF_NEWGAME_ONLY
1589 str = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES
1590 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES_HELPTEXT
1591 strval = STR_JUST_COMMA
1596 var = script.script_max_memory_megabytes
1598 from = SLV_SCRIPT_MEMLIMIT
1599 guiflags = SGF_NEWGAME_ONLY
1604 str = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY
1605 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY_HELPTEXT
1606 strval = STR_CONFIG_SETTING_SCRIPT_MAX_MEMORY_VALUE
1612 var = vehicle.extend_vehicle_life
1621 var = economy.dist_local_authority
1630 var = pf.reverse_at_signals
1633 str = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS
1634 strhelp = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS_HELPTEXT
1638 var = pf.wait_oneway_signal
1647 var = pf.wait_twoway_signal
1656 var = economy.town_noise_population[0]
1666 var = economy.town_noise_population[1]
1676 var = economy.town_noise_population[2]
1686 var = economy.infrastructure_maintenance
1689 str = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE
1690 strhelp = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE_HELPTEXT
1691 proc = InvalidateCompanyInfrastructureWindow
1697 var = pf.wait_for_pbs_path
1707 var = pf.reserve_paths
1714 var = pf.path_backoff_interval
1723 ; Used to be pf.opf.pf_maxlength & pf.opf.pf_maxdepth
1731 var = pf.npf.npf_max_search_nodes
1740 var = pf.npf.npf_rail_firstred_penalty
1742 def = 10 * NPF_TILE_LENGTH
1749 var = pf.npf.npf_rail_firstred_exit_penalty
1751 def = 100 * NPF_TILE_LENGTH
1758 var = pf.npf.npf_rail_lastred_penalty
1760 def = 10 * NPF_TILE_LENGTH
1767 var = pf.npf.npf_rail_station_penalty
1769 def = 1 * NPF_TILE_LENGTH
1776 var = pf.npf.npf_rail_slope_penalty
1778 def = 1 * NPF_TILE_LENGTH
1785 var = pf.npf.npf_rail_curve_penalty
1787 def = 1 * NPF_TILE_LENGTH
1794 var = pf.npf.npf_rail_depot_reverse_penalty
1796 def = 50 * NPF_TILE_LENGTH
1803 var = pf.npf.npf_rail_pbs_cross_penalty
1806 def = 3 * NPF_TILE_LENGTH
1813 var = pf.npf.npf_rail_pbs_signal_back_penalty
1816 def = 15 * NPF_TILE_LENGTH
1823 var = pf.npf.npf_buoy_penalty
1825 def = 2 * NPF_TILE_LENGTH
1832 var = pf.npf.npf_water_curve_penalty
1834 def = 1 * NPF_TILE_LENGTH
1841 var = pf.npf.npf_road_curve_penalty
1843 def = 1 * NPF_TILE_LENGTH
1850 var = pf.npf.npf_crossing_penalty
1852 def = 3 * NPF_TILE_LENGTH
1859 var = pf.npf.npf_road_drive_through_penalty
1862 def = 8 * NPF_TILE_LENGTH
1869 var = pf.npf.npf_road_dt_occupied_penalty
1872 def = 8 * NPF_TILE_LENGTH
1879 var = pf.npf.npf_road_bay_occupied_penalty
1882 def = 15 * NPF_TILE_LENGTH
1889 var = pf.npf.maximum_go_to_depot_penalty
1892 def = 20 * NPF_TILE_LENGTH
1900 var = pf.yapf.disable_node_optimization
1907 var = pf.yapf.max_search_nodes
1917 var = pf.yapf.rail_firstred_twoway_eol
1924 var = pf.yapf.rail_firstred_penalty
1927 def = 10 * YAPF_TILE_LENGTH
1934 var = pf.yapf.rail_firstred_exit_penalty
1937 def = 100 * YAPF_TILE_LENGTH
1944 var = pf.yapf.rail_lastred_penalty
1947 def = 10 * YAPF_TILE_LENGTH
1954 var = pf.yapf.rail_lastred_exit_penalty
1957 def = 100 * YAPF_TILE_LENGTH
1964 var = pf.yapf.rail_station_penalty
1967 def = 10 * YAPF_TILE_LENGTH
1974 var = pf.yapf.rail_slope_penalty
1977 def = 2 * YAPF_TILE_LENGTH
1984 var = pf.yapf.rail_curve45_penalty
1987 def = 1 * YAPF_TILE_LENGTH
1994 var = pf.yapf.rail_curve90_penalty
1997 def = 6 * YAPF_TILE_LENGTH
2004 var = pf.yapf.rail_depot_reverse_penalty
2007 def = 50 * YAPF_TILE_LENGTH
2014 var = pf.yapf.rail_crossing_penalty
2017 def = 3 * YAPF_TILE_LENGTH
2024 var = pf.yapf.rail_look_ahead_max_signals
2034 var = pf.yapf.rail_look_ahead_signal_p0
2044 var = pf.yapf.rail_look_ahead_signal_p1
2054 var = pf.yapf.rail_look_ahead_signal_p2
2064 var = pf.yapf.rail_pbs_cross_penalty
2067 def = 3 * YAPF_TILE_LENGTH
2074 var = pf.yapf.rail_pbs_station_penalty
2077 def = 8 * YAPF_TILE_LENGTH
2084 var = pf.yapf.rail_pbs_signal_back_penalty
2087 def = 15 * YAPF_TILE_LENGTH
2094 var = pf.yapf.rail_doubleslip_penalty
2097 def = 1 * YAPF_TILE_LENGTH
2104 var = pf.yapf.rail_longer_platform_penalty
2107 def = 8 * YAPF_TILE_LENGTH
2114 var = pf.yapf.rail_longer_platform_per_tile_penalty
2117 def = 0 * YAPF_TILE_LENGTH
2124 var = pf.yapf.rail_shorter_platform_penalty
2127 def = 40 * YAPF_TILE_LENGTH
2134 var = pf.yapf.rail_shorter_platform_per_tile_penalty
2137 def = 0 * YAPF_TILE_LENGTH
2144 var = pf.yapf.road_slope_penalty
2147 def = 2 * YAPF_TILE_LENGTH
2154 var = pf.yapf.road_curve_penalty
2157 def = 1 * YAPF_TILE_LENGTH
2164 var = pf.yapf.road_crossing_penalty
2167 def = 3 * YAPF_TILE_LENGTH
2174 var = pf.yapf.road_stop_penalty
2177 def = 8 * YAPF_TILE_LENGTH
2184 var = pf.yapf.road_stop_occupied_penalty
2187 def = 8 * YAPF_TILE_LENGTH
2194 var = pf.yapf.road_stop_bay_occupied_penalty
2197 def = 15 * YAPF_TILE_LENGTH
2204 var = pf.yapf.maximum_go_to_depot_penalty
2207 def = 20 * YAPF_TILE_LENGTH
2214 var = pf.yapf.ship_curve45_penalty
2216 from = SLV_SHIP_CURVE_PENALTY
2217 def = 1 * YAPF_TILE_LENGTH
2224 var = pf.yapf.ship_curve90_penalty
2226 from = SLV_SHIP_CURVE_PENALTY
2227 def = 6 * YAPF_TILE_LENGTH
2235 var = game_creation.land_generator
2238 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2242 str = STR_CONFIG_SETTING_LAND_GENERATOR
2243 strhelp = STR_CONFIG_SETTING_LAND_GENERATOR_HELPTEXT
2244 strval = STR_CONFIG_SETTING_LAND_GENERATOR_ORIGINAL
2248 var = game_creation.oil_refinery_limit
2254 str = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE
2255 strval = STR_CONFIG_SETTING_TILE_LENGTH
2256 strhelp = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE_HELPTEXT
2260 var = game_creation.tgen_smoothness
2263 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2265 min = TGEN_SMOOTHNESS_BEGIN
2266 max = TGEN_SMOOTHNESS_END - 1
2267 str = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN
2268 strhelp = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_HELPTEXT
2269 strval = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_VERY_SMOOTH
2274 var = game_creation.variety
2277 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2281 str = STR_CONFIG_SETTING_VARIETY
2282 strhelp = STR_CONFIG_SETTING_VARIETY_HELPTEXT
2283 strval = STR_VARIETY_NONE
2287 var = game_creation.generation_seed
2290 def = GENERATE_NEW_SEED
2297 var = game_creation.tree_placer
2300 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
2304 str = STR_CONFIG_SETTING_TREE_PLACER
2305 strhelp = STR_CONFIG_SETTING_TREE_PLACER_HELPTEXT
2306 strval = STR_CONFIG_SETTING_TREE_PLACER_NONE
2310 var = game_creation.heightmap_rotation
2312 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2313 guiflags = SGF_MULTISTRING
2317 str = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION
2318 strval = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION_COUNTER_CLOCKWISE
2323 var = game_creation.se_flat_world_height
2325 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2329 str = STR_CONFIG_SETTING_SE_FLAT_WORLD_HEIGHT
2330 strval = STR_JUST_COMMA
2336 var = game_creation.map_x
2338 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2340 min = MIN_MAP_SIZE_BITS
2341 max = MAX_MAP_SIZE_BITS
2346 var = game_creation.map_y
2348 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2350 min = MIN_MAP_SIZE_BITS
2351 max = MAX_MAP_SIZE_BITS
2356 var = construction.freeform_edges
2359 proc = CheckFreeformEdges
2364 var = game_creation.water_borders
2373 var = game_creation.custom_town_number
2383 var = construction.extra_tree_placement
2386 guiflags = SGF_MULTISTRING
2390 str = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT
2391 strhelp = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_HELPTEXT
2392 strval = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_NONE
2397 var = game_creation.custom_sea_level
2400 def = CUSTOM_SEA_LEVEL_MIN_PERCENTAGE
2401 min = CUSTOM_SEA_LEVEL_MIN_PERCENTAGE
2402 max = CUSTOM_SEA_LEVEL_MAX_PERCENTAGE
2407 var = game_creation.min_river_length
2417 var = game_creation.river_route_random
2427 var = game_creation.amount_of_rivers
2430 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2434 str = STR_CONFIG_SETTING_RIVER_AMOUNT
2435 strhelp = STR_CONFIG_SETTING_RIVER_AMOUNT_HELPTEXT
2436 strval = STR_RIVERS_NONE
2442 var = locale.currency
2445 flags = SLF_NO_NETWORK_SYNC
2447 max = CURRENCY_END - 1
2448 full = _locale_currencies
2458 flags = SLF_NOT_IN_CONFIG
2461 full = _locale_units
2467 var = locale.units_velocity
2470 flags = SLF_NO_NETWORK_SYNC
2471 guiflags = SGF_MULTISTRING
2474 full = _locale_units
2477 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY
2478 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_HELPTEXT
2479 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_IMPERIAL
2483 var = locale.units_power
2486 flags = SLF_NO_NETWORK_SYNC
2487 guiflags = SGF_MULTISTRING
2490 full = _locale_units
2493 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER
2494 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_HELPTEXT
2495 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_IMPERIAL
2499 var = locale.units_weight
2502 flags = SLF_NO_NETWORK_SYNC
2503 guiflags = SGF_MULTISTRING
2506 full = _locale_units
2509 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT
2510 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_HELPTEXT
2511 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_IMPERIAL
2515 var = locale.units_volume
2518 flags = SLF_NO_NETWORK_SYNC
2519 guiflags = SGF_MULTISTRING
2522 full = _locale_units
2525 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME
2526 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_HELPTEXT
2527 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_IMPERIAL
2531 var = locale.units_force
2534 flags = SLF_NO_NETWORK_SYNC
2535 guiflags = SGF_MULTISTRING
2538 full = _locale_units
2541 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE
2542 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_HELPTEXT
2543 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_IMPERIAL
2547 var = locale.units_height
2550 flags = SLF_NO_NETWORK_SYNC
2551 guiflags = SGF_MULTISTRING
2554 full = _locale_units
2557 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT
2558 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_HELPTEXT
2559 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_IMPERIAL
2563 var = locale.digit_group_separator
2566 flags = SLF_NO_NETWORK_SYNC
2573 var = locale.digit_group_separator_currency
2576 flags = SLF_NO_NETWORK_SYNC
2583 var = locale.digit_decimal_separator
2586 flags = SLF_NO_NETWORK_SYNC
2592 ;***************************************************************************
2593 ; Unsaved setting variables.
2598 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2599 guiflags = SGF_MULTISTRING
2602 full = _autosave_interval
2603 str = STR_CONFIG_SETTING_AUTOSAVE
2604 strhelp = STR_CONFIG_SETTING_AUTOSAVE_HELPTEXT
2605 strval = STR_GAME_OPTIONS_AUTOSAVE_DROPDOWN_OFF
2609 var = gui.threaded_saves
2610 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2615 var = gui.date_format_in_default_names
2617 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2618 guiflags = SGF_MULTISTRING
2621 full = _savegame_date
2622 str = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES
2623 strhelp = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_HELPTEXT
2624 strval = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_LONG
2627 var = gui.show_finances
2628 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2630 str = STR_CONFIG_SETTING_SHOWFINANCES
2631 strhelp = STR_CONFIG_SETTING_SHOWFINANCES_HELPTEXT
2635 var = gui.auto_scrolling
2637 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2638 guiflags = SGF_MULTISTRING
2642 str = STR_CONFIG_SETTING_AUTOSCROLL
2643 strhelp = STR_CONFIG_SETTING_AUTOSCROLL_HELPTEXT
2644 strval = STR_CONFIG_SETTING_AUTOSCROLL_DISABLED
2648 var = gui.scroll_mode
2650 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2651 guiflags = SGF_MULTISTRING
2655 str = STR_CONFIG_SETTING_SCROLLMODE
2656 strhelp = STR_CONFIG_SETTING_SCROLLMODE_HELPTEXT
2657 strval = STR_CONFIG_SETTING_SCROLLMODE_DEFAULT
2661 var = gui.smooth_scroll
2662 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2664 str = STR_CONFIG_SETTING_SMOOTH_SCROLLING
2665 strhelp = STR_CONFIG_SETTING_SMOOTH_SCROLLING_HELPTEXT
2668 var = gui.right_mouse_wnd_close
2669 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2671 str = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE
2672 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE_HELPTEXT
2676 var = gui.measure_tooltip
2677 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2679 str = STR_CONFIG_SETTING_MEASURE_TOOLTIP
2680 strhelp = STR_CONFIG_SETTING_MEASURE_TOOLTIP_HELPTEXT
2684 var = gui.errmsg_duration
2686 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2690 str = STR_CONFIG_SETTING_ERRMSG_DURATION
2691 strhelp = STR_CONFIG_SETTING_ERRMSG_DURATION_HELPTEXT
2692 strval = STR_CONFIG_SETTING_ERRMSG_DURATION_VALUE
2695 var = gui.hover_delay_ms
2697 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2698 guiflags = SGF_0ISDISABLED
2703 str = STR_CONFIG_SETTING_HOVER_DELAY
2704 strhelp = STR_CONFIG_SETTING_HOVER_DELAY_HELPTEXT
2705 strval = STR_CONFIG_SETTING_HOVER_DELAY_VALUE
2708 var = gui.osk_activation
2710 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2711 str = STR_CONFIG_SETTING_OSK_ACTIVATION
2712 strhelp = STR_CONFIG_SETTING_OSK_ACTIVATION_HELPTEXT
2713 strval = STR_CONFIG_SETTING_OSK_ACTIVATION_DISABLED
2714 guiflags = SGF_MULTISTRING
2715 full = _osk_activation
2722 var = gui.toolbar_pos
2724 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2725 guiflags = SGF_MULTISTRING
2729 str = STR_CONFIG_SETTING_TOOLBAR_POS
2730 strhelp = STR_CONFIG_SETTING_TOOLBAR_POS_HELPTEXT
2731 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2732 proc = v_PositionMainToolbar
2736 var = gui.statusbar_pos
2738 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2739 guiflags = SGF_MULTISTRING
2743 str = STR_CONFIG_SETTING_STATUSBAR_POS
2744 strhelp = STR_CONFIG_SETTING_STATUSBAR_POS_HELPTEXT
2745 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2746 proc = v_PositionStatusbar
2750 var = gui.window_snap_radius
2752 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2753 guiflags = SGF_0ISDISABLED
2757 str = STR_CONFIG_SETTING_SNAP_RADIUS
2758 strhelp = STR_CONFIG_SETTING_SNAP_RADIUS_HELPTEXT
2759 strval = STR_CONFIG_SETTING_SNAP_RADIUS_VALUE
2763 var = gui.window_soft_limit
2765 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2766 guiflags = SGF_0ISDISABLED
2771 str = STR_CONFIG_SETTING_SOFT_LIMIT
2772 strhelp = STR_CONFIG_SETTING_SOFT_LIMIT_HELPTEXT
2773 strval = STR_CONFIG_SETTING_SOFT_LIMIT_VALUE
2779 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2780 guiflags = SGF_MULTISTRING
2783 max = ZOOM_LVL_OUT_4X
2784 str = STR_CONFIG_SETTING_ZOOM_MIN
2785 strhelp = STR_CONFIG_SETTING_ZOOM_MIN_HELPTEXT
2786 strval = STR_CONFIG_SETTING_ZOOM_LVL_MIN
2787 proc = ZoomMinMaxChanged
2792 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2793 guiflags = SGF_MULTISTRING
2795 min = ZOOM_LVL_OUT_8X
2797 str = STR_CONFIG_SETTING_ZOOM_MAX
2798 strhelp = STR_CONFIG_SETTING_ZOOM_MAX_HELPTEXT
2799 strval = STR_CONFIG_SETTING_ZOOM_LVL_OUT_2X
2800 proc = ZoomMinMaxChanged
2803 var = gui.population_in_label
2804 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2806 str = STR_CONFIG_SETTING_POPULATION_IN_LABEL
2807 strhelp = STR_CONFIG_SETTING_POPULATION_IN_LABEL_HELPTEXT
2808 proc = PopulationInLabelActive
2811 var = gui.link_terraform_toolbar
2812 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2814 str = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR
2815 strhelp = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR_HELPTEXT
2818 var = gui.smallmap_land_colour
2820 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2821 guiflags = SGF_MULTISTRING
2825 str = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR
2826 strhelp = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_HELPTEXT
2827 strval = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_GREEN
2828 proc = RedrawSmallmap
2833 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2834 guiflags = SGF_MULTISTRING
2838 str = STR_CONFIG_SETTING_LIVERIES
2839 strhelp = STR_CONFIG_SETTING_LIVERIES_HELPTEXT
2840 strval = STR_CONFIG_SETTING_LIVERIES_NONE
2841 proc = InvalidateCompanyLiveryWindow
2844 var = gui.starting_colour
2846 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2847 guiflags = SGF_MULTISTRING
2851 str = STR_CONFIG_SETTING_COMPANY_STARTING_COLOUR
2852 strhelp = STR_CONFIG_SETTING_COMPANY_STARTING_COLOUR_HELPTEXT
2853 strval = STR_COLOUR_DARK_BLUE
2856 var = gui.prefer_teamchat
2857 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2859 str = STR_CONFIG_SETTING_PREFER_TEAMCHAT
2860 strhelp = STR_CONFIG_SETTING_PREFER_TEAMCHAT_HELPTEXT
2864 var = gui.scrollwheel_scrolling
2866 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2867 guiflags = SGF_MULTISTRING
2871 str = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING
2872 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING_HELPTEXT
2873 strval = STR_CONFIG_SETTING_SCROLLWHEEL_ZOOM
2877 var = gui.scrollwheel_multiplier
2879 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2884 str = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER
2885 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER_HELPTEXT
2886 strval = STR_JUST_COMMA
2890 var = gui.pause_on_newgame
2891 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2893 str = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME
2894 strhelp = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME_HELPTEXT
2898 var = gui.advanced_vehicle_list
2900 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2901 guiflags = SGF_MULTISTRING
2905 str = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS
2906 strhelp = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS_HELPTEXT
2907 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2910 var = gui.timetable_in_ticks
2911 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2913 str = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS
2914 strhelp = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS_HELPTEXT
2915 proc = InvalidateVehTimetableWindow
2919 var = gui.timetable_arrival_departure
2920 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2922 str = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE
2923 strhelp = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE_HELPTEXT
2924 proc = InvalidateVehTimetableWindow
2927 var = gui.quick_goto
2928 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2930 str = STR_CONFIG_SETTING_QUICKGOTO
2931 strhelp = STR_CONFIG_SETTING_QUICKGOTO_HELPTEXT
2935 var = gui.loading_indicators
2937 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2938 guiflags = SGF_MULTISTRING
2942 str = STR_CONFIG_SETTING_LOADING_INDICATORS
2943 strhelp = STR_CONFIG_SETTING_LOADING_INDICATORS_HELPTEXT
2944 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2949 var = gui.default_rail_type
2951 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2952 guiflags = SGF_MULTISTRING
2956 str = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE
2957 strhelp = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_HELPTEXT
2958 strval = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_FIRST
2962 var = gui.enable_signal_gui
2963 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2965 str = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI
2966 strhelp = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI_HELPTEXT
2967 proc = CloseSignalGUI
2971 var = gui.coloured_news_year
2973 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2978 str = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR
2979 strhelp = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR_HELPTEXT
2980 strval = STR_JUST_INT
2984 var = gui.drag_signals_density
2986 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2990 str = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY
2991 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_HELPTEXT
2992 strval = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_VALUE
2993 proc = DragSignalsDensityChanged
2997 var = gui.drag_signals_fixed_distance
2998 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3000 str = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE
3001 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE_HELPTEXT
3005 var = gui.semaphore_build_before
3007 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3012 str = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE
3013 strhelp = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE_HELPTEXT
3014 strval = STR_JUST_INT
3015 proc = ResetSignalVariant
3018 var = gui.vehicle_income_warn
3019 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3021 str = STR_CONFIG_SETTING_WARN_INCOME_LESS
3022 strhelp = STR_CONFIG_SETTING_WARN_INCOME_LESS_HELPTEXT
3026 var = gui.order_review_system
3028 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3029 guiflags = SGF_MULTISTRING
3033 str = STR_CONFIG_SETTING_ORDER_REVIEW
3034 strhelp = STR_CONFIG_SETTING_ORDER_REVIEW_HELPTEXT
3035 strval = STR_CONFIG_SETTING_ORDER_REVIEW_OFF
3039 var = gui.lost_vehicle_warn
3040 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3042 str = STR_CONFIG_SETTING_WARN_LOST_VEHICLE
3043 strhelp = STR_CONFIG_SETTING_WARN_LOST_VEHICLE_HELPTEXT
3046 var = gui.disable_unsuitable_building
3047 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3049 str = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING
3050 strhelp = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING_HELPTEXT
3055 var = gui.new_nonstop
3056 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3058 str = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT
3059 strhelp = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT_HELPTEXT
3063 var = gui.stop_location
3065 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3066 guiflags = SGF_MULTISTRING
3071 str = STR_CONFIG_SETTING_STOP_LOCATION
3072 strhelp = STR_CONFIG_SETTING_STOP_LOCATION_HELPTEXT
3073 strval = STR_CONFIG_SETTING_STOP_LOCATION_NEAR_END
3077 var = gui.keep_all_autosave
3078 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3082 var = gui.autosave_on_exit
3083 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3088 var = gui.autosave_on_network_disconnect
3089 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3094 var = gui.max_num_autosaves
3096 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3103 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3107 var = gui.news_message_timeout
3109 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3115 var = gui.show_track_reservation
3116 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3118 str = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION
3119 strhelp = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION_HELPTEXT
3124 var = gui.default_signal_type
3126 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3127 guiflags = SGF_MULTISTRING
3132 str = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE
3133 strhelp = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE_HELPTEXT
3134 strval = STR_CONFIG_SETTING_DEFAULT_SIGNAL_NORMAL
3138 var = gui.cycle_signal_types
3140 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3141 guiflags = SGF_MULTISTRING
3146 str = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES
3147 strhelp = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES_HELPTEXT
3148 strval = STR_CONFIG_SETTING_CYCLE_SIGNAL_NORMAL
3151 var = gui.station_numtracks
3153 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3159 var = gui.station_platlength
3161 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3168 var = gui.station_dragdrop
3169 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3174 var = gui.station_show_coverage
3175 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3180 var = gui.persistent_buildingtools
3181 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3183 str = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS
3184 strhelp = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS_HELPTEXT
3188 var = gui.expenses_layout
3189 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3191 str = STR_CONFIG_SETTING_EXPENSES_LAYOUT
3192 strhelp = STR_CONFIG_SETTING_EXPENSES_LAYOUT_HELPTEXT
3196 var = gui.station_gui_group_order
3198 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3205 var = gui.station_gui_sort_by
3207 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3214 var = gui.station_gui_sort_order
3216 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3223 var = gui.missing_strings_threshold
3225 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3232 var = gui.graph_line_thickness
3234 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3238 str = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS
3239 strhelp = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS_HELPTEXT
3240 strval = STR_JUST_COMMA
3244 var = gui.show_newgrf_name
3245 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3247 str = STR_CONFIG_SETTING_SHOW_NEWGRF_NAME
3248 strhelp = STR_CONFIG_SETTING_SHOW_NEWGRF_NAME_HELPTEXT
3252 ; For the dedicated build we'll enable dates in logs by default.
3255 var = gui.show_date_in_logs
3256 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3261 var = gui.show_date_in_logs
3262 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3266 var = gui.settings_restriction_mode
3268 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3276 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3283 var = gui.newgrf_developer_tools
3284 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3286 proc = InvalidateNewGRFChangeWindows
3290 var = gui.ai_developer_tools
3291 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3293 proc = InvalidateAISettingsWindow
3297 var = gui.scenario_developer
3298 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3300 proc = InvalidateNewGRFChangeWindows
3303 var = gui.newgrf_show_old_versions
3304 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3309 var = gui.newgrf_default_palette
3311 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3312 guiflags = SGF_MULTISTRING
3316 proc = UpdateNewGRFConfigPalette
3320 var = gui.console_backlog_timeout
3322 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3328 var = gui.console_backlog_length
3330 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3336 var = sound.news_ticker
3337 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3339 str = STR_CONFIG_SETTING_SOUND_TICKER
3340 strhelp = STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT
3343 var = sound.news_full
3344 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3346 str = STR_CONFIG_SETTING_SOUND_NEWS
3347 strhelp = STR_CONFIG_SETTING_SOUND_NEWS_HELPTEXT
3350 var = sound.new_year
3351 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3353 str = STR_CONFIG_SETTING_SOUND_NEW_YEAR
3354 strhelp = STR_CONFIG_SETTING_SOUND_NEW_YEAR_HELPTEXT
3358 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3360 str = STR_CONFIG_SETTING_SOUND_CONFIRM
3361 strhelp = STR_CONFIG_SETTING_SOUND_CONFIRM_HELPTEXT
3364 var = sound.click_beep
3365 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3367 str = STR_CONFIG_SETTING_SOUND_CLICK
3368 strhelp = STR_CONFIG_SETTING_SOUND_CLICK_HELPTEXT
3371 var = sound.disaster
3372 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3374 str = STR_CONFIG_SETTING_SOUND_DISASTER
3375 strhelp = STR_CONFIG_SETTING_SOUND_DISASTER_HELPTEXT
3379 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3381 str = STR_CONFIG_SETTING_SOUND_VEHICLE
3382 strhelp = STR_CONFIG_SETTING_SOUND_VEHICLE_HELPTEXT
3386 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3388 str = STR_CONFIG_SETTING_SOUND_AMBIENT
3389 strhelp = STR_CONFIG_SETTING_SOUND_AMBIENT_HELPTEXT
3392 var = music.playlist
3394 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3402 var = music.music_vol
3404 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3412 var = music.effect_vol
3414 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3422 var = music.custom_1
3424 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3429 var = music.custom_2
3431 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3437 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3443 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3448 var = news_display.arrival_player
3450 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3451 guiflags = SGF_MULTISTRING
3454 full = _news_display
3455 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN
3456 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN_HELPTEXT
3457 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3460 var = news_display.arrival_other
3462 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3463 guiflags = SGF_MULTISTRING
3466 full = _news_display
3467 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER
3468 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER_HELPTEXT
3469 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3472 var = news_display.accident
3474 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3475 guiflags = SGF_MULTISTRING
3478 full = _news_display
3479 str = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS
3480 strhelp = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS_HELPTEXT
3481 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3484 var = news_display.company_info
3486 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3487 guiflags = SGF_MULTISTRING
3490 full = _news_display
3491 str = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION
3492 strhelp = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION_HELPTEXT
3493 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3496 var = news_display.open
3498 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3499 guiflags = SGF_MULTISTRING
3502 full = _news_display
3503 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN
3504 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN_HELPTEXT
3505 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3508 var = news_display.close
3510 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3511 guiflags = SGF_MULTISTRING
3514 full = _news_display
3515 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE
3516 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE_HELPTEXT
3517 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3520 var = news_display.economy
3522 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3523 guiflags = SGF_MULTISTRING
3526 full = _news_display
3527 str = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES
3528 strhelp = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES_HELPTEXT
3529 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3532 var = news_display.production_player
3534 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3535 guiflags = SGF_MULTISTRING
3538 full = _news_display
3539 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY
3540 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY_HELPTEXT
3541 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3544 var = news_display.production_other
3546 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3547 guiflags = SGF_MULTISTRING
3550 full = _news_display
3551 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_OTHER
3552 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_OTHER_HELPTEXT
3553 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3556 var = news_display.production_nobody
3558 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3559 guiflags = SGF_MULTISTRING
3562 full = _news_display
3563 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED
3564 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED_HELPTEXT
3565 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3568 var = news_display.advice
3570 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3571 guiflags = SGF_MULTISTRING
3574 full = _news_display
3575 str = STR_CONFIG_SETTING_NEWS_ADVICE
3576 strhelp = STR_CONFIG_SETTING_NEWS_ADVICE_HELPTEXT
3577 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3580 var = news_display.new_vehicles
3582 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3583 guiflags = SGF_MULTISTRING
3586 full = _news_display
3587 str = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES
3588 strhelp = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES_HELPTEXT
3589 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3592 var = news_display.acceptance
3594 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3595 guiflags = SGF_MULTISTRING
3598 full = _news_display
3599 str = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE
3600 strhelp = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE_HELPTEXT
3601 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3604 var = news_display.subsidies
3606 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3607 guiflags = SGF_MULTISTRING
3610 full = _news_display
3611 str = STR_CONFIG_SETTING_NEWS_SUBSIDIES
3612 strhelp = STR_CONFIG_SETTING_NEWS_SUBSIDIES_HELPTEXT
3613 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3616 var = news_display.general
3618 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3619 guiflags = SGF_MULTISTRING
3622 full = _news_display
3623 str = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION
3624 strhelp = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION_HELPTEXT
3625 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3628 var = gui.network_chat_box_width_pct
3630 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3637 var = gui.network_chat_box_height
3639 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3646 var = gui.network_chat_timeout
3648 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3655 var = network.sync_freq
3657 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3658 guiflags = SGF_NETWORK_ONLY
3665 var = network.frame_freq
3667 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3668 guiflags = SGF_NETWORK_ONLY
3675 var = network.commands_per_frame
3677 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3678 guiflags = SGF_NETWORK_ONLY
3685 var = network.max_commands_in_queue
3687 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3688 guiflags = SGF_NETWORK_ONLY
3695 var = network.bytes_per_frame
3697 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3698 guiflags = SGF_NETWORK_ONLY
3705 var = network.bytes_per_frame_burst
3707 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3708 guiflags = SGF_NETWORK_ONLY
3715 var = network.max_init_time
3717 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3718 guiflags = SGF_NETWORK_ONLY
3725 var = network.max_join_time
3727 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3728 guiflags = SGF_NETWORK_ONLY
3734 var = network.max_download_time
3736 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3737 guiflags = SGF_NETWORK_ONLY
3743 var = network.max_password_time
3745 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3746 guiflags = SGF_NETWORK_ONLY
3752 var = network.max_lag_time
3754 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3755 guiflags = SGF_NETWORK_ONLY
3761 var = network.pause_on_join
3762 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3763 guiflags = SGF_NETWORK_ONLY
3767 var = network.server_port
3769 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3770 guiflags = SGF_NETWORK_ONLY
3771 def = NETWORK_DEFAULT_PORT
3777 var = network.server_admin_port
3779 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3780 guiflags = SGF_NETWORK_ONLY
3781 def = NETWORK_ADMIN_PORT
3787 var = network.server_admin_chat
3788 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3789 guiflags = SGF_NETWORK_ONLY
3794 var = network.server_advertise
3795 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3796 guiflags = SGF_NETWORK_ONLY
3800 var = network.lan_internet
3802 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3803 guiflags = SGF_NETWORK_ONLY
3809 var = network.client_name
3811 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3813 proc = UpdateClientName
3817 var = network.server_password
3819 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3820 guiflags = SGF_NETWORK_ONLY
3822 proc = UpdateServerPassword
3826 var = network.rcon_password
3828 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3829 guiflags = SGF_NETWORK_ONLY
3831 proc = UpdateRconPassword
3835 var = network.admin_password
3837 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3838 guiflags = SGF_NETWORK_ONLY
3843 var = network.default_company_pass
3845 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3849 var = network.server_name
3851 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3852 guiflags = SGF_NETWORK_ONLY
3857 var = network.connect_to_ip
3859 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3863 var = network.network_id
3865 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3866 guiflags = SGF_NETWORK_ONLY
3870 var = network.autoclean_companies
3871 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3872 guiflags = SGF_NETWORK_ONLY
3876 var = network.autoclean_unprotected
3878 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3879 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3885 var = network.autoclean_protected
3887 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3888 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3894 var = network.autoclean_novehicles
3896 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3897 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3903 var = network.max_companies
3905 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3906 guiflags = SGF_NETWORK_ONLY
3910 proc = UpdateClientConfigValues
3914 var = network.max_clients
3916 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3917 guiflags = SGF_NETWORK_ONLY
3924 var = network.max_spectators
3926 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3927 guiflags = SGF_NETWORK_ONLY
3931 proc = UpdateClientConfigValues
3935 var = network.restart_game_year
3937 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3938 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3945 var = network.min_active_clients
3947 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3948 guiflags = SGF_NETWORK_ONLY
3954 var = network.server_lang
3956 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3957 guiflags = SGF_NETWORK_ONLY
3960 full = _server_langs
3964 var = network.reload_cfg
3965 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3966 guiflags = SGF_NETWORK_ONLY
3971 var = network.last_host
3973 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3978 var = network.last_port
3980 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3987 var = network.no_http_content_downloads
3988 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3992 ; Since the network code (CmdChangeSetting and friends) use the index in this array to decide
3993 ; which setting the server is talking about all conditional compilation of this array must be at the
3994 ; end. This isn't really the best solution, the settings the server can tell the client about should
3995 ; either use a separate array or some other form of identifier.
3998 ; We might need to emulate a right mouse button on mac
4001 var = gui.right_mouse_btn_emulation
4003 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
4004 guiflags = SGF_MULTISTRING
4008 str = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU
4009 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_HELPTEXT
4010 strval = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_COMMAND