3 ; This file is part of OpenTTD.
4 ; OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
5 ; OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6 ; See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
10 /* Begin
- Callback Functions for the various settings
*/
11 static bool v_PositionMainToolbar
(int32 p1
);
12 static bool v_PositionStatusbar
(int32 p1
);
13 static bool PopulationInLabelActive
(int32 p1
);
14 static bool RedrawScreen
(int32 p1
);
15 static bool RedrawSmallmap
(int32 p1
);
16 static bool StationSpreadChanged
(int32 p1
);
17 static bool InvalidateBuildIndustryWindow
(int32 p1
);
18 static bool CloseSignalGUI
(int32 p1
);
19 static bool InvalidateTownViewWindow
(int32 p1
);
20 static bool DeleteSelectStationWindow
(int32 p1
);
21 static bool UpdateConsists
(int32 p1
);
22 static bool TrainAccelerationModelChanged
(int32 p1
);
23 static bool RoadVehAccelerationModelChanged
(int32 p1
);
24 static bool TrainSlopeSteepnessChanged
(int32 p1
);
25 static bool RoadVehSlopeSteepnessChanged
(int32 p1
);
26 static bool DragSignalsDensityChanged
(int32
);
27 static bool TownFoundingChanged
(int32 p1
);
28 static bool DifficultyNoiseChange
(int32 i
);
29 static bool MaxNoAIsChange
(int32 i
);
30 static bool CheckRoadSide
(int p1
);
31 static bool ChangeMaxHeightLevel
(int32 p1
);
32 static bool CheckFreeformEdges
(int32 p1
);
33 static bool ChangeDynamicEngines
(int32 p1
);
34 static bool StationCatchmentChanged
(int32 p1
);
35 static bool InvalidateVehTimetableWindow
(int32 p1
);
36 static bool InvalidateCompanyLiveryWindow
(int32 p1
);
37 static bool InvalidateNewGRFChangeWindows
(int32 p1
);
38 static bool InvalidateIndustryViewWindow
(int32 p1
);
39 static bool InvalidateAISettingsWindow
(int32 p1
);
40 static bool RedrawTownAuthority
(int32 p1
);
41 static bool InvalidateCompanyInfrastructureWindow
(int32 p1
);
42 static bool InvalidateCompanyWindow
(int32 p1
);
43 static bool ZoomMinMaxChanged
(int32 p1
);
44 static bool MaxVehiclesChanged
(int32 p1
);
47 static bool UpdateClientName
(int32 p1
);
48 static bool UpdateServerPassword
(int32 p1
);
49 static bool UpdateRconPassword
(int32 p1
);
50 static bool UpdateClientConfigValues
(int32 p1
);
51 #endif /* ENABLE_NETWORK */
52 /* End
- Callback Functions for the various settings
*/
54 /* Some settings do not need to be synchronised when playing in multiplayer.
55 * These include for example the GUI settings and will not be saved with the
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 compatability.
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
624 var = linkgraph.recalc_interval
631 str = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL
632 strval = STR_JUST_COMMA
633 strhelp = STR_CONFIG_SETTING_LINKGRAPH_INTERVAL_HELPTEXT
637 var = linkgraph.recalc_time
644 str = STR_CONFIG_SETTING_LINKGRAPH_TIME
645 strval = STR_JUST_COMMA
646 strhelp = STR_CONFIG_SETTING_LINKGRAPH_TIME_HELPTEXT
650 var = linkgraph.distribution_pax
653 guiflags = SGF_MULTISTRING
658 str = STR_CONFIG_SETTING_DISTRIBUTION_PAX
659 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
660 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_PAX_HELPTEXT
664 var = linkgraph.distribution_mail
667 guiflags = SGF_MULTISTRING
672 str = STR_CONFIG_SETTING_DISTRIBUTION_MAIL
673 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
674 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_MAIL_HELPTEXT
678 var = linkgraph.distribution_armoured
681 guiflags = SGF_MULTISTRING
686 str = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED
687 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
688 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED_HELPTEXT
692 var = linkgraph.distribution_default
695 guiflags = SGF_MULTISTRING
698 max = DT_MAX_NONSYMMETRIC
700 str = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT
701 strval = STR_CONFIG_SETTING_DISTRIBUTION_MANUAL
702 strhelp = STR_CONFIG_SETTING_DISTRIBUTION_DEFAULT_HELPTEXT
706 var = linkgraph.accuracy
713 str = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY
714 strval = STR_JUST_COMMA
715 strhelp = STR_CONFIG_SETTING_LINKGRAPH_ACCURACY_HELPTEXT
719 var = linkgraph.demand_distance
726 str = STR_CONFIG_SETTING_DEMAND_DISTANCE
727 strval = STR_CONFIG_SETTING_PERCENTAGE
728 strhelp = STR_CONFIG_SETTING_DEMAND_DISTANCE_HELPTEXT
732 var = linkgraph.demand_size
739 str = STR_CONFIG_SETTING_DEMAND_SIZE
740 strval = STR_CONFIG_SETTING_PERCENTAGE
741 strhelp = STR_CONFIG_SETTING_DEMAND_SIZE_HELPTEXT
745 var = linkgraph.short_path_saturation
752 str = STR_CONFIG_SETTING_SHORT_PATH_SATURATION
753 strval = STR_CONFIG_SETTING_PERCENTAGE
754 strhelp = STR_CONFIG_SETTING_SHORT_PATH_SATURATION_HELPTEXT
760 var = vehicle.train_acceleration_model
762 guiflags = SGF_MULTISTRING
767 str = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL
768 strhelp = STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL_HELPTEXT
769 strval = STR_CONFIG_SETTING_ORIGINAL
770 proc = TrainAccelerationModelChanged
774 var = vehicle.roadveh_acceleration_model
777 guiflags = SGF_MULTISTRING
782 str = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL
783 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL_HELPTEXT
784 strval = STR_CONFIG_SETTING_ORIGINAL
785 proc = RoadVehAccelerationModelChanged
789 var = vehicle.train_slope_steepness
796 str = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS
797 strhelp = STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS_HELPTEXT
798 strval = STR_CONFIG_SETTING_PERCENTAGE
799 proc = TrainSlopeSteepnessChanged
804 var = vehicle.roadveh_slope_steepness
811 str = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS
812 strhelp = STR_CONFIG_SETTING_ROAD_VEHICLE_SLOPE_STEEPNESS_HELPTEXT
813 strval = STR_CONFIG_SETTING_PERCENTAGE
814 proc = RoadVehSlopeSteepnessChanged
819 var = pf.forbid_90_deg
821 str = STR_CONFIG_SETTING_FORBID_90_DEG
822 strhelp = STR_CONFIG_SETTING_FORBID_90_DEG_HELPTEXT
827 var = vehicle.max_train_length
834 str = STR_CONFIG_SETTING_TRAIN_LENGTH
835 strhelp = STR_CONFIG_SETTING_TRAIN_LENGTH_HELPTEXT
836 strval = STR_CONFIG_SETTING_TILE_LENGTH
839 ; vehicle.mammoth_trains
846 var = vehicle.smoke_amount
849 guiflags = SGF_MULTISTRING
853 str = STR_CONFIG_SETTING_SMOKE_AMOUNT
854 strhelp = STR_CONFIG_SETTING_SMOKE_AMOUNT_HELPTEXT
855 strval = STR_CONFIG_SETTING_NONE
866 var = pf.roadveh_queue
872 var = pf.new_pathfinding_all
879 var = pf.yapf.ship_use_yapf
887 var = pf.yapf.road_use_yapf
895 var = pf.yapf.rail_use_yapf
904 var = pf.pathfinder_for_trains
907 guiflags = SGF_MULTISTRING
912 str = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS
913 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_TRAINS_HELPTEXT
914 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
919 var = pf.pathfinder_for_roadvehs
922 guiflags = SGF_MULTISTRING
927 str = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES
928 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_ROAD_VEHICLES_HELPTEXT
929 strval = STR_CONFIG_SETTING_PATHFINDER_NPF
934 var = pf.pathfinder_for_ships
937 guiflags = SGF_MULTISTRING
942 str = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS
943 strhelp = STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS_HELPTEXT
944 strval = STR_CONFIG_SETTING_PATHFINDER_OPF
949 var = vehicle.never_expire_vehicles
950 guiflags = SGF_NO_NETWORK
952 str = STR_CONFIG_SETTING_NEVER_EXPIRE_VEHICLES
953 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 proc = MaxVehiclesChanged
970 var = vehicle.max_roadveh
975 str = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES
976 strhelp = STR_CONFIG_SETTING_MAX_ROAD_VEHICLES_HELPTEXT
977 strval = STR_JUST_COMMA
978 proc = MaxVehiclesChanged
983 var = vehicle.max_aircraft
988 str = STR_CONFIG_SETTING_MAX_AIRCRAFT
989 strhelp = STR_CONFIG_SETTING_MAX_AIRCRAFT_HELPTEXT
990 strval = STR_JUST_COMMA
991 proc = MaxVehiclesChanged
996 var = vehicle.max_ships
1001 str = STR_CONFIG_SETTING_MAX_SHIPS
1002 strhelp = STR_CONFIG_SETTING_MAX_SHIPS_HELPTEXT
1003 strval = STR_JUST_COMMA
1004 proc = MaxVehiclesChanged
1009 guiflags = SGF_NO_NETWORK
1010 var = _old_vds.servint_ispercent
1017 guiflags = SGF_0ISDISABLED
1018 var = _old_vds.servint_trains
1027 guiflags = SGF_0ISDISABLED
1028 var = _old_vds.servint_roadveh
1037 guiflags = SGF_0ISDISABLED
1038 var = _old_vds.servint_ships
1047 guiflags = SGF_0ISDISABLED
1048 var = _old_vds.servint_aircraft
1056 var = order.no_servicing_if_no_breakdowns
1058 str = STR_CONFIG_SETTING_NOSERVICE
1059 strhelp = STR_CONFIG_SETTING_NOSERVICE_HELPTEXT
1063 var = vehicle.wagon_speed_limits
1064 guiflags = SGF_NO_NETWORK
1066 str = STR_CONFIG_SETTING_WAGONSPEEDLIMITS
1067 strhelp = STR_CONFIG_SETTING_WAGONSPEEDLIMITS_HELPTEXT
1068 proc = UpdateConsists
1072 var = vehicle.disable_elrails
1074 guiflags = SGF_NO_NETWORK
1076 str = STR_CONFIG_SETTING_DISABLE_ELRAILS
1077 strhelp = STR_CONFIG_SETTING_DISABLE_ELRAILS_HELPTEXT
1078 proc = SettingsDisableElrail
1083 var = vehicle.freight_trains
1086 guiflags = SGF_NO_NETWORK
1091 str = STR_CONFIG_SETTING_FREIGHT_TRAINS
1092 strhelp = STR_CONFIG_SETTING_FREIGHT_TRAINS_HELPTEXT
1093 strval = STR_JUST_COMMA
1094 proc = UpdateConsists
1104 var = vehicle.plane_speed
1107 guiflags = SGF_NO_NETWORK
1111 str = STR_CONFIG_SETTING_PLANE_SPEED
1112 strhelp = STR_CONFIG_SETTING_PLANE_SPEED_HELPTEXT
1113 strval = STR_CONFIG_SETTING_PLANE_SPEED_VALUE
1117 var = vehicle.dynamic_engines
1119 guiflags = SGF_NO_NETWORK
1121 proc = ChangeDynamicEngines
1126 var = vehicle.plane_crashes
1129 guiflags = SGF_MULTISTRING
1134 str = STR_CONFIG_SETTING_PLANE_CRASHES
1135 strhelp = STR_CONFIG_SETTING_PLANE_CRASHES_HELPTEXT
1136 strval = STR_CONFIG_SETTING_PLANE_CRASHES_NONE
1139 ; station.join_stations
1145 var = gui.sg_full_load_any
1152 var = order.improved_load
1153 guiflags = SGF_NO_NETWORK
1159 var = order.selectgoods
1164 var = gui.sg_new_nonstop
1169 ; station.nonuniform_stations
1176 var = station.station_spread
1181 str = STR_CONFIG_SETTING_STATION_SPREAD
1182 strhelp = STR_CONFIG_SETTING_STATION_SPREAD_HELPTEXT
1183 strval = STR_CONFIG_SETTING_TILE_LENGTH
1184 proc = StationSpreadChanged
1189 var = order.serviceathelipad
1191 str = STR_CONFIG_SETTING_SERVICEATHELIPAD
1192 strhelp = STR_CONFIG_SETTING_SERVICEATHELIPAD_HELPTEXT
1197 var = station.modified_catchment
1199 str = STR_CONFIG_SETTING_CATCHMENT
1200 strhelp = STR_CONFIG_SETTING_CATCHMENT_HELPTEXT
1201 proc = StationCatchmentChanged
1206 var = order.gradual_loading
1208 guiflags = SGF_NO_NETWORK
1214 var = construction.road_stop_on_town_road
1217 str = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD
1218 strhelp = STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD_HELPTEXT
1223 var = construction.road_stop_on_competitor_road
1226 str = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD
1227 strhelp = STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD_HELPTEXT
1232 var = station.adjacent_stations
1239 var = economy.station_noise_level
1241 guiflags = SGF_NO_NETWORK
1243 str = STR_CONFIG_SETTING_NOISE_LEVEL
1244 strhelp = STR_CONFIG_SETTING_NOISE_LEVEL_HELPTEXT
1245 proc = InvalidateTownViewWindow
1249 var = station.distant_join_stations
1252 str = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS
1253 strhelp = STR_CONFIG_SETTING_DISTANT_JOIN_STATIONS_HELPTEXT
1254 proc = DeleteSelectStationWindow
1259 var = economy.inflation
1261 str = STR_CONFIG_SETTING_INFLATION
1262 strhelp = STR_CONFIG_SETTING_INFLATION_HELPTEXT
1267 var = construction.raw_industry_construction
1269 guiflags = SGF_MULTISTRING
1273 str = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD
1274 strhelp = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_HELPTEXT
1275 strval = STR_CONFIG_SETTING_RAW_INDUSTRY_CONSTRUCTION_METHOD_NONE
1276 proc = InvalidateBuildIndustryWindow
1281 var = construction.industry_platform
1287 str = STR_CONFIG_SETTING_INDUSTRY_PLATFORM
1288 strhelp = STR_CONFIG_SETTING_INDUSTRY_PLATFORM_HELPTEXT
1289 strval = STR_CONFIG_SETTING_TILE_LENGTH
1294 var = economy.multiple_industry_per_town
1296 str = STR_CONFIG_SETTING_MULTIPINDTOWN
1297 strhelp = STR_CONFIG_SETTING_MULTIPINDTOWN_HELPTEXT
1307 str = STR_CONFIG_SETTING_BRIBE
1308 strhelp = STR_CONFIG_SETTING_BRIBE_HELPTEXT
1309 proc = RedrawTownAuthority
1314 var = economy.exclusive_rights
1317 str = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE
1318 strhelp = STR_CONFIG_SETTING_ALLOW_EXCLUSIVE_HELPTEXT
1319 proc = RedrawTownAuthority
1324 var = economy.fund_buildings
1327 str = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS
1328 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_BUILDINGS_HELPTEXT
1329 proc = RedrawTownAuthority
1334 var = economy.fund_roads
1337 str = STR_CONFIG_SETTING_ALLOW_FUND_ROAD
1338 strhelp = STR_CONFIG_SETTING_ALLOW_FUND_ROAD_HELPTEXT
1339 proc = RedrawTownAuthority
1344 var = economy.give_money
1347 str = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY
1348 strhelp = STR_CONFIG_SETTING_ALLOW_GIVE_MONEY_HELPTEXT
1353 var = game_creation.snow_line_height
1355 guiflags = SGF_NO_NETWORK
1356 def = DEF_SNOWLINE_HEIGHT
1357 min = MIN_SNOWLINE_HEIGHT
1358 max = MAX_SNOWLINE_HEIGHT
1359 str = STR_CONFIG_SETTING_SNOWLINE_HEIGHT
1360 strhelp = STR_CONFIG_SETTING_SNOWLINE_HEIGHT_HELPTEXT
1361 strval = STR_JUST_COMMA
1370 var = game_creation.starting_year
1372 def = DEF_START_YEAR
1376 str = STR_CONFIG_SETTING_STARTING_YEAR
1377 strval = STR_JUST_INT
1386 var = economy.smooth_economy
1388 str = STR_CONFIG_SETTING_SMOOTH_ECONOMY
1389 strhelp = STR_CONFIG_SETTING_SMOOTH_ECONOMY_HELPTEXT
1390 proc = InvalidateIndustryViewWindow
1395 var = economy.allow_shares
1397 str = STR_CONFIG_SETTING_ALLOW_SHARES
1398 strhelp = STR_CONFIG_SETTING_ALLOW_SHARES_HELPTEXT
1399 proc = InvalidateCompanyWindow
1403 var = economy.feeder_payment_share
1409 str = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE
1410 strhelp = STR_CONFIG_SETTING_FEEDER_PAYMENT_SHARE_HELPTEXT
1411 strval = STR_CONFIG_SETTING_PERCENTAGE
1416 var = economy.town_growth_rate
1419 guiflags = SGF_MULTISTRING
1423 str = STR_CONFIG_SETTING_TOWN_GROWTH
1424 strhelp = STR_CONFIG_SETTING_TOWN_GROWTH_HELPTEXT
1425 strval = STR_CONFIG_SETTING_TOWN_GROWTH_NONE
1429 var = economy.larger_towns
1432 guiflags = SGF_0ISDISABLED
1437 str = STR_CONFIG_SETTING_LARGER_TOWNS
1438 strhelp = STR_CONFIG_SETTING_LARGER_TOWNS_HELPTEXT
1439 strval = STR_CONFIG_SETTING_LARGER_TOWNS_VALUE
1443 var = economy.initial_city_size
1450 str = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER
1451 strhelp = STR_CONFIG_SETTING_CITY_SIZE_MULTIPLIER_HELPTEXT
1452 strval = STR_JUST_COMMA
1456 var = economy.mod_road_rebuild
1461 ; previously ai-new setting.
1468 var = script.settings_profile
1471 guiflags = SGF_MULTISTRING
1475 full = _settings_profiles
1476 str = STR_CONFIG_SETTING_AI_PROFILE
1477 strhelp = STR_CONFIG_SETTING_AI_PROFILE_HELPTEXT
1478 strval = STR_CONFIG_SETTING_AI_PROFILE_EASY
1483 var = ai.ai_in_multiplayer
1485 str = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER
1486 strhelp = STR_CONFIG_SETTING_AI_IN_MULTIPLAYER_HELPTEXT
1491 var = ai.ai_disable_veh_train
1493 str = STR_CONFIG_SETTING_AI_BUILDS_TRAINS
1494 strhelp = STR_CONFIG_SETTING_AI_BUILDS_TRAINS_HELPTEXT
1498 var = ai.ai_disable_veh_roadveh
1500 str = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES
1501 strhelp = STR_CONFIG_SETTING_AI_BUILDS_ROAD_VEHICLES_HELPTEXT
1505 var = ai.ai_disable_veh_aircraft
1507 str = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT
1508 strhelp = STR_CONFIG_SETTING_AI_BUILDS_AIRCRAFT_HELPTEXT
1512 var = ai.ai_disable_veh_ship
1514 str = STR_CONFIG_SETTING_AI_BUILDS_SHIPS
1515 strhelp = STR_CONFIG_SETTING_AI_BUILDS_SHIPS_HELPTEXT
1519 var = script.script_max_opcode_till_suspend
1522 guiflags = SGF_NEWGAME_ONLY
1527 str = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES
1528 strhelp = STR_CONFIG_SETTING_SCRIPT_MAX_OPCODES_HELPTEXT
1529 strval = STR_JUST_COMMA
1535 var = vehicle.extend_vehicle_life
1544 var = economy.dist_local_authority
1553 var = pf.reverse_at_signals
1556 str = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS
1557 strhelp = STR_CONFIG_SETTING_REVERSE_AT_SIGNALS_HELPTEXT
1561 var = pf.wait_oneway_signal
1570 var = pf.wait_twoway_signal
1579 var = economy.town_noise_population[0]
1589 var = economy.town_noise_population[1]
1599 var = economy.town_noise_population[2]
1609 var = economy.infrastructure_maintenance
1612 str = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE
1613 strhelp = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE_HELPTEXT
1614 proc = InvalidateCompanyInfrastructureWindow
1620 var = pf.wait_for_pbs_path
1630 var = pf.reserve_paths
1637 var = pf.path_backoff_interval
1648 var = pf.opf.pf_maxlength
1657 var = pf.opf.pf_maxdepth
1667 var = pf.npf.npf_max_search_nodes
1676 var = pf.npf.npf_rail_firstred_penalty
1678 def = 10 * NPF_TILE_LENGTH
1685 var = pf.npf.npf_rail_firstred_exit_penalty
1687 def = 100 * NPF_TILE_LENGTH
1694 var = pf.npf.npf_rail_lastred_penalty
1696 def = 10 * NPF_TILE_LENGTH
1703 var = pf.npf.npf_rail_station_penalty
1705 def = 1 * NPF_TILE_LENGTH
1712 var = pf.npf.npf_rail_slope_penalty
1714 def = 1 * NPF_TILE_LENGTH
1721 var = pf.npf.npf_rail_curve_penalty
1723 def = 1 * NPF_TILE_LENGTH
1730 var = pf.npf.npf_rail_depot_reverse_penalty
1732 def = 50 * NPF_TILE_LENGTH
1739 var = pf.npf.npf_rail_pbs_cross_penalty
1742 def = 3 * NPF_TILE_LENGTH
1749 var = pf.npf.npf_rail_pbs_signal_back_penalty
1752 def = 15 * NPF_TILE_LENGTH
1759 var = pf.npf.npf_buoy_penalty
1761 def = 2 * NPF_TILE_LENGTH
1768 var = pf.npf.npf_water_curve_penalty
1770 def = 1 * NPF_TILE_LENGTH
1777 var = pf.npf.npf_road_curve_penalty
1779 def = 1 * NPF_TILE_LENGTH
1786 var = pf.npf.npf_crossing_penalty
1788 def = 3 * NPF_TILE_LENGTH
1795 var = pf.npf.npf_road_drive_through_penalty
1798 def = 8 * NPF_TILE_LENGTH
1805 var = pf.npf.npf_road_dt_occupied_penalty
1808 def = 8 * NPF_TILE_LENGTH
1815 var = pf.npf.npf_road_bay_occupied_penalty
1818 def = 15 * NPF_TILE_LENGTH
1825 var = pf.npf.maximum_go_to_depot_penalty
1828 def = 20 * NPF_TILE_LENGTH
1836 var = pf.yapf.disable_node_optimization
1843 var = pf.yapf.max_search_nodes
1853 var = pf.yapf.rail_firstred_twoway_eol
1860 var = pf.yapf.rail_firstred_penalty
1863 def = 10 * YAPF_TILE_LENGTH
1870 var = pf.yapf.rail_firstred_exit_penalty
1873 def = 100 * YAPF_TILE_LENGTH
1880 var = pf.yapf.rail_lastred_penalty
1883 def = 10 * YAPF_TILE_LENGTH
1890 var = pf.yapf.rail_lastred_exit_penalty
1893 def = 100 * YAPF_TILE_LENGTH
1900 var = pf.yapf.rail_station_penalty
1903 def = 10 * YAPF_TILE_LENGTH
1910 var = pf.yapf.rail_slope_penalty
1913 def = 2 * YAPF_TILE_LENGTH
1920 var = pf.yapf.rail_curve45_penalty
1923 def = 1 * YAPF_TILE_LENGTH
1930 var = pf.yapf.rail_curve90_penalty
1933 def = 6 * YAPF_TILE_LENGTH
1940 var = pf.yapf.rail_depot_reverse_penalty
1943 def = 50 * YAPF_TILE_LENGTH
1950 var = pf.yapf.rail_crossing_penalty
1953 def = 3 * YAPF_TILE_LENGTH
1960 var = pf.yapf.rail_look_ahead_max_signals
1970 var = pf.yapf.rail_look_ahead_signal_p0
1980 var = pf.yapf.rail_look_ahead_signal_p1
1990 var = pf.yapf.rail_look_ahead_signal_p2
2000 var = pf.yapf.rail_pbs_cross_penalty
2003 def = 3 * YAPF_TILE_LENGTH
2010 var = pf.yapf.rail_pbs_station_penalty
2013 def = 8 * YAPF_TILE_LENGTH
2020 var = pf.yapf.rail_pbs_signal_back_penalty
2023 def = 15 * YAPF_TILE_LENGTH
2030 var = pf.yapf.rail_doubleslip_penalty
2033 def = 1 * YAPF_TILE_LENGTH
2040 var = pf.yapf.rail_longer_platform_penalty
2043 def = 8 * YAPF_TILE_LENGTH
2050 var = pf.yapf.rail_longer_platform_per_tile_penalty
2053 def = 0 * YAPF_TILE_LENGTH
2060 var = pf.yapf.rail_shorter_platform_penalty
2063 def = 40 * YAPF_TILE_LENGTH
2070 var = pf.yapf.rail_shorter_platform_per_tile_penalty
2073 def = 0 * YAPF_TILE_LENGTH
2080 var = pf.yapf.road_slope_penalty
2083 def = 2 * YAPF_TILE_LENGTH
2090 var = pf.yapf.road_curve_penalty
2093 def = 1 * YAPF_TILE_LENGTH
2100 var = pf.yapf.road_crossing_penalty
2103 def = 3 * YAPF_TILE_LENGTH
2110 var = pf.yapf.road_stop_penalty
2113 def = 8 * YAPF_TILE_LENGTH
2120 var = pf.yapf.road_stop_occupied_penalty
2123 def = 8 * YAPF_TILE_LENGTH
2130 var = pf.yapf.road_stop_bay_occupied_penalty
2133 def = 15 * YAPF_TILE_LENGTH
2140 var = pf.yapf.maximum_go_to_depot_penalty
2143 def = 20 * YAPF_TILE_LENGTH
2151 var = game_creation.land_generator
2154 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2158 str = STR_CONFIG_SETTING_LAND_GENERATOR
2159 strhelp = STR_CONFIG_SETTING_LAND_GENERATOR_HELPTEXT
2160 strval = STR_CONFIG_SETTING_LAND_GENERATOR_ORIGINAL
2164 var = game_creation.oil_refinery_limit
2170 str = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE
2171 strval = STR_CONFIG_SETTING_TILE_LENGTH
2172 strhelp = STR_CONFIG_SETTING_OIL_REF_EDGE_DISTANCE_HELPTEXT
2176 var = game_creation.tgen_smoothness
2179 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2181 min = TGEN_SMOOTHNESS_BEGIN
2182 max = TGEN_SMOOTHNESS_END - 1
2183 str = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN
2184 strhelp = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_HELPTEXT
2185 strval = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_VERY_SMOOTH
2190 var = game_creation.variety
2192 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2193 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2197 str = STR_CONFIG_SETTING_VARIETY
2198 strhelp = STR_CONFIG_SETTING_VARIETY_HELPTEXT
2199 strval = STR_VARIETY_NONE
2203 var = game_creation.generation_seed
2206 def = GENERATE_NEW_SEED
2213 var = game_creation.tree_placer
2216 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO
2220 str = STR_CONFIG_SETTING_TREE_PLACER
2221 strhelp = STR_CONFIG_SETTING_TREE_PLACER_HELPTEXT
2222 strval = STR_CONFIG_SETTING_TREE_PLACER_NONE
2226 var = game_creation.heightmap_rotation
2228 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2229 guiflags = SGF_MULTISTRING
2233 str = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION
2234 strval = STR_CONFIG_SETTING_HEIGHTMAP_ROTATION_COUNTER_CLOCKWISE
2239 var = game_creation.se_flat_world_height
2241 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2245 str = STR_CONFIG_SETTING_SE_FLAT_WORLD_HEIGHT
2246 strval = STR_JUST_COMMA
2252 var = game_creation.map_x
2254 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2256 min = MIN_MAP_SIZE_BITS
2257 max = MAX_MAP_SIZE_BITS
2262 var = game_creation.map_y
2264 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2266 min = MIN_MAP_SIZE_BITS
2267 max = MAX_MAP_SIZE_BITS
2272 var = construction.freeform_edges
2275 proc = CheckFreeformEdges
2280 var = game_creation.water_borders
2289 var = game_creation.custom_town_number
2299 var = construction.extra_tree_placement
2302 guiflags = SGF_MULTISTRING
2306 str = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT
2307 strhelp = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_HELPTEXT
2308 strval = STR_CONFIG_SETTING_EXTRA_TREE_PLACEMENT_NONE
2313 var = game_creation.custom_sea_level
2323 var = game_creation.min_river_length
2333 var = game_creation.river_route_random
2343 var = game_creation.amount_of_rivers
2346 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY
2350 str = STR_CONFIG_SETTING_RIVER_AMOUNT
2351 strhelp = STR_CONFIG_SETTING_RIVER_AMOUNT_HELPTEXT
2352 strval = STR_RIVERS_NONE
2358 var = locale.currency
2361 flags = SLF_NO_NETWORK_SYNC
2363 max = CURRENCY_END - 1
2364 full = _locale_currencies
2374 flags = SLF_NOT_IN_CONFIG
2377 full = _locale_units
2383 var = locale.units_velocity
2386 flags = SLF_NO_NETWORK_SYNC
2387 guiflags = SGF_MULTISTRING
2390 full = _locale_units
2393 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY
2394 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_HELPTEXT
2395 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VELOCITY_IMPERIAL
2399 var = locale.units_power
2402 flags = SLF_NO_NETWORK_SYNC
2403 guiflags = SGF_MULTISTRING
2406 full = _locale_units
2409 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER
2410 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_HELPTEXT
2411 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_POWER_IMPERIAL
2415 var = locale.units_weight
2418 flags = SLF_NO_NETWORK_SYNC
2419 guiflags = SGF_MULTISTRING
2422 full = _locale_units
2425 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT
2426 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_HELPTEXT
2427 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_WEIGHT_IMPERIAL
2431 var = locale.units_volume
2434 flags = SLF_NO_NETWORK_SYNC
2435 guiflags = SGF_MULTISTRING
2438 full = _locale_units
2441 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME
2442 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_HELPTEXT
2443 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_VOLUME_IMPERIAL
2447 var = locale.units_force
2450 flags = SLF_NO_NETWORK_SYNC
2451 guiflags = SGF_MULTISTRING
2454 full = _locale_units
2457 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE
2458 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_HELPTEXT
2459 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_FORCE_IMPERIAL
2463 var = locale.units_height
2466 flags = SLF_NO_NETWORK_SYNC
2467 guiflags = SGF_MULTISTRING
2470 full = _locale_units
2473 str = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT
2474 strhelp = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_HELPTEXT
2475 strval = STR_CONFIG_SETTING_LOCALISATION_UNITS_HEIGHT_IMPERIAL
2479 var = locale.digit_group_separator
2482 flags = SLF_NO_NETWORK_SYNC
2489 var = locale.digit_group_separator_currency
2492 flags = SLF_NO_NETWORK_SYNC
2499 var = locale.digit_decimal_separator
2502 flags = SLF_NO_NETWORK_SYNC
2508 ;***************************************************************************
2509 ; Unsaved setting variables.
2514 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2515 guiflags = SGF_MULTISTRING
2518 full = _autosave_interval
2519 str = STR_CONFIG_SETTING_AUTOSAVE
2520 strhelp = STR_CONFIG_SETTING_AUTOSAVE_HELPTEXT
2521 strval = STR_GAME_OPTIONS_AUTOSAVE_DROPDOWN_OFF
2525 var = gui.threaded_saves
2526 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2531 var = gui.date_format_in_default_names
2533 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2534 guiflags = SGF_MULTISTRING
2537 full = _savegame_date
2538 str = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES
2539 strhelp = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_HELPTEXT
2540 strval = STR_CONFIG_SETTING_DATE_FORMAT_IN_SAVE_NAMES_LONG
2543 var = gui.show_finances
2544 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2546 str = STR_CONFIG_SETTING_SHOWFINANCES
2547 strhelp = STR_CONFIG_SETTING_SHOWFINANCES_HELPTEXT
2551 var = gui.auto_scrolling
2553 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2554 guiflags = SGF_MULTISTRING
2558 str = STR_CONFIG_SETTING_AUTOSCROLL
2559 strhelp = STR_CONFIG_SETTING_AUTOSCROLL_HELPTEXT
2560 strval = STR_CONFIG_SETTING_AUTOSCROLL_DISABLED
2564 var = gui.reverse_scroll
2565 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2567 str = STR_CONFIG_SETTING_REVERSE_SCROLLING
2568 strhelp = STR_CONFIG_SETTING_REVERSE_SCROLLING_HELPTEXT
2572 var = gui.smooth_scroll
2573 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2575 str = STR_CONFIG_SETTING_SMOOTH_SCROLLING
2576 strhelp = STR_CONFIG_SETTING_SMOOTH_SCROLLING_HELPTEXT
2579 var = gui.left_mouse_btn_scrolling
2580 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2582 str = STR_CONFIG_SETTING_LEFT_MOUSE_BTN_SCROLLING
2583 strhelp = STR_CONFIG_SETTING_LEFT_MOUSE_BTN_SCROLLING_HELPTEXT
2587 var = gui.right_mouse_wnd_close
2588 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2590 str = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE
2591 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_WND_CLOSE_HELPTEXT
2595 var = gui.measure_tooltip
2596 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2598 str = STR_CONFIG_SETTING_MEASURE_TOOLTIP
2599 strhelp = STR_CONFIG_SETTING_MEASURE_TOOLTIP_HELPTEXT
2603 var = gui.errmsg_duration
2605 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2609 str = STR_CONFIG_SETTING_ERRMSG_DURATION
2610 strhelp = STR_CONFIG_SETTING_ERRMSG_DURATION_HELPTEXT
2611 strval = STR_CONFIG_SETTING_ERRMSG_DURATION_VALUE
2614 var = gui.hover_delay_ms
2616 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2617 guiflags = SGF_0ISDISABLED
2622 str = STR_CONFIG_SETTING_HOVER_DELAY
2623 strhelp = STR_CONFIG_SETTING_HOVER_DELAY_HELPTEXT
2624 strval = STR_CONFIG_SETTING_HOVER_DELAY_VALUE
2627 var = gui.osk_activation
2629 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2630 str = STR_CONFIG_SETTING_OSK_ACTIVATION
2631 strhelp = STR_CONFIG_SETTING_OSK_ACTIVATION_HELPTEXT
2632 strval = STR_CONFIG_SETTING_OSK_ACTIVATION_DISABLED
2633 guiflags = SGF_MULTISTRING
2634 full = _osk_activation
2641 var = gui.toolbar_pos
2643 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2644 guiflags = SGF_MULTISTRING
2648 str = STR_CONFIG_SETTING_TOOLBAR_POS
2649 strhelp = STR_CONFIG_SETTING_TOOLBAR_POS_HELPTEXT
2650 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2651 proc = v_PositionMainToolbar
2655 var = gui.statusbar_pos
2657 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2658 guiflags = SGF_MULTISTRING
2662 str = STR_CONFIG_SETTING_STATUSBAR_POS
2663 strhelp = STR_CONFIG_SETTING_STATUSBAR_POS_HELPTEXT
2664 strval = STR_CONFIG_SETTING_HORIZONTAL_POS_LEFT
2665 proc = v_PositionStatusbar
2669 var = gui.window_snap_radius
2671 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2672 guiflags = SGF_0ISDISABLED
2676 str = STR_CONFIG_SETTING_SNAP_RADIUS
2677 strhelp = STR_CONFIG_SETTING_SNAP_RADIUS_HELPTEXT
2678 strval = STR_CONFIG_SETTING_SNAP_RADIUS_VALUE
2682 var = gui.window_soft_limit
2684 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2685 guiflags = SGF_0ISDISABLED
2690 str = STR_CONFIG_SETTING_SOFT_LIMIT
2691 strhelp = STR_CONFIG_SETTING_SOFT_LIMIT_HELPTEXT
2692 strval = STR_CONFIG_SETTING_SOFT_LIMIT_VALUE
2698 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2699 guiflags = SGF_MULTISTRING
2702 max = ZOOM_LVL_OUT_4X
2703 str = STR_CONFIG_SETTING_ZOOM_MIN
2704 strhelp = STR_CONFIG_SETTING_ZOOM_MIN_HELPTEXT
2705 strval = STR_CONFIG_SETTING_ZOOM_LVL_MIN
2706 proc = ZoomMinMaxChanged
2711 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2712 guiflags = SGF_MULTISTRING
2714 min = ZOOM_LVL_OUT_8X
2716 str = STR_CONFIG_SETTING_ZOOM_MAX
2717 strhelp = STR_CONFIG_SETTING_ZOOM_MAX_HELPTEXT
2718 strval = STR_CONFIG_SETTING_ZOOM_LVL_OUT_2X
2719 proc = ZoomMinMaxChanged
2722 var = gui.population_in_label
2723 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2725 str = STR_CONFIG_SETTING_POPULATION_IN_LABEL
2726 strhelp = STR_CONFIG_SETTING_POPULATION_IN_LABEL_HELPTEXT
2727 proc = PopulationInLabelActive
2730 var = gui.link_terraform_toolbar
2731 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2733 str = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR
2734 strhelp = STR_CONFIG_SETTING_LINK_TERRAFORM_TOOLBAR_HELPTEXT
2737 var = gui.smallmap_land_colour
2739 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2740 guiflags = SGF_MULTISTRING
2744 str = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR
2745 strhelp = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_HELPTEXT
2746 strval = STR_CONFIG_SETTING_SMALLMAP_LAND_COLOUR_GREEN
2747 proc = RedrawSmallmap
2752 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2753 guiflags = SGF_MULTISTRING
2757 str = STR_CONFIG_SETTING_LIVERIES
2758 strhelp = STR_CONFIG_SETTING_LIVERIES_HELPTEXT
2759 strval = STR_CONFIG_SETTING_LIVERIES_NONE
2760 proc = InvalidateCompanyLiveryWindow
2763 var = gui.prefer_teamchat
2764 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2766 str = STR_CONFIG_SETTING_PREFER_TEAMCHAT
2767 strhelp = STR_CONFIG_SETTING_PREFER_TEAMCHAT_HELPTEXT
2771 var = gui.scrollwheel_scrolling
2773 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2774 guiflags = SGF_MULTISTRING
2778 str = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING
2779 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_SCROLLING_HELPTEXT
2780 strval = STR_CONFIG_SETTING_SCROLLWHEEL_ZOOM
2784 var = gui.scrollwheel_multiplier
2786 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2791 str = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER
2792 strhelp = STR_CONFIG_SETTING_SCROLLWHEEL_MULTIPLIER_HELPTEXT
2793 strval = STR_JUST_COMMA
2797 var = gui.pause_on_newgame
2798 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2800 str = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME
2801 strhelp = STR_CONFIG_SETTING_PAUSE_ON_NEW_GAME_HELPTEXT
2805 var = gui.advanced_vehicle_list
2807 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2808 guiflags = SGF_MULTISTRING
2812 str = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS
2813 strhelp = STR_CONFIG_SETTING_ADVANCED_VEHICLE_LISTS_HELPTEXT
2814 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2817 var = gui.timetable_in_ticks
2818 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2820 str = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS
2821 strhelp = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS_HELPTEXT
2822 proc = InvalidateVehTimetableWindow
2826 var = gui.timetable_arrival_departure
2827 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2829 str = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE
2830 strhelp = STR_CONFIG_SETTING_TIMETABLE_SHOW_ARRIVAL_DEPARTURE_HELPTEXT
2831 proc = InvalidateVehTimetableWindow
2834 var = gui.quick_goto
2835 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2837 str = STR_CONFIG_SETTING_QUICKGOTO
2838 strhelp = STR_CONFIG_SETTING_QUICKGOTO_HELPTEXT
2842 var = gui.loading_indicators
2844 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2845 guiflags = SGF_MULTISTRING
2849 str = STR_CONFIG_SETTING_LOADING_INDICATORS
2850 strhelp = STR_CONFIG_SETTING_LOADING_INDICATORS_HELPTEXT
2851 strval = STR_CONFIG_SETTING_COMPANIES_OFF
2856 var = gui.default_rail_type
2858 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2859 guiflags = SGF_MULTISTRING
2863 str = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE
2864 strhelp = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_HELPTEXT
2865 strval = STR_CONFIG_SETTING_DEFAULT_RAIL_TYPE_FIRST
2869 var = gui.enable_signal_gui
2870 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2872 str = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI
2873 strhelp = STR_CONFIG_SETTING_ENABLE_SIGNAL_GUI_HELPTEXT
2874 proc = CloseSignalGUI
2878 var = gui.coloured_news_year
2880 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2885 str = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR
2886 strhelp = STR_CONFIG_SETTING_COLOURED_NEWS_YEAR_HELPTEXT
2887 strval = STR_JUST_INT
2891 var = gui.drag_signals_density
2893 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2897 str = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY
2898 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_HELPTEXT
2899 strval = STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_VALUE
2900 proc = DragSignalsDensityChanged
2904 var = gui.drag_signals_fixed_distance
2905 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2907 str = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE
2908 strhelp = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE_HELPTEXT
2912 var = gui.semaphore_build_before
2914 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2919 str = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE
2920 strhelp = STR_CONFIG_SETTING_SEMAPHORE_BUILD_BEFORE_DATE_HELPTEXT
2921 strval = STR_JUST_INT
2922 proc = ResetSignalVariant
2925 var = gui.vehicle_income_warn
2926 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2928 str = STR_CONFIG_SETTING_WARN_INCOME_LESS
2929 strhelp = STR_CONFIG_SETTING_WARN_INCOME_LESS_HELPTEXT
2933 var = gui.order_review_system
2935 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2936 guiflags = SGF_MULTISTRING
2940 str = STR_CONFIG_SETTING_ORDER_REVIEW
2941 strhelp = STR_CONFIG_SETTING_ORDER_REVIEW_HELPTEXT
2942 strval = STR_CONFIG_SETTING_ORDER_REVIEW_OFF
2946 var = gui.lost_vehicle_warn
2947 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2949 str = STR_CONFIG_SETTING_WARN_LOST_VEHICLE
2950 strhelp = STR_CONFIG_SETTING_WARN_LOST_VEHICLE_HELPTEXT
2953 var = gui.disable_unsuitable_building
2954 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2956 str = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING
2957 strhelp = STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING_HELPTEXT
2962 var = gui.new_nonstop
2963 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2965 str = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT
2966 strhelp = STR_CONFIG_SETTING_NONSTOP_BY_DEFAULT_HELPTEXT
2970 var = gui.stop_location
2972 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2973 guiflags = SGF_MULTISTRING
2978 str = STR_CONFIG_SETTING_STOP_LOCATION
2979 strhelp = STR_CONFIG_SETTING_STOP_LOCATION_HELPTEXT
2980 strval = STR_CONFIG_SETTING_STOP_LOCATION_NEAR_END
2984 var = gui.keep_all_autosave
2985 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2989 var = gui.autosave_on_exit
2990 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2995 var = gui.max_num_autosaves
2997 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3004 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3008 var = gui.news_message_timeout
3010 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3016 var = gui.show_track_reservation
3017 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3019 str = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION
3020 strhelp = STR_CONFIG_SETTING_SHOW_TRACK_RESERVATION_HELPTEXT
3025 var = gui.default_signal_type
3027 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3028 guiflags = SGF_MULTISTRING
3033 str = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE
3034 strhelp = STR_CONFIG_SETTING_DEFAULT_SIGNAL_TYPE_HELPTEXT
3035 strval = STR_CONFIG_SETTING_DEFAULT_SIGNAL_NORMAL
3039 var = gui.cycle_signal_types
3041 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3042 guiflags = SGF_MULTISTRING
3047 str = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES
3048 strhelp = STR_CONFIG_SETTING_CYCLE_SIGNAL_TYPES_HELPTEXT
3049 strval = STR_CONFIG_SETTING_CYCLE_SIGNAL_NORMAL
3052 var = gui.station_numtracks
3054 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3060 var = gui.station_platlength
3062 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3069 var = gui.station_dragdrop
3070 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3075 var = gui.station_show_coverage
3076 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3081 var = gui.persistent_buildingtools
3082 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3084 str = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS
3085 strhelp = STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS_HELPTEXT
3089 var = gui.expenses_layout
3090 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3092 str = STR_CONFIG_SETTING_EXPENSES_LAYOUT
3093 strhelp = STR_CONFIG_SETTING_EXPENSES_LAYOUT_HELPTEXT
3097 var = gui.station_gui_group_order
3099 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3106 var = gui.station_gui_sort_by
3108 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3115 var = gui.station_gui_sort_order
3117 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3124 var = gui.missing_strings_threshold
3126 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3133 var = gui.graph_line_thickness
3135 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3139 str = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS
3140 strhelp = STR_CONFIG_SETTING_GRAPH_LINE_THICKNESS_HELPTEXT
3141 strval = STR_JUST_COMMA
3144 ; For the dedicated build we'll enable dates in logs by default.
3147 var = gui.show_date_in_logs
3148 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3153 var = gui.show_date_in_logs
3154 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3158 var = gui.settings_restriction_mode
3160 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3168 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3175 var = gui.newgrf_developer_tools
3176 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3178 proc = InvalidateNewGRFChangeWindows
3182 var = gui.ai_developer_tools
3183 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3185 proc = InvalidateAISettingsWindow
3189 var = gui.scenario_developer
3190 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3192 proc = InvalidateNewGRFChangeWindows
3195 var = gui.newgrf_show_old_versions
3196 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3201 var = gui.newgrf_default_palette
3203 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3204 guiflags = SGF_MULTISTRING
3208 proc = UpdateNewGRFConfigPalette
3212 var = gui.console_backlog_timeout
3214 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3220 var = gui.console_backlog_length
3222 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3228 var = sound.news_ticker
3229 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3231 str = STR_CONFIG_SETTING_SOUND_TICKER
3232 strhelp = STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT
3235 var = sound.news_full
3236 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3238 str = STR_CONFIG_SETTING_SOUND_NEWS
3239 strhelp = STR_CONFIG_SETTING_SOUND_NEWS_HELPTEXT
3242 var = sound.new_year
3243 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3245 str = STR_CONFIG_SETTING_SOUND_NEW_YEAR
3246 strhelp = STR_CONFIG_SETTING_SOUND_NEW_YEAR_HELPTEXT
3250 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3252 str = STR_CONFIG_SETTING_SOUND_CONFIRM
3253 strhelp = STR_CONFIG_SETTING_SOUND_CONFIRM_HELPTEXT
3256 var = sound.click_beep
3257 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3259 str = STR_CONFIG_SETTING_SOUND_CLICK
3260 strhelp = STR_CONFIG_SETTING_SOUND_CLICK_HELPTEXT
3263 var = sound.disaster
3264 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3266 str = STR_CONFIG_SETTING_SOUND_DISASTER
3267 strhelp = STR_CONFIG_SETTING_SOUND_DISASTER_HELPTEXT
3271 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3273 str = STR_CONFIG_SETTING_SOUND_VEHICLE
3274 strhelp = STR_CONFIG_SETTING_SOUND_VEHICLE_HELPTEXT
3278 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3280 str = STR_CONFIG_SETTING_SOUND_AMBIENT
3281 strhelp = STR_CONFIG_SETTING_SOUND_AMBIENT_HELPTEXT
3284 var = music.playlist
3286 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3294 var = music.music_vol
3296 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3304 var = music.effect_vol
3306 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3314 var = music.custom_1
3316 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3321 var = music.custom_2
3323 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3329 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3335 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3340 var = news_display.arrival_player
3342 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3343 guiflags = SGF_MULTISTRING
3346 full = _news_display
3347 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN
3348 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OWN_HELPTEXT
3349 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3352 var = news_display.arrival_other
3354 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3355 guiflags = SGF_MULTISTRING
3358 full = _news_display
3359 str = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER
3360 strhelp = STR_CONFIG_SETTING_NEWS_ARRIVAL_FIRST_VEHICLE_OTHER_HELPTEXT
3361 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3364 var = news_display.accident
3366 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3367 guiflags = SGF_MULTISTRING
3370 full = _news_display
3371 str = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS
3372 strhelp = STR_CONFIG_SETTING_NEWS_ACCIDENTS_DISASTERS_HELPTEXT
3373 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3376 var = news_display.company_info
3378 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3379 guiflags = SGF_MULTISTRING
3382 full = _news_display
3383 str = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION
3384 strhelp = STR_CONFIG_SETTING_NEWS_COMPANY_INFORMATION_HELPTEXT
3385 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3388 var = news_display.open
3390 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3391 guiflags = SGF_MULTISTRING
3394 full = _news_display
3395 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN
3396 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_OPEN_HELPTEXT
3397 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3400 var = news_display.close
3402 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3403 guiflags = SGF_MULTISTRING
3406 full = _news_display
3407 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE
3408 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CLOSE_HELPTEXT
3409 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3412 var = news_display.economy
3414 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3415 guiflags = SGF_MULTISTRING
3418 full = _news_display
3419 str = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES
3420 strhelp = STR_CONFIG_SETTING_NEWS_ECONOMY_CHANGES_HELPTEXT
3421 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3424 var = news_display.production_player
3426 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3427 guiflags = SGF_MULTISTRING
3430 full = _news_display
3431 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY
3432 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_COMPANY_HELPTEXT
3433 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3436 var = news_display.production_other
3438 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3439 guiflags = SGF_MULTISTRING
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 = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3451 guiflags = SGF_MULTISTRING
3454 full = _news_display
3455 str = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED
3456 strhelp = STR_CONFIG_SETTING_NEWS_INDUSTRY_CHANGES_UNSERVED_HELPTEXT
3457 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3460 var = news_display.advice
3462 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3463 guiflags = SGF_MULTISTRING
3466 full = _news_display
3467 str = STR_CONFIG_SETTING_NEWS_ADVICE
3468 strhelp = STR_CONFIG_SETTING_NEWS_ADVICE_HELPTEXT
3469 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3472 var = news_display.new_vehicles
3474 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3475 guiflags = SGF_MULTISTRING
3478 full = _news_display
3479 str = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES
3480 strhelp = STR_CONFIG_SETTING_NEWS_NEW_VEHICLES_HELPTEXT
3481 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3484 var = news_display.acceptance
3486 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3487 guiflags = SGF_MULTISTRING
3490 full = _news_display
3491 str = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE
3492 strhelp = STR_CONFIG_SETTING_NEWS_CHANGES_ACCEPTANCE_HELPTEXT
3493 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3496 var = news_display.subsidies
3498 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3499 guiflags = SGF_MULTISTRING
3502 full = _news_display
3503 str = STR_CONFIG_SETTING_NEWS_SUBSIDIES
3504 strhelp = STR_CONFIG_SETTING_NEWS_SUBSIDIES_HELPTEXT
3505 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3508 var = news_display.general
3510 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3511 guiflags = SGF_MULTISTRING
3514 full = _news_display
3515 str = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION
3516 strhelp = STR_CONFIG_SETTING_NEWS_GENERAL_INFORMATION_HELPTEXT
3517 strval = STR_CONFIG_SETTING_NEWS_MESSAGES_OFF
3520 ifdef = ENABLE_NETWORK
3521 var = gui.network_chat_box_width_pct
3523 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3530 ifdef = ENABLE_NETWORK
3531 var = gui.network_chat_box_height
3533 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3540 ifdef = ENABLE_NETWORK
3541 var = gui.network_chat_timeout
3543 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3550 ifdef = ENABLE_NETWORK
3551 var = network.sync_freq
3553 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3554 guiflags = SGF_NETWORK_ONLY
3561 ifdef = ENABLE_NETWORK
3562 var = network.frame_freq
3564 flags = SLF_NOT_IN_SAVE | SLF_NOT_IN_CONFIG | SLF_NO_NETWORK_SYNC
3565 guiflags = SGF_NETWORK_ONLY
3572 ifdef = ENABLE_NETWORK
3573 var = network.commands_per_frame
3575 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3576 guiflags = SGF_NETWORK_ONLY
3583 ifdef = ENABLE_NETWORK
3584 var = network.max_commands_in_queue
3586 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3587 guiflags = SGF_NETWORK_ONLY
3594 ifdef = ENABLE_NETWORK
3595 var = network.bytes_per_frame
3597 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3598 guiflags = SGF_NETWORK_ONLY
3605 ifdef = ENABLE_NETWORK
3606 var = network.bytes_per_frame_burst
3608 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3609 guiflags = SGF_NETWORK_ONLY
3616 ifdef = ENABLE_NETWORK
3617 var = network.max_init_time
3619 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3620 guiflags = SGF_NETWORK_ONLY
3627 ifdef = ENABLE_NETWORK
3628 var = network.max_join_time
3630 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3631 guiflags = SGF_NETWORK_ONLY
3637 ifdef = ENABLE_NETWORK
3638 var = network.max_download_time
3640 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3641 guiflags = SGF_NETWORK_ONLY
3647 ifdef = ENABLE_NETWORK
3648 var = network.max_password_time
3650 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3651 guiflags = SGF_NETWORK_ONLY
3657 ifdef = ENABLE_NETWORK
3658 var = network.max_lag_time
3660 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3661 guiflags = SGF_NETWORK_ONLY
3667 ifdef = ENABLE_NETWORK
3668 var = network.pause_on_join
3669 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3670 guiflags = SGF_NETWORK_ONLY
3674 ifdef = ENABLE_NETWORK
3675 var = network.server_port
3677 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3678 guiflags = SGF_NETWORK_ONLY
3679 def = NETWORK_DEFAULT_PORT
3685 ifdef = ENABLE_NETWORK
3686 var = network.server_admin_port
3688 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3689 guiflags = SGF_NETWORK_ONLY
3690 def = NETWORK_ADMIN_PORT
3696 ifdef = ENABLE_NETWORK
3697 var = network.server_admin_chat
3698 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3699 guiflags = SGF_NETWORK_ONLY
3704 ifdef = ENABLE_NETWORK
3705 var = network.server_advertise
3706 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3707 guiflags = SGF_NETWORK_ONLY
3711 ifdef = ENABLE_NETWORK
3712 var = network.lan_internet
3714 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3715 guiflags = SGF_NETWORK_ONLY
3721 ifdef = ENABLE_NETWORK
3722 var = network.client_name
3724 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3726 proc = UpdateClientName
3730 ifdef = ENABLE_NETWORK
3731 var = network.server_password
3733 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3734 guiflags = SGF_NETWORK_ONLY
3736 proc = UpdateServerPassword
3740 ifdef = ENABLE_NETWORK
3741 var = network.rcon_password
3743 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3744 guiflags = SGF_NETWORK_ONLY
3746 proc = UpdateRconPassword
3750 ifdef = ENABLE_NETWORK
3751 var = network.admin_password
3753 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3754 guiflags = SGF_NETWORK_ONLY
3759 ifdef = ENABLE_NETWORK
3760 var = network.default_company_pass
3762 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3766 ifdef = ENABLE_NETWORK
3767 var = network.server_name
3769 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3770 guiflags = SGF_NETWORK_ONLY
3775 ifdef = ENABLE_NETWORK
3776 var = network.connect_to_ip
3778 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3782 ifdef = ENABLE_NETWORK
3783 var = network.network_id
3785 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3786 guiflags = SGF_NETWORK_ONLY
3790 ifdef = ENABLE_NETWORK
3791 var = network.autoclean_companies
3792 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3793 guiflags = SGF_NETWORK_ONLY
3797 ifdef = ENABLE_NETWORK
3798 var = network.autoclean_unprotected
3800 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3801 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3807 ifdef = ENABLE_NETWORK
3808 var = network.autoclean_protected
3810 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3811 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3817 ifdef = ENABLE_NETWORK
3818 var = network.autoclean_novehicles
3820 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3821 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3827 ifdef = ENABLE_NETWORK
3828 var = network.max_companies
3830 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3831 guiflags = SGF_NETWORK_ONLY
3835 proc = UpdateClientConfigValues
3839 ifdef = ENABLE_NETWORK
3840 var = network.max_clients
3842 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3843 guiflags = SGF_NETWORK_ONLY
3850 ifdef = ENABLE_NETWORK
3851 var = network.max_spectators
3853 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3854 guiflags = SGF_NETWORK_ONLY
3858 proc = UpdateClientConfigValues
3862 ifdef = ENABLE_NETWORK
3863 var = network.restart_game_year
3865 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3866 guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
3873 ifdef = ENABLE_NETWORK
3874 var = network.min_active_clients
3876 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3877 guiflags = SGF_NETWORK_ONLY
3883 ifdef = ENABLE_NETWORK
3884 var = network.server_lang
3886 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3887 guiflags = SGF_NETWORK_ONLY
3890 full = _server_langs
3894 ifdef = ENABLE_NETWORK
3895 var = network.reload_cfg
3896 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3897 guiflags = SGF_NETWORK_ONLY
3902 ifdef = ENABLE_NETWORK
3903 var = network.last_host
3905 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3910 ifdef = ENABLE_NETWORK
3911 var = network.last_port
3913 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3920 ifdef = ENABLE_NETWORK
3921 var = network.no_http_content_downloads
3922 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3926 ; Since the network code (CmdChangeSetting and friends) use the index in this array to decide
3927 ; which setting the server is talking about all conditional compilation of this array must be at the
3928 ; end. This isn't really the best solution, the settings the server can tell the client about should
3929 ; either use a seperate array or some other form of identifier.
3932 ; We might need to emulate a right mouse button on mac
3935 var = gui.right_mouse_btn_emulation
3937 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
3938 guiflags = SGF_MULTISTRING
3942 str = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU
3943 strhelp = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_HELPTEXT
3944 strval = STR_CONFIG_SETTING_RIGHT_MOUSE_BTN_EMU_COMMAND