convert line ends
[canaan.git] / prj / cam / src / deepc / ai / dpcaidgb.cpp
blob3aba52b81e0c9ffa5dec43eb195af3ca237e631b
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 #include <lg.h>
8 #include <comtools.h>
9 #include <appagg.h>
10 #include <property.h>
11 #include <propman.h>
12 #include <propface.h>
14 #include <ai.h>
15 #include <aibassns.h>
16 #include <aidbgcmp.h>
17 #include <aifreeze.h>
18 #include <aimove.h>
19 #include <ainet.h>
20 #include <aisound.h>
21 #include <aistdmrg.h>
22 #include <aiutils.h>
23 #include <aipatrol.h>
25 #include <dpcaidmr.h>
26 #include <aiqdeath.h>
27 #include <dpcaipth.h>
28 #include <dpcaiwnd.h>
30 #include <dpcaidgb.h>
31 #include <dpcaidga.h>
33 #include <linkman.h>
34 #include <relation.h>
35 #include <autolink.h>
37 // Must be last header
38 #include <dbmem.h>
40 ///////////////////////////////////////////////////////////////////////////////
42 void cAIDogBehaviorSet::CreateNonCombatAbilities(cAIComponentPtrs * pComponents)
44 cAIWander *pWanderAbility = new cAIWander;
45 cAIFreeze *pAIFreezeAbility = new cAIFreeze;
46 cAIPatrol *pAIPatrolAbility = new cAIPatrol;
48 pComponents->Append(pWanderAbility);
49 pComponents->Append(pAIFreezeAbility);
50 pComponents->Append(pAIPatrolAbility);
53 ///////////////////////////////////////////////////////////////////////////////
55 void cAIDogBehaviorSet::CreateCombatAbilities(cAIComponentPtrs * pComponents)
57 cAIDogCombat *pDogCombatAbility = new cAIDogCombat;
58 pComponents->Append(pDogCombatAbility);
61 ///////////////////////////////////////////////////////////////////////////////
63 void cAIDogBehaviorSet::CreateGenericAbilities(cAIComponentPtrs * pComponents)
65 pComponents->Append(new cAIQuickDeath);
68 ///////////////////////////////////////////////////////////////////////////////
70 void cAIDogBehaviorSet::CreateNonAbilityComponents(cAIComponentPtrs * pComponents)
72 // Debugging/development tools
73 #ifndef SHIP
74 pComponents->Append(new cAIFlowDebugger);
75 #endif
77 #ifdef TEST_ABILITY
78 pComponents->Append(new cAITest);
79 #endif
81 // Enactors
82 pComponents->Append(new cAIMoveEnactor);
83 pComponents->Append(new cAISoundEnactor);
85 // Pathfinder
86 pComponents->Append(new cDPCAIPathfinder);
88 // Movement regulators
89 pComponents->Append(new cAIObjectsMovReg);
90 pComponents->Append(new cAIWallsCliffsMovReg);
91 pComponents->Append(new cDPCAIDoorMovReg);
93 // Senses
94 pComponents->Append(new cAISenses);
96 #ifdef NEW_NETWORK_ENABLED
97 // Networking interface
98 pComponents->Append(new cAINetwork);
99 #endif