blob: 3fde76a368b3919e90139abaaef2671d0867d53a (
plain) (
tree)
|
|
#ifndef GRFIO_HPP
#define GRFIO_HPP
# include <cstdint>
# include <vector>
# include "../common/mmo.hpp"
bool load_resnametable(ZString filename);
/// 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(MapName resourcename);
#endif // GRFIO_HPP
|