liblcf
Loading...
Searching...
No Matches
rpg_eventcommand.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_EVENTCOMMAND_H
13#define LCF_RPG_EVENTCOMMAND_H
14
15// Headers
16#include <stdint.h>
17#include <string>
18#include <vector>
19#include "enum_tags.h"
20
24namespace RPG {
26 public:
27 struct Code {
28 enum Index {
29 END = 10,
31 ForceFlee = 1006,
36 ExitGame = 5002,
40 ShowMessage = 10110,
43 ShowChoice = 10140,
44 InputNumber = 10150,
46 ControlVars = 10220,
48 ChangeGold = 10310,
49 ChangeItems = 10320,
51 ChangeExp = 10410,
52 ChangeLevel = 10420,
54 ChangeSkills = 10440,
56 ChangeHP = 10460,
57 ChangeSP = 10470,
59 FullHeal = 10490,
71 OpenShop = 10720,
72 ShowInn = 10730,
74 Teleport = 10810,
82 StoreEventID = 10920,
83 EraseScreen = 11010,
84 ShowScreen = 11020,
85 TintScreen = 11030,
86 FlashScreen = 11040,
87 ShakeScreen = 11050,
88 PanScreen = 11060,
90 ShowPicture = 11110,
91 MovePicture = 11120,
92 ErasePicture = 11130,
95 FlashSprite = 11320,
96 MoveEvent = 11330,
99 Wait = 11410,
100 PlayBGM = 11510,
101 FadeOutBGM = 11520,
102 MemorizeBGM = 11530,
104 PlaySound = 11550,
105 PlayMovie = 11560,
108 ChangePBG = 11720,
120 Label = 12110,
121 JumpToLabel = 12120,
122 Loop = 12210,
123 BreakLoop = 12220,
125 EraseEvent = 12320,
126 CallEvent = 12330,
127 Comment = 12410,
128 GameOver = 12420,
144 EndBattle = 20713,
145 Transaction = 20720,
147 EndShop = 20722,
148 Stay = 20730,
149 NoStay = 20731,
150 EndInn = 20732,
151 ElseBranch = 22010,
152 EndBranch = 22011,
153 EndLoop = 22210,
154 Comment_2 = 22410,
156 EndBranch_B = 23311,
173 };
174 };
175
176 int32_t code = 0;
177 int32_t indent = 0;
178 std::string string;
179 std::vector<int32_t> parameters;
180 };
181
182 inline bool operator==(const EventCommand& l, const EventCommand& r) {
183 return l.code == r.code
184 && l.indent == r.indent
185 && l.string == r.string
186 && l.parameters == r.parameters;
187 }
188
189 inline bool operator!=(const EventCommand& l, const EventCommand& r) {
190 return !(l == r);
191 }
192}
193
194#endif
std::vector< int32_t > parameters
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