liblcf
ldb_chipset.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 Chipset.
18 
19 template <>
20 char const* const Struct<RPG::Chipset>::name = "Chipset";
21 static TypedField<RPG::Chipset, std::string> static_name(
24  "name",
25  0,
26  0
27 );
28 static TypedField<RPG::Chipset, std::string> static_chipset_name(
31  "chipset_name",
32  0,
33  0
34 );
35 static TypedField<RPG::Chipset, std::vector<int16_t>> static_terrain_data(
38  "terrain_data",
39  0,
40  0
41 );
42 static TypedField<RPG::Chipset, std::vector<uint8_t>> static_passable_data_lower(
45  "passable_data_lower",
46  0,
47  0
48 );
49 static TypedField<RPG::Chipset, std::vector<uint8_t>> static_passable_data_upper(
52  "passable_data_upper",
53  0,
54  0
55 );
56 static TypedField<RPG::Chipset, int32_t> static_animation_type(
59  "animation_type",
60  0,
61  0
62 );
63 static TypedField<RPG::Chipset, int32_t> static_animation_speed(
66  "animation_speed",
67  0,
68  0
69 );
70 
71 
72 template <>
74  &static_name,
75  &static_chipset_name,
76  &static_terrain_data,
77  &static_passable_data_lower,
78  &static_passable_data_upper,
79  &static_animation_type,
80  &static_animation_speed,
81  NULL
82 };
83 
84 template class Struct<RPG::Chipset>;
std::string chipset_name
Definition: rpg_chipset.h:40
std::vector< uint8_t > passable_data_upper
Definition: rpg_chipset.h:43
std::vector< int16_t > terrain_data
Definition: rpg_chipset.h:41
int32_t animation_speed
Definition: rpg_chipset.h:45
std::string name
Definition: rpg_chipset.h:39
std::vector< uint8_t > passable_data_lower
Definition: rpg_chipset.h:42
int32_t animation_type
Definition: rpg_chipset.h:44