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:
@@ -118,7 +118,10 @@ public:
|
||||
virtual void ShowWalkPath( const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin ) const;
|
||||
virtual void ShowFlyPath( const idVec3 &origin, int goalAreaNum, const idVec3 &goalOrigin ) const;
|
||||
virtual bool FindNearestGoal( aasGoal_t &goal, int areaNum, const idVec3 origin, const idVec3 &target, int travelFlags, aasObstacle_t *obstacles, int numObstacles, idAASCallback &callback ) const;
|
||||
|
||||
virtual int AdjustPositionAndGetArea(idVec3& origin);
|
||||
virtual void ShowArea(const idVec3& origin) const;
|
||||
virtual idAASFile* GetAASFile(void) { return file; }
|
||||
virtual const idBounds& DefaultSearchBounds(void) const;
|
||||
private:
|
||||
idAASFile * file;
|
||||
idStr name;
|
||||
@@ -172,13 +175,11 @@ private: // pathing
|
||||
idVec3 SubSampleFlyPath( int areaNum, const idVec3 &origin, const idVec3 &start, const idVec3 &end, int travelFlags, int &endAreaNum ) const;
|
||||
|
||||
private: // debug
|
||||
const idBounds & DefaultSearchBounds( void ) const;
|
||||
void DrawCone( const idVec3 &origin, const idVec3 &dir, float radius, const idVec4 &color ) const;
|
||||
void DrawArea( int areaNum ) const;
|
||||
void DrawFace( int faceNum, bool side ) const;
|
||||
void DrawEdge( int edgeNum, bool arrow ) const;
|
||||
void DrawReachability( const idReachability *reach ) const;
|
||||
void ShowArea( const idVec3 &origin ) const;
|
||||
void ShowWallEdges( const idVec3 &origin ) const;
|
||||
void ShowHideArea( const idVec3 &origin, int targerAreaNum ) const;
|
||||
bool PullPlayer( const idVec3 &origin, int toAreaNum ) const;
|
||||
|
||||
Reference in New Issue
Block a user