physfs.c
changeset 453 108de3bb1b6b
parent 427 c38ace41039f
child 462 83c60189bc21
equal deleted inserted replaced
452:89578e99ba6e 453:108de3bb1b6b
    55 #if (defined PHYSFS_SUPPORTS_GRP)
    55 #if (defined PHYSFS_SUPPORTS_GRP)
    56 extern const PHYSFS_ArchiveInfo   __PHYSFS_ArchiveInfo_GRP;
    56 extern const PHYSFS_ArchiveInfo   __PHYSFS_ArchiveInfo_GRP;
    57 extern const DirFunctions         __PHYSFS_DirFunctions_GRP;
    57 extern const DirFunctions         __PHYSFS_DirFunctions_GRP;
    58 #endif
    58 #endif
    59 
    59 
       
    60 #if (defined PHYSFS_SUPPORTS_QPAK)
       
    61 extern const PHYSFS_ArchiveInfo   __PHYSFS_ArchiveInfo_QPAK;
       
    62 extern const DirFunctions         __PHYSFS_DirFunctions_QPAK;
       
    63 #endif
       
    64 
    60 extern const DirFunctions  __PHYSFS_DirFunctions_DIR;
    65 extern const DirFunctions  __PHYSFS_DirFunctions_DIR;
    61 
    66 
       
    67 
       
    68 // !!! FIXME: This is stored with dirFunctions now, too.
    62 static const PHYSFS_ArchiveInfo *supported_types[] =
    69 static const PHYSFS_ArchiveInfo *supported_types[] =
    63 {
    70 {
    64 #if (defined PHYSFS_SUPPORTS_ZIP)
    71 #if (defined PHYSFS_SUPPORTS_ZIP)
    65     &__PHYSFS_ArchiveInfo_ZIP,
    72     &__PHYSFS_ArchiveInfo_ZIP,
    66 #endif
    73 #endif
    67 
    74 
    68 #if (defined PHYSFS_SUPPORTS_GRP)
    75 #if (defined PHYSFS_SUPPORTS_GRP)
    69     &__PHYSFS_ArchiveInfo_GRP,
    76     &__PHYSFS_ArchiveInfo_GRP,
    70 #endif
    77 #endif
    71 
    78 
       
    79 #if (defined PHYSFS_SUPPORTS_QPAK)
       
    80     &__PHYSFS_ArchiveInfo_QPAK,
       
    81 #endif
       
    82 
    72     NULL
    83     NULL
    73 };
    84 };
    74 
    85 
    75 static const DirFunctions *dirFunctions[] =
    86 static const DirFunctions *dirFunctions[] =
    76 {
    87 {
    78     &__PHYSFS_DirFunctions_ZIP,
    89     &__PHYSFS_DirFunctions_ZIP,
    79 #endif
    90 #endif
    80 
    91 
    81 #if (defined PHYSFS_SUPPORTS_GRP)
    92 #if (defined PHYSFS_SUPPORTS_GRP)
    82     &__PHYSFS_DirFunctions_GRP,
    93     &__PHYSFS_DirFunctions_GRP,
       
    94 #endif
       
    95 
       
    96 #if (defined PHYSFS_SUPPORTS_QPAK)
       
    97     &__PHYSFS_DirFunctions_QPAK,
    83 #endif
    98 #endif
    84 
    99 
    85     &__PHYSFS_DirFunctions_DIR,
   100     &__PHYSFS_DirFunctions_DIR,
    86     NULL
   101     NULL
    87 };
   102 };