liblcf
Toggle main menu visibility
Loading...
Searching...
No Matches
rpg_terrain.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) 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 "lcf/rpg/terrain.h"
14
15
namespace
lcf
{
16
namespace
rpg
{
17
18
std::ostream&
operator<<
(std::ostream& os,
const
Terrain::Flags& obj) {
19
for
(
size_t
i = 0; i < obj.flags.size(); ++i) {
20
os << (i == 0 ?
"["
:
", "
) << obj.flags[i];
21
}
22
os <<
"]"
;
23
return
os;
24
}
25
26
std::ostream&
operator<<
(std::ostream& os,
const
Terrain& obj) {
27
os <<
"Terrain{"
;
28
os <<
"name="
<< obj.name;
29
os <<
", damage="
<< obj.damage;
30
os <<
", encounter_rate="
<< obj.encounter_rate;
31
os <<
", background_name="
<< obj.background_name;
32
os <<
", boat_pass="
<< obj.boat_pass;
33
os <<
", ship_pass="
<< obj.ship_pass;
34
os <<
", airship_pass="
<< obj.airship_pass;
35
os <<
", airship_land="
<< obj.airship_land;
36
os <<
", bush_depth="
<< obj.bush_depth;
37
os <<
", footstep="
<< obj.footstep;
38
os <<
", on_damage_se="
<< obj.on_damage_se;
39
os <<
", background_type="
<< obj.background_type;
40
os <<
", background_a_name="
<< obj.background_a_name;
41
os <<
", background_a_scrollh="
<< obj.background_a_scrollh;
42
os <<
", background_a_scrollv="
<< obj.background_a_scrollv;
43
os <<
", background_a_scrollh_speed="
<< obj.background_a_scrollh_speed;
44
os <<
", background_a_scrollv_speed="
<< obj.background_a_scrollv_speed;
45
os <<
", background_b="
<< obj.background_b;
46
os <<
", background_b_name="
<< obj.background_b_name;
47
os <<
", background_b_scrollh="
<< obj.background_b_scrollh;
48
os <<
", background_b_scrollv="
<< obj.background_b_scrollv;
49
os <<
", background_b_scrollh_speed="
<< obj.background_b_scrollh_speed;
50
os <<
", background_b_scrollv_speed="
<< obj.background_b_scrollv_speed;
51
os <<
", special_flags="
<< obj.special_flags;
52
os <<
", special_back_party="
<< obj.special_back_party;
53
os <<
", special_back_enemies="
<< obj.special_back_enemies;
54
os <<
", special_lateral_party="
<< obj.special_lateral_party;
55
os <<
", special_lateral_enemies="
<< obj.special_lateral_enemies;
56
os <<
", grid_location="
<< obj.grid_location;
57
os <<
", grid_top_y="
<< obj.grid_top_y;
58
os <<
", grid_elongation="
<< obj.grid_elongation;
59
os <<
", grid_inclination="
<< obj.grid_inclination;
60
os <<
", easyrpg_damage_in_percent="
<< obj.easyrpg_damage_in_percent;
61
os <<
", easyrpg_damage_can_kill="
<< obj.easyrpg_damage_can_kill;
62
os <<
"}"
;
63
return
os;
64
}
65
66
}
// namespace rpg
67
}
// namespace lcf
lcf::rpg
Definition
rpg_actor.cpp:16
lcf::rpg::operator<<
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition
rpg_actor.cpp:18
lcf
Definition
dbarray.cpp:13
src
generated
rpg_terrain.cpp
Generated on
for liblcf by
1.17.0