mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 04:30:12 +02:00
Added bot code.
This commit is contained in:
@@ -67,7 +67,7 @@ typedef struct aasObstacle_s {
|
||||
class idAASCallback {
|
||||
public:
|
||||
virtual ~idAASCallback() {};
|
||||
virtual bool TestArea( const class idAAS *aas, int areaNum ) = 0;
|
||||
virtual bool AreaIsGoal( const class idAAS *aas, int areaNum ) = 0;
|
||||
};
|
||||
|
||||
typedef int aasHandle_t;
|
||||
@@ -136,6 +136,11 @@ public:
|
||||
virtual void ShowFlyPath( const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin ) const = 0;
|
||||
// Find the nearest goal which satisfies the callback.
|
||||
virtual bool FindNearestGoal( aasGoal_t &goal, int areaNum, const idVec3 origin, const idVec3 &target, int travelFlags, aasObstacle_t *obstacles, int numObstacles, idAASCallback &callback ) const = 0;
|
||||
|
||||
virtual int AdjustPositionAndGetArea(idVec3& origin) = 0;
|
||||
virtual void ShowArea(const idVec3& origin) const = 0;
|
||||
virtual idAASFile* GetAASFile(void) = 0;
|
||||
virtual const idBounds& DefaultSearchBounds(void) const = 0;
|
||||
};
|
||||
|
||||
#endif /* !__AAS_H__ */
|
||||
|
||||
Reference in New Issue
Block a user