summaryrefslogtreecommitdiff
path: root/tools/hopalong/vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hopalong/vfs.h')
-rw-r--r--tools/hopalong/vfs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/hopalong/vfs.h b/tools/hopalong/vfs.h
new file mode 100644
index 0000000..768b193
--- /dev/null
+++ b/tools/hopalong/vfs.h
@@ -0,0 +1,15 @@
+struct VFS_file
+{
+ const char *name;
+ rw::uint8 *data;
+ rw::uint32 length;
+};
+
+struct VFS
+{
+ // TODO: directories?
+ VFS_file *files;
+ int numFiles;
+};
+
+void installVFS(VFS *vfs);