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 */ |