liblcf
Loading...
Searching...
No Matches
rpg_animationcelldata.h
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#ifndef LCF_RPG_ANIMATIONCELLDATA_H
13#define LCF_RPG_ANIMATIONCELLDATA_H
14
15// Headers
16#include <stdint.h>
17
21namespace RPG {
23 public:
24 int ID = 0;
25 int32_t valid = 1;
26 int32_t cell_id = 0;
27 int32_t x = 0;
28 int32_t y = 0;
29 int32_t zoom = 100;
30 int32_t tone_red = 100;
31 int32_t tone_green = 100;
32 int32_t tone_blue = 100;
33 int32_t tone_gray = 100;
34 int32_t transparency = 0;
35 };
36
37 inline bool operator==(const AnimationCellData& l, const AnimationCellData& r) {
38 return l.valid == r.valid
39 && l.cell_id == r.cell_id
40 && l.x == r.x
41 && l.y == r.y
42 && l.zoom == r.zoom
43 && l.tone_red == r.tone_red
44 && l.tone_green == r.tone_green
45 && l.tone_blue == r.tone_blue
46 && l.tone_gray == r.tone_gray
47 && l.transparency == r.transparency;
48 }
49
50 inline bool operator!=(const AnimationCellData& l, const AnimationCellData& r) {
51 return !(l == r);
52 }
53}
54
55#endif
Definition: rpg_actor.h:26
bool operator==(const Actor &l, const Actor &r)
Definition: rpg_actor.h:64
bool operator!=(const Actor &l, const Actor &r)
Definition: rpg_actor.h:98