[Gcblue-commits] gcb_wx/include/sim tcPlatformObject.h,1.21,1.22
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-02-16 23:13:47
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15468/include/sim Modified Files: tcPlatformObject.h Log Message: Parallel ai update Index: tcPlatformObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcPlatformObject.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** tcPlatformObject.h 29 Nov 2004 03:54:49 -0000 1.21 --- tcPlatformObject.h 16 Feb 2005 23:13:38 -0000 1.22 *************** *** 35,38 **** --- 35,40 ---- using namespace AI; + + class tcStream; class tcCommandStream; *************** *** 46,49 **** --- 48,58 ---- } + namespace ai + { + class Brain; + } + + using ai::Brain; + /** * A generic moving object with sensors, launchers, and guidance. *************** *** 78,81 **** --- 87,91 ---- tcGuidanceState mcGS; tcAIData mcAI; + Brain* brain; tcLaunchRequest mcLaunchRequest; tsGeoPoint msTargetDatum; *************** *** 91,94 **** --- 101,105 ---- virtual bool DesignateLauncherTarget(tnPoolIndex anID, unsigned anLauncher); virtual void DesignateTarget(long anID); + Brain* GetBrain(); virtual void GetDatum(tsGeoPoint& p) {p=msTargetDatum;} virtual tcLauncher* GetLauncher(unsigned idx); *************** *** 151,154 **** --- 162,166 ---- virtual void Move(float dt_s); + virtual void UpdateAI(float t); virtual void UpdateClimb(float dt_s) {}; virtual void UpdateFormationGuidance(void); |