2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 ///////////////////////////////////////////////////////////////////////////////
7 // $Header: r:/t2repos/thief2/src/ai/airecovr.h,v 1.1 1998/10/03 11:24:05 TOML Exp $
9 // Ability that attempts to recover from an out-of-world situation
22 ///////////////////////////////////////////////////////////////////////////////
27 class cAIRecover
: public cAIAbility
33 // Standard component methods
34 STDMETHOD_(const char *, GetName
)();
35 STDMETHOD_(void, Init
)();
37 STDMETHOD_(void, OnBeginFrame
)(const cAIGoal
* pPrevious
, const cAIGoal
* pGoal
);
38 STDMETHOD_(void, OnActionProgress
)(IAIAction
* pAction
);
41 STDMETHOD (SuggestGoal
)(cAIGoal
*, cAIGoal
**);
42 STDMETHOD (SuggestActions
)(cAIGoal
* pGoal
, const cAIActions
& previous
, cAIActions
* pNew
);
45 // Get the "best" watch point
47 BOOL
CheckTrigger(sAIWatchPoint
*);
50 static void LGAPI
LinkListenFunc(sRelationListenMsg
* msg
, RelationListenerData data
);
51 friend BOOL
AIInitWatchAbility(IAIManager
*);
53 // Failure timeout timer
57 sAIWatchPoint
* m_pWatch
;
60 static BOOL gm_fSelfLinkEdit
;
64 ///////////////////////////////////////////////////////////////////////////////
68 #endif /* !__AIRECOVR_H */