10#ifndef SAVELOAD_COMPAT_SETTINGS_H
11#define SAVELOAD_COMPAT_SETTINGS_H
21 SLC_VAR(
"game_creation.town_name"),
22 SLC_VAR(
"game_creation.landscape"),
23 SLC_VAR(
"game_creation.snow_line_height"),
31 SLC_VAR(
"difficulty.max_no_competitors"),
33 SLC_VAR(
"difficulty.number_towns"),
34 SLC_VAR(
"difficulty.industry_density"),
36 SLC_VAR(
"difficulty.initial_interest"),
37 SLC_VAR(
"difficulty.vehicle_costs"),
38 SLC_VAR(
"difficulty.competitor_speed"),
40 SLC_VAR(
"difficulty.vehicle_breakdowns"),
41 SLC_VAR(
"difficulty.subsidy_multiplier"),
42 SLC_VAR(
"difficulty.subsidy_duration"),
43 SLC_VAR(
"difficulty.construction_cost"),
44 SLC_VAR(
"difficulty.terrain_type"),
45 SLC_VAR(
"difficulty.quantity_sea_lakes"),
47 SLC_VAR(
"difficulty.line_reverse_mode"),
48 SLC_VAR(
"difficulty.disasters"),
49 SLC_VAR(
"difficulty.town_council_tolerance"),
51 SLC_VAR(
"game_creation.town_name"),
52 SLC_VAR(
"game_creation.landscape"),
55 SLC_VAR(
"construction.map_height_limit"),
56 SLC_VAR(
"game_creation.heightmap_height"),
57 SLC_VAR(
"construction.build_on_slopes"),
58 SLC_VAR(
"construction.command_pause_level"),
59 SLC_VAR(
"construction.terraform_per_64k_frames"),
60 SLC_VAR(
"construction.terraform_frame_burst"),
61 SLC_VAR(
"construction.clear_per_64k_frames"),
62 SLC_VAR(
"construction.clear_frame_burst"),
63 SLC_VAR(
"construction.tree_per_64k_frames"),
64 SLC_VAR(
"construction.tree_frame_burst"),
65 SLC_VAR(
"construction.autoslope"),
66 SLC_VAR(
"construction.extra_dynamite"),
67 SLC_VAR(
"construction.max_bridge_length"),
68 SLC_VAR(
"construction.max_bridge_height"),
69 SLC_VAR(
"construction.max_tunnel_length"),
71 SLC_VAR(
"construction.train_signal_side"),
72 SLC_VAR(
"station.never_expire_airports"),
74 SLC_VAR(
"economy.allow_town_roads"),
76 SLC_VAR(
"economy.allow_town_level_crossings"),
77 SLC_VAR(
"economy.town_cargogen_mode"),
78 SLC_VAR(
"linkgraph.recalc_interval"),
79 SLC_VAR(
"linkgraph.recalc_time"),
80 SLC_VAR(
"linkgraph.distribution_pax"),
81 SLC_VAR(
"linkgraph.distribution_mail"),
82 SLC_VAR(
"linkgraph.distribution_armoured"),
83 SLC_VAR(
"linkgraph.distribution_default"),
85 SLC_VAR(
"linkgraph.demand_distance"),
86 SLC_VAR(
"linkgraph.demand_size"),
87 SLC_VAR(
"linkgraph.short_path_saturation"),
88 SLC_VAR(
"vehicle.train_acceleration_model"),
89 SLC_VAR(
"vehicle.roadveh_acceleration_model"),
90 SLC_VAR(
"vehicle.train_slope_steepness"),
91 SLC_VAR(
"vehicle.roadveh_slope_steepness"),
93 SLC_VAR(
"vehicle.max_train_length"),
95 SLC_VAR(
"vehicle.smoke_amount"),
101 SLC_VAR(
"vehicle.never_expire_vehicles"),
103 SLC_VAR(
"vehicle.max_roadveh"),
104 SLC_VAR(
"vehicle.max_aircraft"),
106 SLC_VAR(
"vehicle.servint_ispercent"),
107 SLC_VAR(
"vehicle.servint_trains"),
108 SLC_VAR(
"vehicle.servint_roadveh"),
109 SLC_VAR(
"vehicle.servint_ships"),
110 SLC_VAR(
"vehicle.servint_aircraft"),
111 SLC_VAR(
"order.no_servicing_if_no_breakdowns"),
112 SLC_VAR(
"vehicle.wagon_speed_limits"),
113 SLC_VAR(
"vehicle.disable_elrails"),
114 SLC_VAR(
"vehicle.freight_trains"),
116 SLC_VAR(
"vehicle.plane_speed"),
117 SLC_VAR(
"vehicle.dynamic_engines"),
118 SLC_VAR(
"vehicle.plane_crashes"),
120 SLC_VAR(
"gui.sg_full_load_any"),
121 SLC_VAR(
"order.improved_load"),
125 SLC_VAR(
"station.station_spread"),
126 SLC_VAR(
"order.serviceathelipad"),
127 SLC_VAR(
"station.modified_catchment"),
128 SLC_VAR(
"station.serve_neutral_industries"),
129 SLC_VAR(
"order.gradual_loading"),
130 SLC_VAR(
"construction.road_stop_on_town_road"),
131 SLC_VAR(
"construction.road_stop_on_competitor_road"),
133 SLC_VAR(
"economy.station_noise_level"),
134 SLC_VAR(
"station.distant_join_stations"),
136 SLC_VAR(
"construction.raw_industry_construction"),
137 SLC_VAR(
"construction.industry_platform"),
138 SLC_VAR(
"economy.multiple_industry_per_town"),
141 SLC_VAR(
"economy.exclusive_rights"),
142 SLC_VAR(
"economy.fund_buildings"),
145 SLC_VAR(
"game_creation.snow_line_height"),
146 SLC_VAR(
"game_creation.snow_coverage"),
147 SLC_VAR(
"game_creation.desert_coverage"),
149 SLC_VAR(
"game_creation.starting_year"),
151 SLC_VAR(
"game_creation.ending_year"),
155 SLC_VAR(
"economy.feeder_payment_share"),
156 SLC_VAR(
"economy.town_growth_rate"),
157 SLC_VAR(
"economy.larger_towns"),
158 SLC_VAR(
"economy.initial_city_size"),
159 SLC_VAR(
"economy.mod_road_rebuild"),
162 SLC_VAR(
"ai.ai_in_multiplayer"),
163 SLC_VAR(
"ai.ai_disable_veh_train"),
164 SLC_VAR(
"ai.ai_disable_veh_roadveh"),
165 SLC_VAR(
"ai.ai_disable_veh_aircraft"),
166 SLC_VAR(
"ai.ai_disable_veh_ship"),
167 SLC_VAR(
"script.script_max_opcode_till_suspend"),
168 SLC_VAR(
"script.script_max_memory_megabytes"),
169 SLC_VAR(
"vehicle.extend_vehicle_life"),
170 SLC_VAR(
"economy.dist_local_authority"),
171 SLC_VAR(
"pf.reverse_at_signals"),
172 SLC_VAR(
"pf.wait_oneway_signal"),
173 SLC_VAR(
"pf.wait_twoway_signal"),
174 SLC_VAR(
"economy.town_noise_population[0]"),
175 SLC_VAR(
"economy.town_noise_population[1]"),
176 SLC_VAR(
"economy.town_noise_population[2]"),
177 SLC_VAR(
"economy.infrastructure_maintenance"),
178 SLC_VAR(
"pf.wait_for_pbs_path"),
180 SLC_VAR(
"pf.path_backoff_interval"),
189 SLC_VAR(
"pf.yapf.max_search_nodes"),
190 SLC_VAR(
"pf.yapf.rail_firstred_twoway_eol"),
191 SLC_VAR(
"pf.yapf.rail_firstred_penalty"),
192 SLC_VAR(
"pf.yapf.rail_firstred_exit_penalty"),
193 SLC_VAR(
"pf.yapf.rail_lastred_penalty"),
194 SLC_VAR(
"pf.yapf.rail_lastred_exit_penalty"),
195 SLC_VAR(
"pf.yapf.rail_station_penalty"),
196 SLC_VAR(
"pf.yapf.rail_slope_penalty"),
197 SLC_VAR(
"pf.yapf.rail_curve45_penalty"),
198 SLC_VAR(
"pf.yapf.rail_curve90_penalty"),
199 SLC_VAR(
"pf.yapf.rail_depot_reverse_penalty"),
200 SLC_VAR(
"pf.yapf.rail_crossing_penalty"),
201 SLC_VAR(
"pf.yapf.rail_look_ahead_max_signals"),
202 SLC_VAR(
"pf.yapf.rail_look_ahead_signal_p0"),
203 SLC_VAR(
"pf.yapf.rail_look_ahead_signal_p1"),
204 SLC_VAR(
"pf.yapf.rail_look_ahead_signal_p2"),
205 SLC_VAR(
"pf.yapf.rail_pbs_cross_penalty"),
206 SLC_VAR(
"pf.yapf.rail_pbs_station_penalty"),
207 SLC_VAR(
"pf.yapf.rail_pbs_signal_back_penalty"),
208 SLC_VAR(
"pf.yapf.rail_doubleslip_penalty"),
209 SLC_VAR(
"pf.yapf.rail_longer_platform_penalty"),
210 SLC_VAR(
"pf.yapf.rail_longer_platform_per_tile_penalty"),
211 SLC_VAR(
"pf.yapf.rail_shorter_platform_penalty"),
212 SLC_VAR(
"pf.yapf.rail_shorter_platform_per_tile_penalty"),
213 SLC_VAR(
"pf.yapf.road_slope_penalty"),
214 SLC_VAR(
"pf.yapf.road_curve_penalty"),
215 SLC_VAR(
"pf.yapf.road_crossing_penalty"),
216 SLC_VAR(
"pf.yapf.road_stop_penalty"),
217 SLC_VAR(
"pf.yapf.road_stop_occupied_penalty"),
218 SLC_VAR(
"pf.yapf.road_stop_bay_occupied_penalty"),
219 SLC_VAR(
"pf.yapf.maximum_go_to_depot_penalty"),
220 SLC_VAR(
"pf.yapf.ship_curve45_penalty"),
221 SLC_VAR(
"pf.yapf.ship_curve90_penalty"),
222 SLC_VAR(
"game_creation.land_generator"),
223 SLC_VAR(
"game_creation.oil_refinery_limit"),
224 SLC_VAR(
"game_creation.tgen_smoothness"),
225 SLC_VAR(
"game_creation.variety"),
226 SLC_VAR(
"game_creation.generation_seed"),
227 SLC_VAR(
"game_creation.tree_placer"),
228 SLC_VAR(
"construction.freeform_edges"),
229 SLC_VAR(
"game_creation.water_borders"),
230 SLC_VAR(
"game_creation.custom_town_number"),
231 SLC_VAR(
"construction.extra_tree_placement"),
232 SLC_VAR(
"game_creation.custom_terrain_type"),
233 SLC_VAR(
"game_creation.custom_sea_level"),
234 SLC_VAR(
"game_creation.min_river_length"),
235 SLC_VAR(
"game_creation.river_route_random"),
236 SLC_VAR(
"game_creation.amount_of_rivers"),
239 SLC_VAR(
"locale.units_velocity"),
241 SLC_VAR(
"locale.units_weight"),
242 SLC_VAR(
"locale.units_volume"),
244 SLC_VAR(
"locale.units_height"),
245 SLC_VAR(
"locale.digit_group_separator"),
246 SLC_VAR(
"locale.digit_group_separator_currency"),
247 SLC_VAR(
"locale.digit_decimal_separator"),
Functions/types related to saving and loading games.
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
@ MergeOptsPats
Saveload version: 97, SVN revision: 13256 Merge the OPTS and PATS chunks, i.e. all settings in one c...
@ OrderList
Saveload version: 105, SVN revision: 14803 Create separate order list objects for maintaining orders...
@ SavePatches
Saveload version: 22, SVN revision: 3726 Save state of patches (precursor of settings) in the savega...
@ Yapf
Saveload version: 28, SVN revision: 4987 Yet another path finder.
@ MaxLengthAndReverseSignals
Saveload version: 159, SVN revision: 21962 Settings for reversing at signals, and maximum train,...
@ VehicleCentreAndZPos
Saveload version: 164, SVN revision: 23290 Vehicle centres are not fixed at 4/8 of the vehicle; chan...
@ SimplifyPathfinderSettings
Saveload version: 87, SVN revision: 12129 Make it easier to select the pathfinder to use.
@ RoadStopOccupancyPenalty
Saveload version: 130, SVN revision: 18404 Add configurable pathfinder penalty for an occupied road ...
@ MaximumDepotPenalty
Saveload version: 131, SVN revision: 18481 Add configurable maximum pathfinder penalty for finding a...
@ DriveThroughRoadStops
Saveload version: 47, SVN revision: 8735 Drive through road stops.
@ RemoveAutosaveInterval
Saveload version: 23, SVN revision: 3915 Store autosave interval locally, instead of in savegame.
@ RemoveOldPathfinder
Saveload version: 212, GitHub pull request: 7245 Remove OPF.
@ TableChunks
Saveload version: 295, GitHub pull request: 9322 Introduction of ChunkType::Table and ChunkType::Spa...
@ RemoveOldAISettings
Saveload version: 110, SVN revision: 15148 Remove remnants of the old AI's configuration.
@ MinVersion
First savegame version.
@ TradingAge
Saveload version: 217, GitHub pull request: 7780 Configurable company trading age.
@ UniqueDepotNames
Saveload version: 141, SVN revision: 19799 Give depots unique names.
@ Timetables
Saveload version: 67, SVN revision: 10236 Introduce timetables for vehicles.
@ ReorderUnmovableRemoveReserved
Saveload version: 144, SVN revision: 20334 Reorder map bits of unmovable tiles and remove unused res...
@ Yapp
Saveload version: 100, SVN revision: 13952 New version of path based signals.
@ AdjacentStations
Saveload version: 62, SVN revision: 9905 Allow building multiple stations directly next to eachother...
@ ScriptTownGrowth
Saveload version: 165, SVN revision: 23304 Storage of cargo statistics for use by game scripts.
@ NoAI
Saveload version: 107, SVN revision: 15027 Replace built in cheating AI with framework for externall...
@ ScriptSettingsProfile
Saveload version: 178, SVN revision: 24789 Setting for the difficulty profile of AIs.
const SaveLoadCompat _gameopt_sl_compat[]
Original field order for _gameopt.
const SaveLoadCompat _settings_sl_compat[]
Original field order for _settings.
SaveLoad information for backwards compatibility.