// 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__ */