Starshatter_Open
Open source Starshatter engine
|
#include <FighterTacticalAI.h>
Public Member Functions | |
FighterTacticalAI (ShipAI *ai) | |
virtual | ~FighterTacticalAI () |
Public Member Functions inherited from TacticalAI | |
TacticalAI (ShipAI *ai) | |
virtual | ~TacticalAI () |
virtual void | ExecFrame (double seconds) |
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 bool | CheckFlightPlan () |
virtual bool | IsStrikeComplete (Instruction *instr=0) |
virtual void | SelectTarget () |
virtual void | SelectTargetDirected (Ship *tgt=0) |
virtual void | SelectTargetOpportunity () |
virtual void | FindFormationSlot (int formation) |
virtual void | FindThreat () |
virtual void | SelectSecondaryForTarget (Ship *tgt) |
virtual int | ListSecondariesForTarget (Ship *tgt, List< WeaponGroup > &weps) |
Protected Member Functions inherited from TacticalAI | |
virtual void | CheckOrders () |
virtual bool | CheckShipOrders () |
virtual bool | ProcessOrders () |
virtual bool | CheckObjectives () |
virtual void | CheckTarget () |
virtual void | FindSupport () |
virtual bool | CanTarget (Ship *tgt) |
virtual void | ClearRadioOrders () |
Protected Attributes | |
bool | winchester [4] |
DWORD | THREAT_REACTION_TIME |
DWORD | secondary_selection_time |
int | ai_level |
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 28 of file FighterTacticalAI.h.
FighterTacticalAI::FighterTacticalAI | ( | ShipAI * | ai | ) |
Definition at line 42 of file FighterTacticalAI.cpp.
|
virtual |
Definition at line 61 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 67 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 421 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 465 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Definition at line 518 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Definition at line 318 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Definition at line 336 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 150 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 166 of file FighterTacticalAI.cpp.
|
protectedvirtual |
Reimplemented from TacticalAI.
Definition at line 202 of file FighterTacticalAI.cpp.
|
protected |
Definition at line 50 of file FighterTacticalAI.h.
|
protected |
Definition at line 49 of file FighterTacticalAI.h.
|
protected |
Definition at line 48 of file FighterTacticalAI.h.
|
protected |
Definition at line 47 of file FighterTacticalAI.h.