mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
Removed legacy AAS from Doom, cleaned up naming.
This commit is contained in:
+14
-14
@@ -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;
|
||||
};
|
||||
|
||||
//============================================================================
|
||||
|
||||
Reference in New Issue
Block a user