Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
FighterTacticalAI.h
Go to the documentation of this file.
1
/* Project Starshatter 4.5
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: Stars.exe
6
FILE: FighterTacticalAI.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Fighter-specific mid-level (tactical) AI
13
*/
14
15
#ifndef FighterTacticalAI_h
16
#define FighterTacticalAI_h
17
18
#include "
Types.h
"
19
#include "
TacticalAI.h
"
20
#include "
List.h
"
21
22
// +--------------------------------------------------------------------+
23
24
class
WeaponGroup
;
25
26
// +--------------------------------------------------------------------+
27
28
class
FighterTacticalAI
:
public
TacticalAI
29
{
30
public
:
31
FighterTacticalAI
(
ShipAI
* ai);
32
virtual
~FighterTacticalAI
();
33
34
protected
:
35
virtual
bool
CheckFlightPlan
();
36
virtual
bool
IsStrikeComplete
(
Instruction
* instr=0);
37
38
virtual
void
SelectTarget
();
39
virtual
void
SelectTargetDirected
(
Ship
* tgt=0);
40
virtual
void
SelectTargetOpportunity
();
41
virtual
void
FindFormationSlot
(
int
formation);
42
virtual
void
FindThreat
();
43
44
virtual
void
SelectSecondaryForTarget
(
Ship
* tgt);
45
virtual
int
ListSecondariesForTarget
(
Ship
* tgt,
List<WeaponGroup>
& weps);
46
47
bool
winchester
[4];
48
DWORD
THREAT_REACTION_TIME
;
49
DWORD
secondary_selection_time
;
50
int
ai_level
;
51
};
52
53
// +--------------------------------------------------------------------+
54
55
#endif FighterTacticalAI_h
56
Stars45
FighterTacticalAI.h
Generated on Tue Jun 5 2012 20:46:53 for Starshatter_Open by
1.8.1