-
Notifications
You must be signed in to change notification settings - Fork 51
/
ldb_chipset.cpp
33 lines (28 loc) · 1.07 KB
/
ldb_chipset.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
/* !!!! 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 "ldb_reader.h"
#include "ldb_chunks.h"
#include "reader_struct.h"
// Read Chipset.
#define LCF_CHUNK_SUFFIX LDB_Reader
#define LCF_CURRENT_STRUCT Chipset
LCF_STRUCT_FIELDS_BEGIN()
LCF_STRUCT_TYPED_FIELD(std::string, name),
LCF_STRUCT_TYPED_FIELD(std::string, chipset_name),
LCF_STRUCT_TYPED_FIELD(std::vector<int16_t>, terrain_data),
LCF_STRUCT_TYPED_FIELD(std::vector<uint8_t>, passable_data_lower),
LCF_STRUCT_TYPED_FIELD(std::vector<uint8_t>, passable_data_upper),
LCF_STRUCT_TYPED_FIELD(int32_t, animation_type),
LCF_STRUCT_TYPED_FIELD(int32_t, animation_speed),
LCF_STRUCT_FIELDS_END()
#undef LCF_CURRENT_STRUCT
#undef LCF_CHUNK_SUFFIX