QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pakfile proccessing

Data Structures

struct  dpackfile_t
 
struct  dpackheader_t
 
struct  pack_s
 

Macros

#define IDPAKHEADER   (('K'<<24)+('C'<<16)+('A'<<8)+'P')
 
#define PAK_PATH_LENGTH   56
 

Typedefs

typedef struct pack_s pack_t
 

Functions

int pack_add (pack_t *pack, const char *filename)
 
void pack_close (pack_t *pack)
 
pack_tpack_create (const char *name)
 
void pack_del (pack_t *pack)
 
int pack_extract (pack_t *pack, dpackfile_t *pf)
 
dpackfile_tpack_find_file (pack_t *pack, const char *filename)
 
pack_tpack_new (const char *name)
 
pack_tpack_open (const char *name)
 
void pack_rehash (pack_t *pack)
 

Detailed Description

Macro Definition Documentation

#define IDPAKHEADER   (('K'<<24)+('C'<<16)+('A'<<8)+'P')
#define PAK_PATH_LENGTH   56

Typedef Documentation

typedef struct pack_s pack_t

Function Documentation

int pack_add ( pack_t pack,
const char *  filename 
)
void pack_close ( pack_t pack)
pack_t* pack_create ( const char *  name)
void pack_del ( pack_t pack)
int pack_extract ( pack_t pack,
dpackfile_t pf 
)
dpackfile_t* pack_find_file ( pack_t pack,
const char *  filename 
)
pack_t* pack_new ( const char *  name)
pack_t* pack_open ( const char *  name)
void pack_rehash ( pack_t pack)