OpenTTD Source 20260711-master-g3fb3006dff
misc_sl_compat.h
Go to the documentation of this file.
1/*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
9
10#ifndef SAVELOAD_COMPAT_MISC_H
11#define SAVELOAD_COMPAT_MISC_H
12
13#include "../saveload.h"
14
17 SLC_VAR("date"),
18 SLC_VAR("date_fract"),
19 SLC_VAR("tick_counter"),
21 SLC_VAR("age_cargo_skip_counter"),
23 SLC_VAR("cur_tileloop_tile"),
24 SLC_VAR("next_disaster_start"),
26 SLC_VAR("random_state[0]"),
27 SLC_VAR("random_state[1]"),
30 SLC_VAR("company_tick_counter"),
31 SLC_VAR("next_competitor_start"),
32 SLC_VAR("trees_tick_counter"),
33 SLC_VAR("pause_mode"),
35};
36
39 SLC_VAR("date"),
59};
60
63 SLC_VAR("x"),
64 SLC_VAR("y"),
65 SLC_VAR("zoom"),
66};
67
68#endif /* SAVELOAD_COMPAT_MISC_H */
const SaveLoadCompat _date_check_sl_compat[]
Original field order for _date_check_desc.
const SaveLoadCompat _date_sl_compat[]
Original field order for _date_desc.
const SaveLoadCompat _view_sl_compat[]
Original field order for _view_desc.
Functions/types related to saving and loading games.
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1262
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1270
@ LargerTownIterator
Saveload version: 11.0, SVN revision: 2033 Increase size of the town iterator.
Definition saveload.h:54
@ TownTolerancePauseMode
Saveload version: 4.0, SVN revision: 1 Town council tolerance and pause mode.
Definition saveload.h:38
@ UnifyGroundVehicles
Saveload version: 157, SVN revision: 21862 Unify the way ground vehicles are handled (articulated pa...
Definition saveload.h:232
@ MultipleRoadStops
Saveload version: 6.0, SVN revision: 1721 Multi tile road stops, and some map size related fixes.
Definition saveload.h:47
@ NewGRFCustomCargoAging
Saveload version: 162, SVN revision: 22713 NewGRF influence on aging of cargo in vehicles.
Definition saveload.h:238
@ NextCompetitorStartOverflow
Saveload version: 109, SVN revision: 15075 Prevent overflow in the next competitor start counter.
Definition saveload.h:174
@ LargerTownCounter
Saveload version: 10.0, SVN revision: 2030 Increase size of the town counter.
Definition saveload.h:53
@ CompanyServiceIntervals
Saveload version: 120, SVN revision: 16439 Make service intervals configurable per company.
Definition saveload.h:188
@ MoreAirportBlocks
Saveload version: 46, SVN revision: 8705 Increase number of blocks an airport can have.
Definition saveload.h:99
@ MinVersion
First savegame version.
Definition saveload.h:31
@ MaxVersion
Highest possible saveload version.
Definition saveload.h:421
SaveLoad information for backwards compatibility.
Definition saveload.h:807