-
Notifications
You must be signed in to change notification settings - Fork 51
/
rpg_savemapinfo.h
50 lines (46 loc) · 1.27 KB
/
rpg_savemapinfo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2017 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code.
*/
#ifndef LCF_RPG_SAVEMAPINFO_H
#define LCF_RPG_SAVEMAPINFO_H
// Headers
#include <stdint.h>
#include <string>
#include <vector>
#include "rpg_map.h"
#include "rpg_mapinfo.h"
#include "rpg_savemapevent.h"
/**
* RPG::SaveMapInfo class.
*/
namespace RPG {
class SaveMapInfo {
public:
void Setup();
void Setup(const RPG::Map& map);
void Setup(const RPG::MapInfo& map_info);
void Fixup(const RPG::Map& map);
int32_t position_x = 0;
int32_t position_y = 0;
int32_t encounter_rate = -1;
int32_t chipset_id = 0;
std::vector<SaveMapEvent> events;
std::vector<uint8_t> lower_tiles;
std::vector<uint8_t> upper_tiles;
std::string parallax_name;
bool parallax_horz = false;
bool parallax_vert = false;
bool parallax_horz_auto = false;
int32_t parallax_horz_speed = 0;
bool parallax_vert_auto = false;
int32_t parallax_vert_speed = 0;
};
}
#endif