home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WADS of WADS
/
WadsOfWads.1994.zip
/
ZIPS
/
A_D
/
DMREJE.ZIP
/
SOURCE.ZIP
/
PWAD.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-30
|
759b
|
32 lines
#ifndef __PWAD_HPP__
#define __PWAD_HPP__
#include "structs.hpp"
#include "ilist.hpp"
#include "fileio.hpp"
#include "dir.hpp"
class CPWad : public CBase
{
private:
CDirEntry *currentmap;
PWAD_HEADER header;
long size;
CIndexedList directory;
CFile file;
void AddEntry (DIR_ENTRY &entry);
public:
CPWad (XString name);
MemHandle Read (XString map, XString item);
MemHandle Read (XString item);
int Write (MemHandle data, XString map, XString item);
int Write (MemHandle data, XString item);
};
#endif