summaryrefslogtreecommitdiff
path: root/mpq-file.c
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-09 16:34:30 +0000
committerpixel <pixel>2007-07-09 16:34:30 +0000
commitfabd02b4bb0c1df2b65ea682b29087a1776954ed (patch)
treed05674f049e83e1fd8919ad74bfee84304d6887f /mpq-file.c
parent2efe6f62b644ca93b7294de6dc83090542b2e4e2 (diff)
Adding basic file handling.
Diffstat (limited to 'mpq-file.c')
-rw-r--r--mpq-file.c12
1 files changed, 12 insertions, 0 deletions
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;
+};