1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
20 //-----------------------------------------------------------------------------
30 /* Should be "IWAD" or "PWAD" */
31 char identification[4];
44 /* WADFILE I/O related stuff */
54 extern void** lumpcache;
55 extern lumpinfo_t* lumpinfo;
58 void W_InitMultipleFiles (char** filenames);
61 int W_CheckNumForName (char* name);
62 int W_GetNumForName (char* name);
64 int W_LumpLength (int lump);
65 void W_ReadLump (int lump, void *dest);
67 void* W_CacheLumpNum (int lump, int tag);
68 void* W_CacheLumpName (char* name, int tag);
74 //-----------------------------------------------------------------------------
78 //-----------------------------------------------------------------------------