mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-19 12:14:35 +02:00
Added bot code.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
// Copyright (C) 2007 Id Software, Inc.
|
||||
//
|
||||
|
||||
#ifndef __AASCALLBACK_FINDCOVERAREA_H__
|
||||
#define __AASCALLBACK_FINDCOVERAREA_H__
|
||||
|
||||
#include "AASCallback_AvoidLocation.h"
|
||||
|
||||
/*
|
||||
===============================================================================
|
||||
|
||||
idAASCallback_FindCoverArea
|
||||
|
||||
===============================================================================
|
||||
*/
|
||||
|
||||
class idAASCallback_FindCoverArea : public idAASCallback_AvoidLocation
|
||||
{
|
||||
public:
|
||||
idAASCallback_FindCoverArea( const idVec3& hideFromPos );
|
||||
~idAASCallback_FindCoverArea();
|
||||
|
||||
virtual bool AreaIsGoal( const idAAS* aas, int areaNum );
|
||||
|
||||
private:
|
||||
static const int MAX_PVS_AREAS = 4;
|
||||
|
||||
pvsHandle_t hidePVS;
|
||||
int PVSAreas[ MAX_PVS_AREAS ];
|
||||
};
|
||||
|
||||
#endif /* !__AASCALLBACK_FINDCOVERAREA_H__ */
|
||||
Reference in New Issue
Block a user