liblcf
Loading...
Searching...
No Matches
rpg_savescreen.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_SAVESCREEN_H
13#define LCF_RPG_SAVESCREEN_H
14
15// Headers
16#include <stdint.h>
17
21namespace RPG {
22 class SaveScreen {
23 public:
24 int32_t tint_finish_red = 100;
25 int32_t tint_finish_green = 100;
26 int32_t tint_finish_blue = 100;
27 int32_t tint_finish_sat = 100;
28 double tint_current_red = 100.0;
29 double tint_current_green = 100.0;
30 double tint_current_blue = 100.0;
31 double tint_current_sat = 100.0;
32 int32_t tint_time_left = 0;
33 bool flash_continuous = false;
34 int32_t flash_red = 0;
35 int32_t flash_green = 0;
36 int32_t flash_blue = 0;
37 double flash_current_level = 0.0;
38 int32_t flash_time_left = 0;
39 bool shake_continuous = false;
40 int32_t shake_strength = 0;
41 int32_t shake_speed = 0;
42 int32_t shake_position = 0;
43 int32_t shake_position_y = 0;
44 int32_t shake_time_left = 0;
45 int32_t pan_x = 0;
46 int32_t pan_y = 0;
47 int32_t battleanim_id = 0;
48 int32_t battleanim_target = 0;
49 int32_t battleanim_frame = 0;
50 bool battleanim_active = false;
51 bool battleanim_global = false;
52 int32_t weather = 0;
53 int32_t weather_strength = 0;
54 };
55
56 inline bool operator==(const SaveScreen& l, const SaveScreen& r) {
67 && l.flash_red == r.flash_red
68 && l.flash_green == r.flash_green
69 && l.flash_blue == r.flash_blue
74 && l.shake_speed == r.shake_speed
78 && l.pan_x == r.pan_x
79 && l.pan_y == r.pan_y
85 && l.weather == r.weather
87 }
88
89 inline bool operator!=(const SaveScreen& l, const SaveScreen& r) {
90 return !(l == r);
91 }
92}
93
94#endif
int32_t tint_time_left
double tint_current_green
double tint_current_blue
double tint_current_red
int32_t weather_strength
int32_t battleanim_id
double flash_current_level
int32_t shake_time_left
int32_t tint_finish_green
int32_t shake_strength
int32_t battleanim_frame
int32_t tint_finish_red
int32_t shake_position
int32_t flash_time_left
int32_t tint_finish_blue
int32_t shake_position_y
int32_t tint_finish_sat
double tint_current_sat
int32_t battleanim_target
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