OpenTTD Source  20240919-master-gdf0233f4c2
story_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_STORE_H
11 #define SAVELOAD_COMPAT_STORE_H
12 
13 #include "../saveload.h"
14 
17  SLC_VAR("sort_value"),
18  SLC_VAR("page"),
19  SLC_VAR("type"),
20  SLC_VAR("referenced_id"),
21  SLC_VAR("text"),
22 };
23 
26  SLC_VAR("sort_value"),
27  SLC_VAR("date"),
28  SLC_VAR("company"),
29  SLC_VAR("title"),
30 };
31 
32 #endif /* SAVELOAD_COMPAT_STORE_H */
SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1207
_story_pages_sl_compat
const SaveLoadCompat _story_pages_sl_compat[]
Original field order for _story_pages_desc.
Definition: story_sl_compat.h:25
_story_page_elements_sl_compat
const SaveLoadCompat _story_page_elements_sl_compat[]
Original field order for _story_page_elements_desc.
Definition: story_sl_compat.h:16
SaveLoadCompat
SaveLoad information for backwards compatibility.
Definition: saveload.h:727