liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
lsd_save.cpp
Go to the documentation of this file.
1 /* !!!! GENERATED FILE - DO NOT EDIT !!!! */
2 
3 /*
4  * Copyright (c) 2014 liblcf authors
5  * This file is released under the MIT License
6  * http://opensource.org/licenses/MIT
7  */
8 
9 // Headers
10 #include "lsd_reader.h"
11 #include "lsd_chunks.h"
12 #include "reader_struct.h"
13 
14 // Read Save.
15 
16 #define LCF_CHUNK_SUFFIX LSD_Reader
17 #define LCF_CURRENT_STRUCT Save
18 
20  LCF_STRUCT_TYPED_FIELD(RPG::SaveTitle, title),
21  LCF_STRUCT_TYPED_FIELD(RPG::SaveSystem, system),
22  LCF_STRUCT_TYPED_FIELD(RPG::SaveScreen, screen),
23  LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SavePicture>, pictures),
24  LCF_STRUCT_TYPED_FIELD(RPG::SavePartyLocation, party_location),
25  LCF_STRUCT_TYPED_FIELD(RPG::SaveVehicleLocation, boat_location),
26  LCF_STRUCT_TYPED_FIELD(RPG::SaveVehicleLocation, ship_location),
27  LCF_STRUCT_TYPED_FIELD(RPG::SaveVehicleLocation, airship_location),
28  LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SaveActor>, actors),
29  LCF_STRUCT_TYPED_FIELD(RPG::SaveInventory, inventory),
30  LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SaveTarget>, targets),
31  LCF_STRUCT_TYPED_FIELD(RPG::SaveMapInfo, map_info),
32  LCF_STRUCT_TYPED_FIELD(int, unknown_70),
33  LCF_STRUCT_TYPED_FIELD(RPG::SaveEvents, events),
34  LCF_STRUCT_TYPED_FIELD(std::vector<RPG::SaveCommonEvent>, common_events),
36 
37 #undef LCF_CURRENT_STRUCT
38 #undef LCF_CHUNK_SUFFIX
RPG::System & system
Definition: data.cpp:28
STL namespace.
#define LCF_STRUCT_FIELDS_BEGIN()
LCF_STRUCT_TYPED_FIELD(RPG::SaveTitle, title)
Definition: rpg_actor.h:23
#define LCF_STRUCT_FIELDS_END()
std::vector< RPG::Actor > & actors
Definition: data.cpp:13