Files
DoomRTX/neo/doom3/game/ai/NAVCallback_FindCoverArea.h
T
2026-05-22 22:26:19 -07:00

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