blob: fd7b8710e5e764614d0b4a2a3ec003a5e8444551 (
plain) (
tree)
|
|
#ifndef GRFIO_HPP
#define GRFIO_HPP
#include <cstdint>
#include <vector>
#include "../common/const_array.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);
#endif // GRFIO_HPP
|