Starshatter_Open
Open source Starshatter engine
|
#include <SeekerAI.h>
Public Member Functions | |
SeekerAI (SimObject *s) | |
virtual | ~SeekerAI () |
virtual int | Type () const |
virtual int | Subframe () const |
virtual void | ExecFrame (double seconds) |
virtual void | FindObjective () |
virtual void | SetTarget (SimObject *targ, System *sub=0) |
virtual bool | Overshot () |
virtual void | SetPursuit (int p) |
virtual int | GetPursuit () const |
virtual void | SetDelay (double d) |
virtual double | GetDelay () const |
virtual bool | Update (SimObject *obj) |
virtual const char * | GetObserverName () const |
Public Member Functions inherited from SteerAI | |
SteerAI (SimObject *self) | |
virtual | ~SteerAI () |
virtual SimObject * | GetTarget () const |
virtual System * | GetSubTarget () const |
virtual void | DropTarget (double drop_time=1.5) |
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 | AvoidCollision () |
virtual Steer | SeekTarget () |
virtual void | Navigator () |
virtual void | CheckDecoys (double distance) |
Protected Member Functions inherited from SteerAI | |
virtual int | Accumulate (const Steer &steer) |
virtual Steer | Seek (const Point &point) |
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 | ClosingVelocity () |
virtual Point | Transform (const Point &pt) |
virtual Point | AimTransform (const Point &pt) |
Protected Attributes | |
Ship * | orig_target |
Shot * | shot |
int | pursuit |
double | delay |
bool | overshot |
Protected Attributes inherited from SteerAI | |
int | seeking |
SimObject * | self |
SimObject * | target |
System * | subtarget |
SimObject * | other |
Point | obj_w |
Point | objective |
double | distance |
double | az [3] |
double | el [3] |
Steer | accumulator |
double | magnitude |
DWORD | evade_time |
double | seek_gain |
double | seek_damp |
int | ai_type |
Protected Attributes inherited from SimObserver | |
List< SimObject > | observe_list |
Additional Inherited Members | |
Public Types inherited from SteerAI | |
enum | Type { SEEKER = 1000, FIGHTER, STARSHIP, GROUND } |
Static Public Member Functions inherited from SteerAI | |
static Director * | Create (SimObject *, int type) |
Static Public Member Functions inherited from SimObserver | |
static const char * | TYPENAME () |
Definition at line 27 of file SeekerAI.h.
SeekerAI::SeekerAI | ( | SimObject * | s | ) |
Definition at line 26 of file SeekerAI.cpp.
|
virtual |
Definition at line 39 of file SeekerAI.cpp.
|
protectedvirtual |
Definition at line 218 of file SeekerAI.cpp.
|
protectedvirtual |
Definition at line 179 of file SeekerAI.cpp.
|
virtual |
Reimplemented from Director.
Definition at line 50 of file SeekerAI.cpp.
|
virtual |
Reimplemented from SteerAI.
Definition at line 93 of file SeekerAI.cpp.
|
inlinevirtual |
Definition at line 45 of file SeekerAI.h.
|
virtual |
Reimplemented from SteerAI.
Definition at line 251 of file SeekerAI.cpp.
|
inlinevirtual |
Definition at line 42 of file SeekerAI.h.
|
protectedvirtual |
Reimplemented from SteerAI.
Definition at line 62 of file SeekerAI.cpp.
|
virtual |
Definition at line 210 of file SeekerAI.cpp.
|
protectedvirtual |
Definition at line 226 of file SeekerAI.cpp.
|
inlinevirtual |
Definition at line 44 of file SeekerAI.h.
|
inlinevirtual |
Definition at line 41 of file SeekerAI.h.
Reimplemented from SteerAI.
Definition at line 75 of file SeekerAI.cpp.
|
inlinevirtual |
Reimplemented from Director.
Definition at line 34 of file SeekerAI.h.
|
inlinevirtual |
Reimplemented from SteerAI.
Definition at line 33 of file SeekerAI.h.
|
virtual |
Reimplemented from SteerAI.
Definition at line 237 of file SeekerAI.cpp.
|
protected |
Definition at line 66 of file SeekerAI.h.
|
protected |
Definition at line 60 of file SeekerAI.h.
|
protected |
Definition at line 67 of file SeekerAI.h.
|
protected |
Definition at line 62 of file SeekerAI.h.
|
protected |
Definition at line 61 of file SeekerAI.h.