physfs.c
changeset 453 108de3bb1b6b
parent 427 c38ace41039f
child 462 83c60189bc21
--- a/physfs.c	Fri Aug 09 19:47:06 2002 +0000
+++ b/physfs.c	Fri Aug 09 19:47:35 2002 +0000
@@ -57,8 +57,15 @@
 extern const DirFunctions         __PHYSFS_DirFunctions_GRP;
 #endif
 
+#if (defined PHYSFS_SUPPORTS_QPAK)
+extern const PHYSFS_ArchiveInfo   __PHYSFS_ArchiveInfo_QPAK;
+extern const DirFunctions         __PHYSFS_DirFunctions_QPAK;
+#endif
+
 extern const DirFunctions  __PHYSFS_DirFunctions_DIR;
 
+
+// !!! FIXME: This is stored with dirFunctions now, too.
 static const PHYSFS_ArchiveInfo *supported_types[] =
 {
 #if (defined PHYSFS_SUPPORTS_ZIP)
@@ -69,6 +76,10 @@
     &__PHYSFS_ArchiveInfo_GRP,
 #endif
 
+#if (defined PHYSFS_SUPPORTS_QPAK)
+    &__PHYSFS_ArchiveInfo_QPAK,
+#endif
+
     NULL
 };
 
@@ -82,6 +93,10 @@
     &__PHYSFS_DirFunctions_GRP,
 #endif
 
+#if (defined PHYSFS_SUPPORTS_QPAK)
+    &__PHYSFS_DirFunctions_QPAK,
+#endif
+
     &__PHYSFS_DirFunctions_DIR,
     NULL
 };