Skip to content

Commit

Permalink
Added Zip routines, pk3/zip virtual files
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed May 31, 2003
1 parent f41fdb7 commit b780329
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doomsday/Include/dd_zip.h
@@ -0,0 +1,17 @@
//===========================================================================
// DD_ZIP.H
//===========================================================================
#ifndef __DOOMSDAY_ZIP_PACKAGE_H__
#define __DOOMSDAY_ZIP_PACKAGE_H__

typedef int zipindex_t;

void Zip_Init(void);
void Zip_Shutdown(void);

boolean Zip_Open(const char *fileName);
zipindex_t Zip_Find(int (*finder)(const char*, void*), void *parm);
uint Zip_GetSize(zipindex_t index);
uint Zip_Read(zipindex_t index, void *buffer);

#endif
1 change: 1 addition & 0 deletions doomsday/Include/de_base.h
Expand Up @@ -17,5 +17,6 @@
#include "dd_input.h"
#include "dd_loop.h"
#include "dd_help.h"
#include "dd_zip.h"

#endif

0 comments on commit b780329

Please sign in to comment.