OpenTTD Source  20241111-master-gce64d5f5d9
group_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 <http://www.gnu.org/licenses/>.
6  */
7 
10 #ifndef SAVELOAD_COMPAT_GROUP_H
11 #define SAVELOAD_COMPAT_GROUP_H
12 
13 #include "../saveload.h"
14 
17  SLC_VAR("name"),
19  SLC_VAR("owner"),
20  SLC_VAR("vehicle_type"),
21  SLC_VAR("flags"),
22  SLC_VAR("livery.in_use"),
23  SLC_VAR("livery.colour1"),
24  SLC_VAR("livery.colour2"),
25  SLC_VAR("parent"),
26 };
27 
28 #endif /* SAVELOAD_COMPAT_GROUP_H */
const SaveLoadCompat _group_sl_compat[]
Original field order for _group_desc.
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1211
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1219
@ SLV_164
164 23290
Definition: saveload.h:239
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31
SaveLoad information for backwards compatibility.
Definition: saveload.h:731