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,29 @@
|
||||
// Copyright (C) 2007 Id Software, Inc.
|
||||
//
|
||||
|
||||
#ifndef __AASCALLBACK_FINDAREAOUTOFRANGE_H__
|
||||
#define __AASCALLBACK_FINDAREAOUTOFRANGE_H__
|
||||
|
||||
#include "AASCallback_AvoidLocation.h"
|
||||
|
||||
/*
|
||||
===============================================================================
|
||||
|
||||
idAASCallback_FindAreaOutOfRange
|
||||
|
||||
===============================================================================
|
||||
*/
|
||||
|
||||
class idAASCallback_FindAreaOutOfRange : public idAASCallback_AvoidLocation
|
||||
{
|
||||
public:
|
||||
idAASCallback_FindAreaOutOfRange( const idVec3& targetPos, float maxDist );
|
||||
|
||||
virtual bool AreaIsGoal( const idAAS* aas, int areaNum );
|
||||
|
||||
private:
|
||||
idVec3 targetPos;
|
||||
float maxDistSqr;
|
||||
};
|
||||
|
||||
#endif /* !__AASCALLBACK_FINDAREAOUTOFRANGE_H__ */
|
||||
Reference in New Issue
Block a user