summaryrefslogtreecommitdiff
path: root/tools/hopalong/vfs.h
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:40:03 +0000
committerclaude-bot <[email protected]>2026-07-13 12:40:03 +0000
commit847962910f0bff071f3bf07c9abb87764fb6cac3 (patch)
treeddcd429e134c7fd5f72ddc97ced175de8d66fcd0 /tools/hopalong/vfs.h
downloadlibrw-master.tar.gz
librw-master.zip
Import aap/librw @ masterHEADmaster
Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/aap/librw (master).
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);