zdbsp/Unused/rejectbuilder.h-slow
Randy Heit 24d4f0b45c Initial commit of zdbsp.
SVN r12 (trunk)
2006-02-24 05:17:19 +00:00

40 lines
703 B
Text

#include "zdbsp.h"
#include "tarray.h"
#include "doomdata.h"
class FRejectBuilder
{
public:
FRejectBuilder (FLevel &level);
~FRejectBuilder ();
BYTE *GetReject ();
private:
struct Portal
{
const MapSubsector *Subsector;
const WideVertex *Left;
const WideVertex *Right;
};
enum ESegSeeStatus
{
MIGHT_SEE,
CAN_SEE,
CANNOT_SEE
};
void BuildReject ();
void TracePath (int subsector, const MapSegGL *window);
void TracePathDeep (const MapSegGL *window);
inline const WideVertex *GetVertex (WORD vertnum);
BYTE *SubSeeMatrix;
WORD *SegSubsectors;
TArray<Portal> PortalStack;
FLevel &Level;
int SourceRow;
int SourceSeg, SegRow;
};