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:
@@ -149,7 +149,7 @@ const idEventDef AI_WakeOnFlashlight("wakeOnFlashlight", "d");
|
||||
const idEventDef AI_LocateEnemy("locateEnemy");
|
||||
const idEventDef AI_KickObstacles("kickObstacles", "Ef");
|
||||
const idEventDef AI_GetObstacle("getObstacle", NULL, 'e');
|
||||
const idEventDef AI_PushPointIntoAAS("pushPointIntoAAS", "v", 'v');
|
||||
const idEventDef AI_PushPointIntoNAV("pushPointIntoAAS", "v", 'v');
|
||||
const idEventDef AI_GetTurnRate("getTurnRate", NULL, 'f');
|
||||
const idEventDef AI_SetTurnRate("setTurnRate", "f");
|
||||
const idEventDef AI_AnimTurn("animTurn", "f");
|
||||
@@ -279,7 +279,7 @@ EVENT(AI_WakeOnFlashlight, idAI::Event_WakeOnFlashlight)
|
||||
EVENT(AI_LocateEnemy, idAI::Event_LocateEnemy)
|
||||
EVENT(AI_KickObstacles, idAI::Event_KickObstacles)
|
||||
EVENT(AI_GetObstacle, idAI::Event_GetObstacle)
|
||||
EVENT(AI_PushPointIntoAAS, idAI::Event_PushPointIntoAAS)
|
||||
EVENT(AI_PushPointIntoNAV, idAI::Event_PushPointIntoNAV)
|
||||
EVENT(AI_GetTurnRate, idAI::Event_GetTurnRate)
|
||||
EVENT(AI_SetTurnRate, idAI::Event_SetTurnRate)
|
||||
EVENT(AI_AnimTurn, idAI::Event_AnimTurn)
|
||||
@@ -2209,7 +2209,7 @@ void idAI::LocateEnemy(void) {
|
||||
return;
|
||||
}
|
||||
|
||||
enemyEnt->GetAASLocation(aas, lastReachableEnemyPos, areaNum);
|
||||
enemyEnt->GetNAVLocation(aas, lastReachableEnemyPos, areaNum);
|
||||
SetEnemyPosition();
|
||||
UpdateEnemyPosition();
|
||||
}
|
||||
@@ -2251,10 +2251,10 @@ idEntity* idAI::GetObstacle(void) {
|
||||
|
||||
/*
|
||||
=====================
|
||||
idAI::PushPointIntoAAS
|
||||
idAI::PushPointIntoNAV
|
||||
=====================
|
||||
*/
|
||||
idVec3 idAI::PushPointIntoAAS(const idVec3& pos) {
|
||||
idVec3 idAI::PushPointIntoNAV(const idVec3& pos) {
|
||||
int areaNum;
|
||||
idVec3 newPos;
|
||||
|
||||
@@ -2425,7 +2425,7 @@ int idAI::CanReachEnemy(void) {
|
||||
if (enemyEnt->OnLadder()) {
|
||||
return false;
|
||||
}
|
||||
enemyEnt->GetAASLocation(aas, pos, toAreaNum);
|
||||
enemyEnt->GetNAVLocation(aas, pos, toAreaNum);
|
||||
}
|
||||
else {
|
||||
pos = enemyEnt->GetPhysics()->GetOrigin();
|
||||
@@ -3614,11 +3614,11 @@ void idAI::Event_GetObstacle(void) {
|
||||
|
||||
/*
|
||||
=====================
|
||||
idAI::Event_PushPointIntoAAS
|
||||
idAI::Event_PushPointIntoNAV
|
||||
=====================
|
||||
*/
|
||||
void idAI::Event_PushPointIntoAAS(const idVec3& pos) {
|
||||
idThread::ReturnVector(PushPointIntoAAS(pos));
|
||||
void idAI::Event_PushPointIntoNAV(const idVec3& pos) {
|
||||
idThread::ReturnVector(PushPointIntoNAV(pos));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user