diff options
Diffstat (limited to 'src/heretic/doomdef.h')
-rw-r--r-- | src/heretic/doomdef.h | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h index 21adbc2a..3cfafad4 100644 --- a/src/heretic/doomdef.h +++ b/src/heretic/doomdef.h @@ -49,6 +49,9 @@ // header generated by multigen utility #include "info.h" +// WAD file access +#include "w_wad.h" + extern byte *destview, *destscreen; // PC direct to screen pointers // @@ -780,32 +783,6 @@ long LongSwap(long); #include "z_zone.h" -//------- -//WADFILE -//------- -typedef struct -{ - char name[8]; - int handle, position, size; -} lumpinfo_t; - -extern lumpinfo_t *lumpinfo; -extern int numlumps; - -void W_InitMultipleFiles(char **filenames); - -int W_CheckNumForName(char *name); -int W_GetNumForName(char *name); - -int W_LumpLength(int lump); -void W_ReadLump(int lump, void *dest); - -void *W_CacheLumpNum(int lump, int tag); -void *W_CacheLumpName(char *name, int tag); - - - - //---------- //BASE LEVEL //---------- |