-
Notifications
You must be signed in to change notification settings - Fork 0
/
.merge_file_a11552
70 lines (61 loc) · 1.24 KB
/
.merge_file_a11552
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#pragma once
#include"stdafx.h"
#ifndef CES_AI_COMPONENT_H
#define CES_AI_COMPONENT_H
enum eAIComponent
{
COMPONENT_AIMASK = 1 << 0,
COMPONENT_FOLLOW = 1 << 1,
COMPONENT_SHOOT = 1 << 2,
COMPONENT_SEARCH = 1 << 3,
COMPONENT_SPOTEDPLAYER = 1 << 4,
COMPONENT_PATHFINDTEST = 1<< 5,
COMPONENT_COVERTRIGGER = 1 << 6,
COMPONENT_HEALINGAI = 1 << 7,
COMPONENT_FIGHTINGAI = 1 << 8
};
struct TAIMask
{
int m_tnAIMask = 0;
int GunIndex = -1;
};
struct TAIActive {
bool active=false;
};
struct TAIVision {
frustum_t eyes0;
float3 normalAtBegining[6];
int indexoffrustum;
float visionRotation;
bool keepRotatingRight=true;
XMMATRIX playerLastKnownLocation;
int wallIndex = -1;
bool keepSearching = true;
unsigned int indexLookingAt;
};
struct TAIMovement {
float strafeCoolDown = 0;
float StrafeCoolDownValue = 100;
};
struct TAIHeath {
float heath = 100;
};
struct TAIPathFinding {
vector<XMVECTOR> directions;
int index = 0;
int startingNode;
int Goal;
bool testingPathFinding = true;
bool foundDestination = false;
int DelayMovement = 0;
bool InterRuptPathPlanning=true;
};
struct Tcover {
vector<int> CoverPositions;
int availableCovers = 0;
};
struct TCoverTrigger {
vector<Tcover> coverAiCanGoTo;
bool inCover;
};
#endif