From 93cf929f29dea490ed60e5300cacdd99886c988e Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 9 Sep 2023 20:09:50 -0400 Subject: Add the standalone portion of mapman. --- mapman/src/mapdump.hpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mapman/src/mapdump.hpp (limited to 'mapman/src/mapdump.hpp') 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 +#include +#include +#include + +#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 ids; + std::vector populated; +}; + +bool load_dumps(const char *fn, std::vector &dumps); +std::vector load_tally(const char *fn); + +#endif -- cgit v1.2.3