blob: 50f90ec57f4b4dda7ff15a6341552b97913ce2d4 (
plain) (
blame)
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
|
#ifndef MAPDUMP_HPP
#define MAPDUMP_HPP
#include <cstdint>
#include <array>
#include <string>
#include <vector>
#include "utils.hpp"
struct map_t
{
int id;
std::string custom_name;
bool locked;
map_data_t map_data;
};
struct map_group_t
{
std::string title;
std::string author;
int hc;
int vc;
std::vector<int> ids;
std::vector<bool> populated;
};
bool load_dumps(const char *fn, std::vector<map_t> &dumps);
std::vector<int> load_tally(const char *fn);
#endif
|