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

Go to the source code of this file.

Data Structures

struct  wadinfo_t
struct  filelump_t
struct  lumpinfo_s

Typedefs

typedef struct lumpinfo_s lumpinfo_t

Enumerations

enum  namespace_t {
  ns_global = 0, ns_sprites, ns_flats, ns_colormaps,
  ns_skinbase = 0x80000000
}

Functions

std::string W_MD5 (std::string filename)
std::vector< std::stringW_InitMultipleFiles (std::vector< std::string > &filenames)
int W_CheckNumForName (const char *name, int ns=ns_global)
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)
void * W_CacheLumpNum (unsigned lump, int tag)
void * W_CacheLumpName (const char *name, int tag)
patch_tW_CachePatch (unsigned lump, int tag=PU_CACHE)
patch_tW_CachePatch (const char *name, int tag=PU_CACHE)
void W_Profile (const char *fname)
void W_Close ()
int W_FindLump (const char *name, int *lastlump)
bool W_CheckLumpName (unsigned lump, const char *name)
void W_MergeLumps (const char *start, const char *end, int)
void uppercopy (char *to, const char *from)
void W_GetLumpName (char *to, unsigned lump)
int W_GetLumpFile (unsigned lump)
BOOL W_IsIWAD (std::string filename, std::string hash="")

Variables

std::vector< std::stringwadfiles
std::vector< std::stringwadhashes
void ** lumpcache
lumpinfo_tlumpinfo
size_t numlumps

Typedef Documentation

typedef struct lumpinfo_s lumpinfo_t

Enumeration Type Documentation

Enumerator:
ns_global 
ns_sprites 
ns_flats 
ns_colormaps 
ns_skinbase 

Function Documentation

void uppercopy ( char *  to,
const char *  from 
)
void* W_CacheLumpName ( const char *  name,
int  tag 
)
void* W_CacheLumpNum ( unsigned  lump,
int  tag 
)
patch_t* W_CachePatch ( unsigned  lump,
int  tag = PU_CACHE 
)
patch_t* W_CachePatch ( const char *  name,
int  tag = PU_CACHE 
)
bool W_CheckLumpName ( unsigned  lump,
const char *  name 
)
int W_CheckNumForName ( const char *  name,
int  ns = ns_global 
)
void W_Close ( )
int W_FindLump ( const char *  name,
int *  lastlump 
)
int W_GetLumpFile ( unsigned  lump)
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   
)
void W_Profile ( const char *  fname)
unsigned W_ReadChunk ( const char *  file,
unsigned  offs,
unsigned  len,
void *  dest,
unsigned &  filelen 
)
void W_ReadLump ( unsigned  lump,
void *  dest 
)

Variable Documentation

void** lumpcache
size_t numlumps
std::vector<std::string> wadfiles
std::vector<std::string> wadhashes
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends