liblcf
ldb_database.cpp
Go to the documentation of this file.
1 /* !!!! GENERATED FILE - DO NOT EDIT !!!!
2  * --------------------------------------
3  *
4  * This file is part of liblcf. Copyright (c) 2020 liblcf authors.
5  * https://github.com/EasyRPG/liblcf - https://easyrpg.org
6  *
7  * liblcf is Free/Libre Open Source Software, released under the MIT License.
8  * For the full copyright and license information, please view the COPYING
9  * file that was distributed with this source code.
10  */
11 
12 // Headers
13 #include "ldb_reader.h"
14 #include "ldb_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read Database.
18 
19 template <>
20 char const* const Struct<RPG::Database>::name = "Database";
24  "actors",
25  1,
26  0
27 );
31  "skills",
32  1,
33  0
34 );
38  "items",
39  1,
40  0
41 );
45  "enemies",
46  1,
47  0
48 );
52  "troops",
53  1,
54  0
55 );
59  "terrains",
60  1,
61  0
62 );
66  "attributes",
67  1,
68  0
69 );
73  "states",
74  1,
75  0
76 );
80  "animations",
81  1,
82  0
83 );
87  "chipsets",
88  1,
89  0
90 );
91 static TypedField<RPG::Database, RPG::Terms> static_terms(
94  "terms",
95  1,
96  0
97 );
98 static TypedField<RPG::Database, RPG::System> static_system(
101  "system",
102  1,
103  0
104 );
108  "switches",
109  1,
110  0
111 );
115  "variables",
116  1,
117  0
118 );
122  "commonevents",
123  1,
124  0
125 );
129  "version",
130  0,
131  0
132 );
135  "commoneventD2",
136  1,
137  1
138 );
141  "commoneventD3",
142  1,
143  1
144 );
145 static TypedField<RPG::Database, RPG::BattleCommands> static_battlecommands(
148  "battlecommands",
149  1,
150  1
151 );
155  "classes",
156  1,
157  1
158 );
161  "classD1",
162  1,
163  1
164 );
165 static TypedField<RPG::Database, std::vector<RPG::BattlerAnimation>> static_battleranimations(
168  "battleranimations",
169  1,
170  1
171 );
172 
173 
174 template <>
176  &static_actors,
177  &static_skills,
178  &static_items,
179  &static_enemies,
180  &static_troops,
181  &static_terrains,
182  &static_attributes,
183  &static_states,
184  &static_animations,
185  &static_chipsets,
186  &static_terms,
187  &static_system,
188  &static_switches,
189  &static_variables,
190  &static_commonevents,
191  &static_version,
194  &static_battlecommands,
195  &static_classes,
197  &static_battleranimations,
198  NULL
199 };
200 
201 template class Struct<RPG::Database>;
std::vector< Actor > actors
Definition: rpg_database.h:44
std::vector< Class > classes
Definition: rpg_database.h:61
std::vector< Attribute > attributes
Definition: rpg_database.h:50
std::vector< Enemy > enemies
Definition: rpg_database.h:47
std::vector< Chipset > chipsets
Definition: rpg_database.h:53
int32_t version
Definition: rpg_database.h:59
BattleCommands battlecommands
Definition: rpg_database.h:60
std::vector< Animation > animations
Definition: rpg_database.h:52
std::vector< Switch > switches
Definition: rpg_database.h:56
std::vector< Troop > troops
Definition: rpg_database.h:48
std::vector< BattlerAnimation > battleranimations
Definition: rpg_database.h:62
std::vector< State > states
Definition: rpg_database.h:51
std::vector< Terrain > terrains
Definition: rpg_database.h:49
std::vector< CommonEvent > commonevents
Definition: rpg_database.h:58
std::vector< Skill > skills
Definition: rpg_database.h:45
std::vector< Variable > variables
Definition: rpg_database.h:57
std::vector< Item > items
Definition: rpg_database.h:46
static EmptyField< RPG::Database > static_commoneventD3(LDB_Reader::ChunkDatabase::commoneventD3, "commoneventD3", 1, 1)
static EmptyField< RPG::Database > static_commoneventD2(LDB_Reader::ChunkDatabase::commoneventD2, "commoneventD2", 1, 1)
static EmptyField< RPG::Database > static_classD1(LDB_Reader::ChunkDatabase::classD1, "classD1", 1, 1)