diff options
Diffstat (limited to 'mapman/src/mapdump.hpp')
-rw-r--r-- | mapman/src/mapdump.hpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mapman/src/mapdump.hpp b/mapman/src/mapdump.hpp new file mode 100644 index 0000000..aa771e6 --- /dev/null +++ b/mapman/src/mapdump.hpp @@ -0,0 +1,31 @@ +#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; + 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 |