liblcf
rpg_saveeventexecstate.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_SAVEEVENTEXECSTATE_H
13 #define LCF_RPG_SAVEEVENTEXECSTATE_H
14 
15 // Headers
16 #include <stdint.h>
17 #include <vector>
18 #include "rpg_saveeventexecframe.h"
19 
23 namespace RPG {
25  public:
26  std::vector<SaveEventExecFrame> stack;
27  bool show_message = false;
28  bool abort_on_escape = false;
29  bool wait_movement = false;
30  bool keyinput_wait = false;
31  uint8_t keyinput_variable = 0;
33  bool keyinput_decision = false;
34  bool keyinput_cancel = false;
38  bool keyinput_2kright = false;
39  bool keyinput_2kup = false;
40  int32_t wait_time = 0;
42  bool keyinput_2k3down = false;
43  bool keyinput_2k3left = false;
44  bool keyinput_2k3right = false;
45  bool keyinput_2k3up = false;
46  bool keyinput_timed = false;
47  bool wait_key_enter = false;
48  };
49 
50  inline bool operator==(const SaveEventExecState& l, const SaveEventExecState& r) {
51  return l.stack == r.stack
52  && l.show_message == r.show_message
65  && l.wait_time == r.wait_time
73  }
74 
75  inline bool operator!=(const SaveEventExecState& l, const SaveEventExecState& r) {
76  return !(l == r);
77  }
78 }
79 
80 #endif
std::vector< SaveEventExecFrame > stack
bool operator==(const Actor &l, const Actor &r)
Definition: rpg_actor.h:64
Definition: rpg_actor.h:26
bool operator!=(const Actor &l, const Actor &r)
Definition: rpg_actor.h:98