liblcf
Loading...
Searching...
No Matches
rpg_save.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_SAVE_H
13#define LCF_RPG_SAVE_H
14
15// Headers
16#include <vector>
17#include "rpg_saveactor.h"
18#include "rpg_savecommonevent.h"
19#include "rpg_saveeasyrpgdata.h"
21#include "rpg_saveinventory.h"
22#include "rpg_savemapinfo.h"
23#include "rpg_savepanorama.h"
25#include "rpg_savepicture.h"
26#include "rpg_savescreen.h"
27#include "rpg_savesystem.h"
28#include "rpg_savetarget.h"
29#include "rpg_savetitle.h"
31
35namespace RPG {
36 class Save {
37 public:
38 void Setup();
42 std::vector<SavePicture> pictures;
47 std::vector<SaveActor> actors;
49 std::vector<SaveTarget> targets;
53 std::vector<SaveCommonEvent> common_events;
55 };
56
57 inline bool operator==(const Save& l, const Save& r) {
58 return l.title == r.title
59 && l.system == r.system
60 && l.screen == r.screen
61 && l.pictures == r.pictures
66 && l.actors == r.actors
67 && l.inventory == r.inventory
68 && l.targets == r.targets
69 && l.map_info == r.map_info
70 && l.panorama == r.panorama
73 && l.easyrpg_data == r.easyrpg_data;
74 }
75
76 inline bool operator!=(const Save& l, const Save& r) {
77 return !(l == r);
78 }
79}
80
81#endif
SaveInventory inventory
Definition: rpg_save.h:48
SavePartyLocation party_location
Definition: rpg_save.h:43
SaveSystem system
Definition: rpg_save.h:40
SaveScreen screen
Definition: rpg_save.h:41
SaveTitle title
Definition: rpg_save.h:39
void Setup()
Definition: rpg_setup.cpp:133
SaveVehicleLocation boat_location
Definition: rpg_save.h:44
SaveMapInfo map_info
Definition: rpg_save.h:50
SavePanorama panorama
Definition: rpg_save.h:51
SaveEventExecState foreground_event_execstate
Definition: rpg_save.h:52
std::vector< SaveTarget > targets
Definition: rpg_save.h:49
SaveVehicleLocation ship_location
Definition: rpg_save.h:45
SaveEasyRpgData easyrpg_data
Definition: rpg_save.h:54
std::vector< SaveActor > actors
Definition: rpg_save.h:47
SaveVehicleLocation airship_location
Definition: rpg_save.h:46
std::vector< SavePicture > pictures
Definition: rpg_save.h:42
std::vector< SaveCommonEvent > common_events
Definition: rpg_save.h:53
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