mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 16:20:42 +02:00
33 lines
759 B
C++
33 lines
759 B
C++
// Copyright (C) 2007 Id Software, Inc.
|
|
//
|
|
|
|
#ifndef __NAVCALLBACK_FINDCOVERAREA_H__
|
|
#define __NAVCALLBACK_FINDCOVERAREA_H__
|
|
|
|
#include "NAVCallback_AvoidLocation.h"
|
|
|
|
/*
|
|
===============================================================================
|
|
|
|
idNAVCallback_FindCoverArea
|
|
|
|
===============================================================================
|
|
*/
|
|
|
|
class idNAVCallback_FindCoverArea : public idNAVCallback_AvoidLocation
|
|
{
|
|
public:
|
|
idNAVCallback_FindCoverArea( const idVec3& hideFromPos );
|
|
~idNAVCallback_FindCoverArea();
|
|
|
|
virtual bool AreaIsGoal( const idNAV* aas, int areaNum );
|
|
|
|
private:
|
|
static const int MAX_PVS_AREAS = 4;
|
|
|
|
pvsHandle_t hidePVS;
|
|
int PVSAreas[ MAX_PVS_AREAS ];
|
|
};
|
|
|
|
#endif /* !__NAVCALLBACK_FINDCOVERAREA_H__ */
|