src/archiver_wad.c
changeset 1281 cd136b8d3b1a
parent 1270 f8d3f58561b1
child 1320 c1da17c10a41
equal deleted inserted replaced
1280:bd174b99fa5b 1281:cd136b8d3b1a
   100     BAIL_IF_MACRO(!entries, ERRPASS, NULL);
   100     BAIL_IF_MACRO(!entries, ERRPASS, NULL);
   101     return UNPK_openArchive(io, entries, count);
   101     return UNPK_openArchive(io, entries, count);
   102 } /* WAD_openArchive */
   102 } /* WAD_openArchive */
   103 
   103 
   104 
   104 
   105 const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_WAD =
       
   106 {
       
   107     "WAD",
       
   108     "DOOM engine format",
       
   109     "Travis Wells <traviswells@mchsi.com>",
       
   110     "http://www.3dmm2.com/doom/",
       
   111 };
       
   112 
       
   113 
       
   114 const PHYSFS_Archiver __PHYSFS_Archiver_WAD =
   105 const PHYSFS_Archiver __PHYSFS_Archiver_WAD =
   115 {
   106 {
   116     &__PHYSFS_ArchiveInfo_WAD,
   107     {
       
   108         "WAD",
       
   109         "DOOM engine format",
       
   110         "Travis Wells <traviswells@mchsi.com>",
       
   111         "http://www.3dmm2.com/doom/",
       
   112     },
   117     WAD_openArchive,        /* openArchive() method    */
   113     WAD_openArchive,        /* openArchive() method    */
   118     UNPK_enumerateFiles,     /* enumerateFiles() method */
   114     UNPK_enumerateFiles,     /* enumerateFiles() method */
   119     UNPK_openRead,           /* openRead() method       */
   115     UNPK_openRead,           /* openRead() method       */
   120     UNPK_openWrite,          /* openWrite() method      */
   116     UNPK_openWrite,          /* openWrite() method      */
   121     UNPK_openAppend,         /* openAppend() method     */
   117     UNPK_openAppend,         /* openAppend() method     */