mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
15 lines
261 B
C
15 lines
261 B
C
|
#include "pakfile.h"
|
||
|
|
||
|
int
|
||
|
main (int argc, char **argv)
|
||
|
{
|
||
|
pack_t *pack;
|
||
|
int i;
|
||
|
|
||
|
pack = pack_open (argv[1]);
|
||
|
for (i = 0; i < pack->numfiles; i++)
|
||
|
printf ("%6d %s\n", pack->files[i].filelen, pack->files[i].name);
|
||
|
pack_close (pack);
|
||
|
return 0;
|
||
|
}
|