Removed legacy AAS from Doom, cleaned up naming.

This commit is contained in:
Justin Marshall
2026-05-22 22:26:19 -07:00
parent b0788b922e
commit 164a6e1f48
53 changed files with 912 additions and 613 deletions
+14 -14
View File
@@ -69,7 +69,7 @@ class idPlayer;
class idCamera;
class idWorldspawn;
class idTestModel;
class idAAS;
class idNAV;
class idAI;
class idSmokeParticles;
class idEntityFx;
@@ -102,7 +102,7 @@ void gameError( const char *fmt, ... );
#include "anim/Anim.h"
#include "ai/AAS.h"
#include "ai/NAV.h"
#include "physics/Clip.h"
#include "physics/Push.h"
@@ -395,9 +395,9 @@ public:
return MS2SEC(time - previousTime);
}
idAAS* GetBotAAS(void)
idNAV* GetBotNAV(void)
{
return bot_aas;
return bot_nav;
}
int TravelTimeToGoal(const idVec3& origin, const idVec3& goal);
@@ -413,13 +413,13 @@ public:
idEntity* Spawn(const char* classname);
int NumAAS( void ) const;
idAAS * GetAAS( int num ) const;
idAAS * GetAAS( const char *name ) const;
void SetAASAreaState( const idBounds &bounds, const int areaContents, bool closed );
aasHandle_t AddAASObstacle( const idBounds &bounds );
void RemoveAASObstacle( const aasHandle_t handle );
void RemoveAllAASObstacles( void );
int NumNAV( void ) const;
idNAV * GetNAV( int num ) const;
idNAV * GetNAV( const char *name ) const;
void SetNAVAreaState( const idBounds &bounds, const int areaContents, bool closed );
aasHandle_t AddNAVObstacle( const idBounds &bounds );
void RemoveNAVObstacle( const aasHandle_t handle );
void RemoveAllNAVObstacles( void );
bool CheatsOk( bool requirePlayer = true );
void SetSkill( int value );
@@ -520,8 +520,8 @@ private:
idCamera * camera;
const idMaterial * globalMaterial; // for overriding everything
idList<idAAS *> aasList; // area system
idStrList aasNames;
idList<idNAV *> navList; // area system
idStrList navNames;
idEntityPtr<idActor> lastAIAlertEntity;
int lastAIAlertTime;
@@ -612,7 +612,7 @@ private:
idList<rvmGameDelayRemoveEntry_t> delayRemoveEntities;
const idDeclEntityDef* botItemTable;
idAAS* bot_aas;
idNAV* bot_nav;
};
//============================================================================