physfs.c
changeset 609 3a91332776e0
parent 582 d15d27e34a7e
child 631 17fdeeaf7b51
child 637 6f3206c9f892
equal deleted inserted replaced
608:2538f5f073ef 609:3a91332776e0
    72 #if (defined PHYSFS_SUPPORTS_MVL)
    72 #if (defined PHYSFS_SUPPORTS_MVL)
    73 extern const PHYSFS_ArchiveInfo   __PHYSFS_ArchiveInfo_MVL;
    73 extern const PHYSFS_ArchiveInfo   __PHYSFS_ArchiveInfo_MVL;
    74 extern const DirFunctions         __PHYSFS_DirFunctions_MVL;
    74 extern const DirFunctions         __PHYSFS_DirFunctions_MVL;
    75 #endif
    75 #endif
    76 
    76 
       
    77 #if (defined PHYSFS_SUPPORTS_WAD)
       
    78 extern const PHYSFS_ArchiveInfo   __PHYSFS_ArchiveInfo_WAD;
       
    79 extern const DirFunctions         __PHYSFS_DirFunctions_WAD;
       
    80 #endif
       
    81 
    77 extern const DirFunctions  __PHYSFS_DirFunctions_DIR;
    82 extern const DirFunctions  __PHYSFS_DirFunctions_DIR;
    78 
    83 
    79 
    84 
    80 static const PHYSFS_ArchiveInfo *supported_types[] =
    85 static const PHYSFS_ArchiveInfo *supported_types[] =
    81 {
    86 {
    97 
   102 
    98 #if (defined PHYSFS_SUPPORTS_MVL)
   103 #if (defined PHYSFS_SUPPORTS_MVL)
    99     &__PHYSFS_ArchiveInfo_MVL,
   104     &__PHYSFS_ArchiveInfo_MVL,
   100 #endif
   105 #endif
   101 
   106 
       
   107 #if (defined PHYSFS_SUPPORTS_WAD)
       
   108     &__PHYSFS_ArchiveInfo_WAD,
       
   109 #endif
       
   110 
       
   111 
   102     NULL
   112     NULL
   103 };
   113 };
   104 
   114 
   105 static const DirFunctions *dirFunctions[] =
   115 static const DirFunctions *dirFunctions[] =
   106 {
   116 {
   120     &__PHYSFS_DirFunctions_HOG,
   130     &__PHYSFS_DirFunctions_HOG,
   121 #endif
   131 #endif
   122 
   132 
   123 #if (defined PHYSFS_SUPPORTS_MVL)
   133 #if (defined PHYSFS_SUPPORTS_MVL)
   124     &__PHYSFS_DirFunctions_MVL,
   134     &__PHYSFS_DirFunctions_MVL,
       
   135 #endif
       
   136 
       
   137 #if (defined PHYSFS_SUPPORTS_WAD)
       
   138     &__PHYSFS_DirFunctions_WAD,
   125 #endif
   139 #endif
   126 
   140 
   127     &__PHYSFS_DirFunctions_DIR,
   141     &__PHYSFS_DirFunctions_DIR,
   128     NULL
   142     NULL
   129 };
   143 };