summaryrefslogtreecommitdiff
path: root/src/common/grfio.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/grfio.hpp')
-rw-r--r--src/common/grfio.hpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/common/grfio.hpp b/src/common/grfio.hpp
deleted file mode 100644
index 7707b2b..0000000
--- a/src/common/grfio.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef GRFIO_HPP
-#define GRFIO_HPP
-
-# include "sanity.hpp"
-
-/// Accessor to the .gat map virtual files
-// Note .gat files are mapped to .wlk files by data/resnametable.txt
-// Note that there currently is a 1-1 correlation between them,
-// but it is possible for a single .wlk to have multiple .gats reference it
-
-/// Load file into memory and possibly record length
-// For some reason, this allocates an extra 1024 bytes at the end
-void *grfio_reads(const char *resourcename, size_t *size);
-
-/// Load file into memory
-inline
-void *grfio_read(const char *resourcename)
-{
- return grfio_reads(resourcename, NULL);
-}
-
-/// Get size of file
-// This is only called once, and that is to check the existence of a file.
-size_t grfio_size(const char *resourcename) __attribute__((deprecated));
-
-#endif // GRFIO_HPP