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
@@ -0,0 +1,19 @@
#pragma once
class idAASFindAttackPosition : public idAASCallback {
public:
idAASFindAttackPosition(const idAI* self, const idMat3& gravityAxis, idEntity* target, const idVec3& targetPos, const idVec3& fireOffset);
~idAASFindAttackPosition();
virtual bool AreaIsGoal(const idAAS* aas, int areaNum);
private:
const idAI* self;
idEntity* target;
idBounds excludeBounds;
idVec3 targetPos;
idVec3 fireOffset;
idMat3 gravityAxis;
pvsHandle_t targetPVS;
int PVSAreas[idEntity::MAX_PVS_AREAS];
};