|
|
@@ -57,8 +57,15 @@ extern const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_GRP;
|
|
|
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 @@ static const PHYSFS_ArchiveInfo *supported_types[] =
|
|
|
&__PHYSFS_ArchiveInfo_GRP,
|
|
|
#endif
|
|
|
|
|
|
+#if (defined PHYSFS_SUPPORTS_QPAK)
|
|
|
+ &__PHYSFS_ArchiveInfo_QPAK,
|
|
|
+#endif
|
|
|
+
|
|
|
NULL
|
|
|
};
|
|
|
|
|
|
@@ -82,6 +93,10 @@ static const DirFunctions *dirFunctions[] =
|
|
|
&__PHYSFS_DirFunctions_GRP,
|
|
|
#endif
|
|
|
|
|
|
+#if (defined PHYSFS_SUPPORTS_QPAK)
|
|
|
+ &__PHYSFS_DirFunctions_QPAK,
|
|
|
+#endif
|
|
|
+
|
|
|
&__PHYSFS_DirFunctions_DIR,
|
|
|
NULL
|
|
|
};
|