From fabd02b4bb0c1df2b65ea682b29087a1776954ed Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 9 Jul 2007 16:34:30 +0000 Subject: Adding basic file handling. --- mpq-file.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mpq-file.c (limited to 'mpq-file.c') diff --git a/mpq-file.c b/mpq-file.c new file mode 100644 index 0000000..27cc9f2 --- /dev/null +++ b/mpq-file.c @@ -0,0 +1,12 @@ +#include "mpq-bios.h" +#include "mpq-file.h" + +struct mpq_file_internals_t { + mpq_archive_t * mpq_a; + int entry; + int number_of_sectors; + int remaining_bytes; + char * buffer; + int current_sector; + uint32_t cursor; +}; -- cgit v1.2.3