Starshatter_Open
Open source Starshatter engine
|
#include <StarshipTacticalAI.h>
Public Member Functions | |
StarshipTacticalAI (ShipAI *ai) | |
virtual | ~StarshipTacticalAI () |
virtual void | ExecFrame (double seconds) |
Public Member Functions inherited from TacticalAI | |
TacticalAI (ShipAI *ai) | |
virtual | ~TacticalAI () |
virtual ROE | RulesOfEngagement () const |
virtual double | ThreatLevel () const |
virtual double | SupportLevel () const |
Public Member Functions inherited from Director | |
Director () | |
virtual | ~Director () |
virtual int | Type () const |
virtual int | Subframe () const |
Protected Member Functions | |
virtual void | FindThreat () |
virtual void | FindSupport () |
virtual void | CheckBugOut (Ship *c_ship, double range) |
Protected Member Functions inherited from TacticalAI | |
virtual void | CheckOrders () |
virtual bool | CheckShipOrders () |
virtual bool | ProcessOrders () |
virtual bool | CheckFlightPlan () |
virtual bool | CheckObjectives () |
virtual void | SelectTarget () |
virtual void | SelectTargetDirected (Ship *tgt=0) |
virtual void | SelectTargetOpportunity () |
virtual void | CheckTarget () |
virtual void | FindFormationSlot (int formation) |
virtual bool | CanTarget (Ship *tgt) |
virtual void | ClearRadioOrders () |
Protected Attributes | |
DWORD | THREAT_REACTION_TIME |
int | ai_level |
double | drop_time |
double | initial_integrity |
bool | bugout |
Protected Attributes inherited from TacticalAI | |
Ship * | ship |
ShipAI * | ship_ai |
CarrierAI * | carrier_ai |
Instruction * | navpt |
Instruction * | orders |
double | agression |
ROE | roe |
int | element_index |
int | action |
int | exec_time |
int | directed_tgtid |
double | threat_level |
double | support_level |
Additional Inherited Members | |
Public Types inherited from TacticalAI | |
enum | ROE { NONE, SELF_DEFENSIVE, DEFENSIVE, DIRECTED, FLEXIBLE, AGRESSIVE } |
Definition at line 23 of file StarshipTacticalAI.h.
StarshipTacticalAI::StarshipTacticalAI | ( | ShipAI * | ai | ) |
Definition at line 40 of file StarshipTacticalAI.cpp.
|
virtual |
Definition at line 62 of file StarshipTacticalAI.cpp.
|
protectedvirtual |
Definition at line 202 of file StarshipTacticalAI.cpp.
|
virtual |
Reimplemented from TacticalAI.
Definition at line 68 of file StarshipTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 173 of file StarshipTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 84 of file StarshipTacticalAI.cpp.
|
protected |
Definition at line 38 of file StarshipTacticalAI.h.
|
protected |
Definition at line 41 of file StarshipTacticalAI.h.
|
protected |
Definition at line 39 of file StarshipTacticalAI.h.
|
protected |
Definition at line 40 of file StarshipTacticalAI.h.
|
protected |
Definition at line 37 of file StarshipTacticalAI.h.