Starshatter_Open
Open source Starshatter engine
|
#include <FighterAI.h>
Public Member Functions | |
FighterAI (SimObject *s) | |
virtual | ~FighterAI () |
virtual void | ExecFrame (double seconds) |
virtual int | Subframe () const |
virtual void | FindObjective () |
virtual void | FindObjectiveNavPoint () |
Public Member Functions inherited from ShipAI | |
ShipAI (SimObject *s) | |
virtual | ~ShipAI () |
virtual Ship * | GetShip () const |
virtual Ship * | GetWard () const |
virtual void | SetWard (Ship *s) |
virtual Ship * | GetThreat () const |
virtual void | SetThreat (Ship *s) |
virtual Ship * | GetSupport () const |
virtual void | SetSupport (Ship *s) |
virtual Ship * | GetRumor () const |
virtual void | SetRumor (Ship *s) |
virtual Shot * | GetThreatMissile () const |
virtual void | SetThreatMissile (Shot *s) |
virtual Instruction * | GetNavPoint () const |
virtual void | SetNavPoint (Instruction *n) |
virtual Point | GetPatrol () const |
virtual void | SetPatrol (const Point &p) |
virtual void | ClearPatrol () |
virtual void | ClearRumor () |
virtual void | ClearTactical () |
virtual Farcaster * | GetFarcaster () |
virtual void | Splash (const Ship *targ) |
virtual void | SetTarget (SimObject *targ, System *sub=0) |
virtual void | DropTarget (double drop_time=1.5) |
virtual double | DropTime () const |
virtual void | SetBracket (bool bracket) |
virtual void | SetIdentify (bool identify) |
virtual void | SetFormationDelta (const Point &point) |
virtual bool | Update (SimObject *obj) |
virtual const char * | GetObserverName () const |
virtual int | GetAILevel () const |
Public Member Functions inherited from SteerAI | |
SteerAI (SimObject *self) | |
virtual | ~SteerAI () |
virtual SimObject * | GetTarget () const |
virtual System * | GetSubTarget () const |
virtual int | Type () const |
virtual Point | GetObjective () const |
virtual SimObject * | GetOther () const |
Public Member Functions inherited from Director | |
Director () | |
virtual | ~Director () |
Public Member Functions inherited from SimObserver | |
virtual | ~SimObserver () |
int | operator== (const SimObserver &o) const |
virtual void | Observe (SimObject *obj) |
virtual void | Ignore (SimObject *obj) |
Protected Member Functions | |
virtual Steer | AvoidTerrain () |
virtual Steer | SeekTarget () |
virtual Steer | EvadeThreat () |
virtual Point | ClosingVelocity () |
virtual void | Navigator () |
virtual Steer | Seek (const Point &point) |
virtual Steer | SeekFormationSlot () |
virtual void | FireControl () |
virtual void | HelmControl () |
virtual void | ThrottleControl () |
virtual double | CalcDefensePerimeter (Ship *starship) |
virtual void | ReturnToBase (Ship *controller) |
Protected Member Functions inherited from ShipAI | |
virtual bool | AvoidTestSingleObject (SimObject *obj, const Point &bearing, double avoid_dist, double &avoid_time, Steer &steer) |
virtual Steer | AvoidCloseObject (SimObject *obj) |
virtual Steer | AvoidCollision () |
virtual void | FindObjectiveTarget (SimObject *tgt) |
virtual void | FindObjectiveFormation () |
virtual void | FindObjectivePatrol () |
virtual void | FindObjectiveQuantum () |
virtual void | FindObjectiveFarcaster (SimRegion *src, SimRegion *dst) |
virtual void | AdjustDefenses () |
virtual void | NavlightControl () |
virtual void | CheckTarget () |
Protected Member Functions inherited from SteerAI | |
virtual int | Accumulate (const Steer &steer) |
virtual Steer | Flee (const Point &point) |
virtual Steer | Avoid (const Point &point, float radius) |
virtual Steer | Evade (const Point &point, const Point &vel) |
virtual Point | Transform (const Point &pt) |
virtual Point | AimTransform (const Point &pt) |
Definition at line 29 of file FighterAI.h.
FighterAI::FighterAI | ( | SimObject * | s | ) |
Definition at line 43 of file FighterAI.cpp.
|
virtual |
Definition at line 61 of file FighterAI.cpp.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 1110 of file FighterAI.cpp.
|
protectedvirtual |
Definition at line 1802 of file FighterAI.cpp.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 493 of file FighterAI.cpp.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 1486 of file FighterAI.cpp.
|
virtual |
Reimplemented from ShipAI.
Definition at line 69 of file FighterAI.cpp.
|
virtual |
Reimplemented from ShipAI.
Definition at line 198 of file FighterAI.cpp.
|
virtual |
Reimplemented from ShipAI.
Definition at line 441 of file FighterAI.cpp.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 1674 of file FighterAI.cpp.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 683 of file FighterAI.cpp.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 521 of file FighterAI.cpp.
|
protectedvirtual |
Definition at line 318 of file FighterAI.cpp.
Reimplemented from SteerAI.
Definition at line 1426 of file FighterAI.cpp.
|
protectedvirtual |
Definition at line 1357 of file FighterAI.cpp.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 1167 of file FighterAI.cpp.
|
inlinevirtual |
Reimplemented from ShipAI.
Definition at line 36 of file FighterAI.h.
|
protectedvirtual |
Reimplemented from ShipAI.
Definition at line 780 of file FighterAI.cpp.
|
protected |
Definition at line 69 of file FighterAI.h.
|
protected |
Definition at line 64 of file FighterAI.h.
|
protected |
Definition at line 68 of file FighterAI.h.
|
protected |
Definition at line 67 of file FighterAI.h.
|
protected |
Definition at line 74 of file FighterAI.h.
|
protected |
Definition at line 78 of file FighterAI.h.
|
protected |
Definition at line 79 of file FighterAI.h.
|
protected |
Definition at line 72 of file FighterAI.h.
|
protected |
Definition at line 76 of file FighterAI.h.
|
protected |
Definition at line 75 of file FighterAI.h.
|
protected |
Definition at line 65 of file FighterAI.h.
|
protected |
Definition at line 77 of file FighterAI.h.
|
protected |
Definition at line 73 of file FighterAI.h.
|
protected |
Definition at line 66 of file FighterAI.h.
|
protected |
Definition at line 71 of file FighterAI.h.
|
protected |
Definition at line 70 of file FighterAI.h.