-
Notifications
You must be signed in to change notification settings - Fork 51
/
ldb_trooppagecondition_flags.cpp
44 lines (36 loc) · 1.45 KB
/
ldb_trooppagecondition_flags.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
34
35
36
37
38
39
40
41
42
43
/* !!!! 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 TroopPageCondition.
typedef RPG::TroopPageCondition::Flags flags_type;
template <>
char const* const Flags<flags_type>::name("TroopPageCondition_Flags");
template <>
const Flags<flags_type>::Flag* Flags<flags_type>::flags[] = {
new Flags<flags_type>::Flag(&flags_type::switch_a, "switch_a"),
new Flags<flags_type>::Flag(&flags_type::switch_b, "switch_b"),
new Flags<flags_type>::Flag(&flags_type::variable, "variable"),
new Flags<flags_type>::Flag(&flags_type::turn, "turn"),
new Flags<flags_type>::Flag(&flags_type::fatigue, "fatigue"),
new Flags<flags_type>::Flag(&flags_type::enemy_hp, "enemy_hp"),
new Flags<flags_type>::Flag(&flags_type::actor_hp, "actor_hp"),
new Flags<flags_type>::Flag(&flags_type::turn_enemy, "turn_enemy"),
new Flags<flags_type>::Flag(&flags_type::turn_actor, "turn_actor"),
new Flags<flags_type>::Flag(&flags_type::command_actor, "command_actor"),
NULL
};
template <>
const uint32_t Flags<flags_type>::max_size = 2;