summaryrefslogtreecommitdiff
path: root/src/map/grfio.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/grfio.hpp')
-rw-r--r--src/map/grfio.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/grfio.hpp b/src/map/grfio.hpp
index fd7b871..aa222c6 100644
--- a/src/map/grfio.hpp
+++ b/src/map/grfio.hpp
@@ -5,11 +5,12 @@
#include <vector>
-#include "../common/const_array.hpp"
+#include "../common/mmo.hpp"
+#include "../common/strings.hpp"
/// Load a resource into memory, subject to data/resnametable.txt.
/// Normally, resourcename is xxx-y.gat and the file is xxx-y.wlk.
/// Currently there is exactly one .wlk per .gat, but multiples are fine.
-std::vector<uint8_t> grfio_reads(const_string resourcename);
+std::vector<uint8_t> grfio_reads(MapName resourcename);
#endif // GRFIO_HPP