-
Notifications
You must be signed in to change notification settings - Fork 51
/
lsd_save.cpp
41 lines (36 loc) · 1.55 KB
/
lsd_save.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2017 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code.
*/
// Headers
#include "lsd_reader.h"
#include "lsd_chunks.h"
#include "reader_struct.h"
// Read Save.
#define LCF_CHUNK_SUFFIX LSD_Reader
#define LCF_CURRENT_STRUCT Save
LCF_STRUCT_FIELDS_BEGIN()
LCF_STRUCT_TYPED_FIELD(RPG::SaveTitle, title),
LCF_STRUCT_TYPED_FIELD(RPG::SaveSystem, system),
LCF_STRUCT_TYPED_FIELD(RPG::SaveScreen, screen),
LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SavePicture>, pictures),
LCF_STRUCT_TYPED_FIELD(RPG::SavePartyLocation, party_location),
LCF_STRUCT_TYPED_FIELD(RPG::SaveVehicleLocation, boat_location),
LCF_STRUCT_TYPED_FIELD(RPG::SaveVehicleLocation, ship_location),
LCF_STRUCT_TYPED_FIELD(RPG::SaveVehicleLocation, airship_location),
LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SaveActor>, actors),
LCF_STRUCT_TYPED_FIELD(RPG::SaveInventory, inventory),
LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SaveTarget>, targets),
LCF_STRUCT_TYPED_FIELD(RPG::SaveMapInfo, map_info),
LCF_STRUCT_TYPED_FIELD(int32_t, panorama_data),
LCF_STRUCT_TYPED_FIELD(RPG::SaveEventData, events),
LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SaveCommonEvent>, common_events),
LCF_STRUCT_FIELDS_END()
#undef LCF_CURRENT_STRUCT
#undef LCF_CHUNK_SUFFIX