liblcf
ldb_battlecommands.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 BattleCommands.
18 
19 template <>
20 char const* const Struct<RPG::BattleCommands>::name = "BattleCommands";
21 static TypedField<RPG::BattleCommands, int32_t> static_placement(
24  "placement",
25  0,
26  0
27 );
28 static TypedField<RPG::BattleCommands, bool> static_death_handler_unused(
31  "death_handler_unused",
32  0,
33  1
34 );
38  "row",
39  0,
40  0
41 );
42 static TypedField<RPG::BattleCommands, int32_t> static_battle_type(
45  "battle_type",
46  0,
47  0
48 );
49 static TypedField<RPG::BattleCommands, bool> static_unused_display_normal_parameters(
52  "unused_display_normal_parameters",
53  0,
54  0
55 );
59  "commands",
60  1,
61  0
62 );
63 static TypedField<RPG::BattleCommands, bool> static_death_handler(
66  "death_handler",
67  0,
68  1
69 );
70 static TypedField<RPG::BattleCommands, int32_t> static_death_event(
73  "death_event",
74  0,
75  0
76 );
77 static TypedField<RPG::BattleCommands, int32_t> static_window_size(
80  "window_size",
81  0,
82  0
83 );
84 static TypedField<RPG::BattleCommands, int32_t> static_transparency(
87  "transparency",
88  0,
89  0
90 );
91 static TypedField<RPG::BattleCommands, bool> static_death_teleport(
94  "death_teleport",
95  0,
96  0
97 );
98 static TypedField<RPG::BattleCommands, int32_t> static_death_teleport_id(
101  "death_teleport_id",
102  0,
103  0
104 );
105 static TypedField<RPG::BattleCommands, int32_t> static_death_teleport_x(
108  "death_teleport_x",
109  0,
110  0
111 );
112 static TypedField<RPG::BattleCommands, int32_t> static_death_teleport_y(
115  "death_teleport_y",
116  0,
117  0
118 );
119 static TypedField<RPG::BattleCommands, int32_t> static_death_teleport_face(
122  "death_teleport_face",
123  0,
124  0
125 );
126 
127 
128 template <>
130  &static_placement,
131  &static_death_handler_unused,
132  &static_row,
133  &static_battle_type,
134  &static_unused_display_normal_parameters,
135  &static_commands,
136  &static_death_handler,
137  &static_death_event,
138  &static_window_size,
139  &static_transparency,
140  &static_death_teleport,
141  &static_death_teleport_id,
142  &static_death_teleport_x,
143  &static_death_teleport_y,
144  &static_death_teleport_face,
145  NULL
146 };
147 
148 template class Struct<RPG::BattleCommands>;
RPG::BattleCommands::unused_display_normal_parameters
bool unused_display_normal_parameters
Definition: rpg_battlecommands.h:88
LDB_Reader::ChunkBattleCommands::death_teleport_face
@ death_teleport_face
Definition: ldb_chunks.h:234
LDB_Reader::ChunkBattleCommands::death_teleport_id
@ death_teleport_id
Definition: ldb_chunks.h:228
RPG::BattleCommands::battle_type
int32_t battle_type
Definition: rpg_battlecommands.h:87
ldb_chunks.h
RPG::BattleCommands::death_teleport_id
int32_t death_teleport_id
Definition: rpg_battlecommands.h:95
RPG::BattleCommands::death_handler
bool death_handler
Definition: rpg_battlecommands.h:90
RPG::BattleCommands::commands
std::vector< BattleCommand > commands
Definition: rpg_battlecommands.h:89
LDB_Reader::ChunkBattleCommands::window_size
@ window_size
Definition: ldb_chunks.h:222
LDB_Reader::ChunkBattleCommands::death_handler
@ death_handler
Definition: ldb_chunks.h:218
RPG::BattleCommands::death_teleport_y
int32_t death_teleport_y
Definition: rpg_battlecommands.h:97
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
Struct
Definition: reader_struct.h:43
LDB_Reader::ChunkBattleCommands::death_teleport
@ death_teleport
Definition: ldb_chunks.h:226
LDB_Reader::ChunkBattleCommands::death_handler_unused
@ death_handler_unused
Definition: ldb_chunks.h:208
LDB_Reader::ChunkBattleCommands::row
@ row
Definition: ldb_chunks.h:210
RPG::BattleCommands::death_teleport_x
int32_t death_teleport_x
Definition: rpg_battlecommands.h:96
LDB_Reader::ChunkBattleCommands::death_teleport_x
@ death_teleport_x
Definition: ldb_chunks.h:230
RPG::BattleCommands::placement
int32_t placement
Definition: rpg_battlecommands.h:84
RPG::BattleCommands::window_size
int32_t window_size
Definition: rpg_battlecommands.h:92
LDB_Reader::ChunkBattleCommands::placement
@ placement
Definition: ldb_chunks.h:206
LDB_Reader::ChunkBattleCommands::unused_display_normal_parameters
@ unused_display_normal_parameters
Definition: ldb_chunks.h:214
RPG::BattleCommands::death_teleport_face
int32_t death_teleport_face
Definition: rpg_battlecommands.h:98
RPG::BattleCommands::transparency
int32_t transparency
Definition: rpg_battlecommands.h:93
LDB_Reader::ChunkBattleCommands::battle_type
@ battle_type
Definition: ldb_chunks.h:212
RPG::BattleCommands::death_teleport
bool death_teleport
Definition: rpg_battlecommands.h:94
LDB_Reader::ChunkBattleCommands::death_event
@ death_event
Definition: ldb_chunks.h:220
LDB_Reader::ChunkBattleCommands::transparency
@ transparency
Definition: ldb_chunks.h:224
LDB_Reader::ChunkBattleCommands::death_teleport_y
@ death_teleport_y
Definition: ldb_chunks.h:232
RPG::BattleCommands::row
int32_t row
Definition: rpg_battlecommands.h:86
RPG::BattleCommands::death_handler_unused
bool death_handler_unused
Definition: rpg_battlecommands.h:85
reader_struct_impl.h
RPG::BattleCommands::death_event
int32_t death_event
Definition: rpg_battlecommands.h:91
LDB_Reader::ChunkBattleCommands::commands
@ commands
Definition: ldb_chunks.h:216
ldb_reader.h