home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WADS of WADS
/
WadsOfWads.1994.zip
/
ZIPS
/
A_D
/
DMREJE.ZIP
/
SOURCE.ZIP
/
REJECT.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-31
|
1KB
|
43 lines
#ifndef __REJECT_HPP__
#define __REJECT_HPP__
#include "pwad.hpp"
#include "sector.hpp"
class CReject : public CBase
{
private:
CSector *sect;
int numsectors;
CPWad &pwad;
void BuildSectorArray ();
MemHandle rejectdata;
MemHandle linedefdata;
MemHandle sidedefdata;
MemHandle vertexdata;
MemHandle sectordata;
LINEDEF * linedef;
SIDEDEF * sidedef;
VERTEX * vertex;
SECTOR * sector;
void SetBit (char* buffer, int bit);
void ResetBit (char* buffer, int bit);
int idist (int x1, int y1, int x2, int y2);
public:
CReject (CPWad &w, XString map);
~CReject ();
void RejectDefault (int threshold);
void RejectSector (int local, int remote);
void AcceptSector (int local, int remote);
void RejectAll ();
void AcceptAll ();
MemHandle GetRejectData ();
};
#endif