Odamex
Setting the Standard in Multiplayer Doom
common/w_wad.cpp File Reference

Data Structures

struct  gamewadinfo_t

Functions

void W_VC6Init (void)
BOOL W_IsIWAD (std::string filename, std::string hash)
void uppercopy (char *to, const char *from)
std::string W_MD5 (std::string filename)
std::string W_AddFile (std::string filename)
void W_MergeLumps (const char *start, const char *end, int space)
std::vector< std::stringW_InitMultipleFiles (std::vector< std::string > &filenames)
int W_CheckNumForName (const char *name, int namespc)
int W_GetNumForName (const char *name)
unsigned W_LumpLength (unsigned lump)
void W_ReadLump (unsigned lump, void *dest)
unsigned W_ReadChunk (const char *file, unsigned offs, unsigned len, void *dest, unsigned &filelen)
bool W_CheckLumpName (unsigned lump, const char *name)
void W_GetLumpName (char *to, unsigned lump)
void * W_CacheLumpNum (unsigned lump, int tag)
void * W_CacheLumpName (const char *name, int tag)
patch_tW_CachePatch (unsigned lump, int tag)
patch_tW_CachePatch (const char *name, int tag)
int W_FindLump (const char *name, int *lastlump)
void W_Close ()

Variables

lumpinfo_tlumpinfo
size_t numlumps
void ** lumpcache
bool WasVC6Inited = false

Function Documentation

void uppercopy ( char *  to,
const char *  from 
)
std::string W_AddFile ( std::string  filename)
void* W_CacheLumpName ( const char *  name,
int  tag 
)
void* W_CacheLumpNum ( unsigned  lump,
int  tag 
)
patch_t* W_CachePatch ( const char *  name,
int  tag 
)
patch_t* W_CachePatch ( unsigned  lump,
int  tag 
)
bool W_CheckLumpName ( unsigned  lump,
const char *  name 
)
int W_CheckNumForName ( const char *  name,
int  namespc 
)
void W_Close ( )
int W_FindLump ( const char *  name,
int *  lastlump 
)
void W_GetLumpName ( char *  to,
unsigned  lump 
)
int W_GetNumForName ( const char *  name)
std::vector<std::string> W_InitMultipleFiles ( std::vector< std::string > &  filenames)
BOOL W_IsIWAD ( std::string  filename,
std::string  hash 
)
unsigned W_LumpLength ( unsigned  lump)
std::string W_MD5 ( std::string  filename)
void W_MergeLumps ( const char *  start,
const char *  end,
int  space 
)
unsigned W_ReadChunk ( const char *  file,
unsigned  offs,
unsigned  len,
void *  dest,
unsigned &  filelen 
)
void W_ReadLump ( unsigned  lump,
void *  dest 
)
void W_VC6Init ( void  )

Variable Documentation

void** lumpcache
size_t numlumps
bool WasVC6Inited = false
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends