liblcf
Loading...
Searching...
No Matches
rpg_start.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_START_H
13#define LCF_RPG_START_H
14
15// Headers
16#include <stdint.h>
17
21namespace RPG {
22 class Start {
23 public:
24 int32_t party_map_id = 0;
25 int32_t party_x = 0;
26 int32_t party_y = 0;
27 int32_t boat_map_id = 0;
28 int32_t boat_x = 0;
29 int32_t boat_y = 0;
30 int32_t ship_map_id = 0;
31 int32_t ship_x = 0;
32 int32_t ship_y = 0;
33 int32_t airship_map_id = 0;
34 int32_t airship_x = 0;
35 int32_t airship_y = 0;
36 };
37
38 inline bool operator==(const Start& l, const Start& r) {
39 return l.party_map_id == r.party_map_id
40 && l.party_x == r.party_x
41 && l.party_y == r.party_y
42 && l.boat_map_id == r.boat_map_id
43 && l.boat_x == r.boat_x
44 && l.boat_y == r.boat_y
45 && l.ship_map_id == r.ship_map_id
46 && l.ship_x == r.ship_x
47 && l.ship_y == r.ship_y
49 && l.airship_x == r.airship_x
50 && l.airship_y == r.airship_y;
51 }
52
53 inline bool operator!=(const Start& l, const Start& r) {
54 return !(l == r);
55 }
56}
57
58#endif
int32_t party_x
Definition: rpg_start.h:25
int32_t ship_y
Definition: rpg_start.h:32
int32_t party_map_id
Definition: rpg_start.h:24
int32_t ship_map_id
Definition: rpg_start.h:30
int32_t airship_x
Definition: rpg_start.h:34
int32_t boat_y
Definition: rpg_start.h:29
int32_t party_y
Definition: rpg_start.h:26
int32_t airship_y
Definition: rpg_start.h:35
int32_t boat_x
Definition: rpg_start.h:28
int32_t ship_x
Definition: rpg_start.h:31
int32_t boat_map_id
Definition: rpg_start.h:27
int32_t airship_map_id
Definition: rpg_start.h:33
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