Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added more fields to the ArchiveInfo struct: author and url.
  • Loading branch information
icculus committed Jul 9, 2001
1 parent eea7435 commit 78f4791
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion archivers/dir.c
Expand Up @@ -328,7 +328,9 @@ const DirFunctions __PHYSFS_DirFunctions_DIR =
const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_DIR =
{
"DIR",
"non-archive directory I/O"
"non-archive directory I/O",
"Ryan C. Gordon",
"http://www.icculus.org/",
};
#endif

Expand Down
4 changes: 3 additions & 1 deletion archivers/grp.c
Expand Up @@ -376,7 +376,9 @@ const DirFunctions __PHYSFS_DirFunctions_GRP =
const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_GRP =
{
"GRP",
"Build engine Groupfile format"
"Build engine Groupfile format",
"Ryan C. Gordon",
"http://www.icculus.org/",
};

/* end of grp.c ... */
Expand Down
4 changes: 3 additions & 1 deletion archivers/zip.c
Expand Up @@ -123,7 +123,9 @@ const DirFunctions __PHYSFS_DirFunctions_ZIP =
const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_ZIP =
{
"ZIP",
"PkZip/WinZip/Info-Zip compatible"
"PkZip/WinZip/Info-Zip compatible",
"Ryan C. Gordon",
"http://www.icculus.org/",
};

/* end of zip.c ... */
Expand Down
2 changes: 2 additions & 0 deletions physfs.h
Expand Up @@ -151,6 +151,8 @@ typedef struct __PHYSFS_ARCHIVEINFO__
{
const char *extension;
const char *description;
const char *author;
const char *url;
} PHYSFS_ArchiveInfo;


Expand Down

0 comments on commit 78f4791

Please sign in to comment.