Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
StarshipTacticalAI.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: StarshipTacticalAI.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Starship-specific mid-level (tactical) AI
13
*/
14
15
#ifndef StarshipTacticalAI_h
16
#define StarshipTacticalAI_h
17
18
#include "
Types.h
"
19
#include "
TacticalAI.h
"
20
21
// +--------------------------------------------------------------------+
22
23
class
StarshipTacticalAI
:
public
TacticalAI
24
{
25
public
:
26
StarshipTacticalAI
(
ShipAI
* ai);
27
virtual
~StarshipTacticalAI
();
28
29
virtual
void
ExecFrame
(
double
seconds);
30
31
protected
:
32
virtual
void
FindThreat
();
33
virtual
void
FindSupport
();
34
35
virtual
void
CheckBugOut
(
Ship
* c_ship,
double
range);
36
37
DWORD
THREAT_REACTION_TIME
;
38
int
ai_level
;
39
double
drop_time
;
40
double
initial_integrity
;
41
bool
bugout
;
42
};
43
44
// +--------------------------------------------------------------------+
45
46
#endif StarshipTacticalAI_h
47
Stars45
StarshipTacticalAI.h
Generated on Thu May 31 2012 16:31:17 for Starshatter_Open by
1.8.1