Added bot code.

This commit is contained in:
Justin Marshall
2026-05-19 18:34:55 -07:00
parent b97127f038
commit af56d4bfeb
166 changed files with 22251 additions and 297 deletions
+6 -1
View File
@@ -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__ */